Commit Graph

76 Commits

Author SHA1 Message Date
Sam Alba
959f865dda added goreleaser config
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-29 14:35:14 -07:00
Andrea Luzzardi
23d6a8800b tests: split unit and integration
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-15 00:55:06 -07:00
Andrea Luzzardi
d46be324e5 tests: improve bats/gh integration
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-15 00:48:49 -07:00
Andrea Luzzardi
e7458e9ca2 tests: use bats for integration tests
Converted the CLI tests to using bats to get started

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-14 15:18:34 -07:00
Andrea Luzzardi
1e7d8bee16 ci: set a CI timeout
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-07 18:50:18 -07:00
Frederick F. Kautz IV
73c07fd6e9 swapping order of test and integration tests, unit tests should run first
Signed-off-by: Frederick F. Kautz IV <fkautz@alumni.cmu.edu>
2021-04-04 20:36:38 -07:00
Andrea Luzzardi
7da33d00fc ci: use golangci github action
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-02 14:29:17 -07:00
Andrea Luzzardi
35028b5d57 ci: run tests and linter in parallel
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-18 18:41:38 -07:00
Andrea Luzzardi
87d576e936 ci: remove git-crypt, switch to sops
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-18 18:37:45 -07:00
Andrea Luzzardi
5ccf617245 ci: install git-crypt
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-12 17:31:10 -08:00
Andrea Luzzardi
19b9ec2721 ci: remove build, already done by integration tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-12 17:20:05 -08:00
Andrea Luzzardi
e7ecc87631 ci: login to dockerhub
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-12 17:12:55 -08:00
Andrea Luzzardi
90641cea2d ci: update cue versioning schema
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-11 23:57:23 -08:00
Andrea Luzzardi
408053f092 ci: use cue version from go.mod
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-02 19:09:29 -08:00
Andrea Luzzardi
14f535655d ci: ensure cue version is consistent
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-02 18:59:07 -08:00
Andrea Luzzardi
14ff14ea4f automatically start/upgrade buildkitd
- Automatically start a buildkit daemon if no BUILDKIT_HOST is
  provided (and if not already started)
- Customization of BUILDKIT_HOST is still possible, just like before
- Automatically upgrade the managed daemon to the version used by dagger
  if necessary
- Add CI test to make sure the managed buildkit and the vendored
  buildkit versions match

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-02 18:37:30 -08:00
Andrea Luzzardi
04fe70b6ec ci: bump to buildkit 0.8.2
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-25 15:23:50 -08:00
Andrea Luzzardi
a3e78cc558 enable dependabot for Dockerfile
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-18 12:14:01 -08:00
Andrea Luzzardi
9dbec2030c dependabot support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-17 12:18:26 -08:00
Andrea Luzzardi
5ba6dd1617 embedded stdlib
This PR embeds the stdlib into the dagger binary itself for convenience.
Long term we will want to source the stdlib directly from git.

- Updated go to 1.16 to use the new built-in embedding functionality
- The `stdlib` go package now contains an embed of the stdlib

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-17 10:08:56 -08:00
Andrea Luzzardi
b324fa3248 bump cue to v0.3.0-beta.4
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-09 11:42:41 -08:00
Andrea Luzzardi
4e760887db cue: update to v0.3.0-beta.3
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-28 12:52:13 -08:00
Andrea Luzzardi
70677c411f upgrade cue to v0.3.0-beta.2
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-20 19:08:52 -08:00
dubo-dubon-duponey
e301dfa7b1
Adding tests
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2021-01-14 17:29:12 -08:00
Andrea Luzzardi
cf390e9243 ci: enable tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-13 18:21:56 -08:00
Andrea Luzzardi
adf3511b1e fix lint errors, enable CI
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-08 17:18:34 +01:00