Andrea Luzzardi
6d5142aa67
docs: use make docs to re-generate the docs
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 18:57:53 -07:00
Andrea Luzzardi
5537ab33de
ci: add universe linting
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 18:29:02 -07:00
Tom Chauveau
ce65a65ede
feat(CI): setup kind local kubernetes cluster in CI
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-03 15:19:54 +02:00
Andrea Luzzardi
e86cb7be6d
Merge pull request #535 from aluzzardi/dagger-homedir
...
use ~/.config/dagger rather than ~/.dagger
2021-06-01 13:23:43 -07:00
Andrea Luzzardi
c5c586ff71
use ~/.config/dagger rather than ~/.dagger
...
since `.dagger` directories have a special meaning now because of gitflow,
it's better not to have a `~/.dagger` since it's not a workspace and
it confuses dagger (e.g. `dagger new` from $HOME).
We don't store state there anymore, just keys and the last version
check, so it's okay to be in ~/.config IMO
Looking at my system, in ~/.config there's `gcloud`, `gatsby`, `gh`,
`yarn`, and others so it seems like a pretty common location.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-01 12:38:14 -07:00
Tom Chauveau
242b61972c
Update sops version to fix CI
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-05-29 19:40:01 +02:00
Andrea Luzzardi
868fd018f4
tests: fix remaining tests due to secrets
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-28 14:00:27 -07:00
Andrea Luzzardi
f2819dc1a5
ci: import dagger key
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-27 19:18:17 -07:00
Andrea Luzzardi
96b900e4cd
ci: markdown lint
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-21 15:47:46 -07:00
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
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