Commit Graph

104 Commits

Author SHA1 Message Date
Andrea Luzzardi
cc004eb0ef ci: run universe tests as a separate CI job
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-07-01 18:55:03 +02:00
Tom Chauveau
794f27f116 Update setup kind cluster action
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-30 16:10:46 +02:00
Andrea Luzzardi
ec83ed5047 docs: add netlify build hook
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-21 15:41:12 +02:00
Andrea Luzzardi
479dc50402 docs: disable deploying using dagger
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-21 15:19:26 +02:00
Guillaume de Rouville
d8eaaf925a Change markdown linter github action to a more updated one
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-14 10:59:42 +02:00
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
335e2f7c24 docs: switch release flow to dagger
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 15:53:22 -07: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
cb23fa872a docs: fix version redirect
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-27 15:06:26 -07:00
Andrea Luzzardi
96b900e4cd ci: markdown lint
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-21 15:47:46 -07:00
Andrea Luzzardi
bd47e36107 docs: fix versioning
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-21 14:07:59 -07:00
Andrea Luzzardi
f25df45012 docs: main -> devel
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-21 13:55:50 -07:00
Andrea Luzzardi
27cf21508a docs: fix AWS region
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-21 13:37:33 -07:00
Andrea Luzzardi
5881c071f9 docs: change s3 bucket
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-21 12:36:38 -07:00
Andrea Luzzardi
6ddb973f03 docs: move gendocs tool to dagger/dagger
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-21 11:11:21 -07:00
slumbering
828f9d9ff1 script deploy plugged to docGenerator repo + rename doc/ to docs/
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-05-21 17:47:02 +02:00
slumbering
49176b9976 fix path
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-05-21 17:07:52 +02:00
slumbering
e71d81f25c update github doc action
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-05-21 17:07:52 +02:00
Blocksmith
b5f2932bed Update doc.yml
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-12 12:16:13 -07:00
jffarge
6f8721b709 feat: 🔨 add doc action to copy doc files from dagger to launch.dagger
Signed-off-by: jffarge <slumbering.pierrot@gmail.com>
2021-05-06 17:06:35 +02:00
Sam Alba
74b3f3acdf goreleaser: changed aws creds passing
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-01 12:30:54 -07:00
Sam Alba
15af341d8d goreleaser: enable debug
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-01 11:59:39 -07:00
Sam Alba
be2456b190 implemented support for latest_version write + configured aws creds
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-30 17:16:40 -07:00
Sam Alba
060ae56429 workflows/release: fixed typo on GITHUB_TOKEN
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-29 15:19:03 -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