Commit Graph

48 Commits

Author SHA1 Message Date
Andrea Luzzardi
856aaeab73
Merge pull request #556 from TomChv/tests-fix-random
Always generate random
2021-06-03 11:26:37 -07:00
Sam Alba
e328e71e6c
Merge pull request #337 from TomChv/ci-kind-setup
Setup Kind cluster in CI
2021-06-03 09:08:49 -07:00
Tom Chauveau
2c6e67cb7d Update helm and kubernetes tests to use new dagger.#Secret definition
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-03 17:55:44 +02:00
Tom Chauveau
a39e87b179 docker.#Run now use secrets from dagger.#Secret
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-03 14:03:33 +02:00
Tom Chauveau
3a7494261f Always generate random
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-03 12:26:08 +02:00
Andrea Luzzardi
3605d399c9 stdlib: aws: s3: add #Sync
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 15:45:51 -07:00
Andrea Luzzardi
6aded2d3d4
Merge pull request #536 from aluzzardi/kubernetes-fixes
stdlib: kubernetes: misc fixes
2021-06-01 19:50:11 -07:00
Andrea Luzzardi
2e748c9c31 stdlib: kubernetes: misc fixes
- `source` is now optional
- `sourceInline` renamed to `manifest`
- `kubeconfig` is a `string` rather than a `dagger.#Secret`

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-01 19:13:56 -07:00
Andrea Luzzardi
c02a8b89cc
Merge pull request #480 from TomChv/docker-run
Add #Run definition to docker package
2021-06-01 14:54:44 -07:00
Tom Chauveau
4b6315e2fc Handle fingerprint option for auth
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-05-29 18:29:39 +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
28fd9c341f stdlib: update gcp to use secrets
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-27 19:18:17 -07:00
Tom Chauveau
5fb7ded2d5 update stdlib tests that use secrets
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-05-27 19:18:17 -07:00
Andrea Luzzardi
40d4c95bff aws: use secrets
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-27 19:14:08 -07:00
Tom Chauveau
27a60d3cdf Add tests for docker.#Run
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-05-27 18:15:36 +02:00
Sam Alba
f6aea7e529 curl: do not hardcode version requirement
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-27 14:31:57 +02:00
Sam Alba
dd17c48922 increased curl dependency, 7.76 was removed from alpine pkg repo
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-27 13:59:47 +02:00
Tom Chauveau
ebe26a90ca Move random string generation to his own file to avoid replication in tests.
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-05-22 16:49:57 +02:00
Andrea Luzzardi
0f69f3a8af stdlib: gcr support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-19 17:54:30 -07:00
Andrea Luzzardi
5bd3349a27 stdlib: add GKE support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-19 16:44:52 -07:00
Tom Chauveau
8ce8e8e01f Add #Push definition and tests
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-05-13 21:38:15 +02:00
Tom Chauveau
24aee99ba9 Add test for docker example
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-05-13 16:34:51 +02:00
Solomon Hykes
16edfc4fec stdlib: rename js/react.#App to js/yarn.#Package
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-12 17:24:10 -07:00
Solomon Hykes
98b3951c73 stdlib: os package
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-11 17:32:50 -07:00
Andrea Luzzardi
b979e2e994 stdlib: terraform support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-07 12:00:45 -07:00
Andrea Luzzardi
3cbdd1fc2a
Merge pull request #384 from TomChv/test-aws-ecr
Add tests for AWS ecr
2021-05-04 12:46:09 -07:00
Tom Chauveau
15d1eca41e Add tests for AWS ecr
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-05-04 12:40:57 -07:00
Tom Chauveau
253c1ce3f7 feat(kubernetes): add kustomize generation to kubernetes stdlib package
test(kubernetes): add test for kustomize

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-30 19:46:32 +02:00
Tom Chauveau
9fc247848f Add test on AWS eks
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-23 13:51:50 +02:00
Tom Chauveau
b3c29acb34 Add tests on AWS s3 upload directory
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-22 20:57:00 +02:00
Tom Chauveau
d5aa68fe2b Add test on AWS s3
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-22 19:18:26 +02:00
Andrea Luzzardi
d8193e55f1 tests: add test AWS config
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-21 11:03:32 -07:00
Tom Chauveau
32d523aa71 tests(stdlib/k8s/helm): test basic helm chart
tests(stdlib/k8s/helm): add verification
style(tests/): rename helper into verify to confirm that deployments works

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-15 14:24:42 +02:00
Tom Chauveau
e19a71e67c tests(stdlib): add kubernetes in testing suite
tests(stdlib/kubernetes): add kubernetes basic Apply test

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-15 12:37:32 +02:00
Sam Alba
5d22e9ed43 stdlib: updated alpine base image and fixed pkg dependencies in sub libs
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-14 14:06:51 -07:00
Sam Alba
8e5024db37 fix alpine test + only select major versions for aws pkgs
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-14 13:54:21 -07:00
Solomon Hykes
ee621590ff stdlib: dagger.io/js/react
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-07 16:28:39 -07:00
Solomon Hykes
6673ae69b3 stdlib: rename dagger.io/llb to dagger.io/dagger/op
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-06 10:28:40 -07:00
Andrea Luzzardi
c16455249e cue files: #compute -> #up
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-02 16:08:15 -07:00
Andrea Luzzardi
fbdfe27103 stdlib: netlify: export the deployUrl and logsUrl
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-18 18:37:45 -07:00
Andrea Luzzardi
5438e4177c stdlib: add tests for netlify
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-18 18:37:45 -07:00
Tony Worm
3dab86694e impl test, log patterns when .daggerignore found, lint, fix stdlib/file test imports
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-18 12:38:50 -04:00
Solomon Hykes
54a2fe4393 stdlib package: llb
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-15 22:25:18 -07:00
Tony Worm
b1b534992a fix lint errors
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-15 22:08:54 -07:00
Tony Worm
0e32bc68f8 add file ops
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-15 22:08:54 -07:00
Solomon Hykes
6460a5c9fc Rename dagger.#Dir to dagger.#Artifact
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-13 00:11:59 -08:00
Sam Alba
3f55f4cd1d ported tests + examples to new syntax
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-10 13:51:03 -08:00
Andrea Luzzardi
81cdccf541 basic tests for alpine go and yarn
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-04 11:31:00 -08:00