Commit Graph

67 Commits

Author SHA1 Message Date
Tom Chauveau
f842f1ed1d Remove old docker push and pull test
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-30 16:58:04 +02:00
Solomon Hykes
d7a805f42b stdlib: move all imports to alpha.dagger.io
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-25 10:31:22 +00:00
Tom Chauveau
2e9a0d6509 Add test to universe
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-18 18:33:02 +02:00
Tom Chauveau
b999a3dd11 Remove old stdlib tests
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-18 17:54:50 +02:00
Solomon Hykes
a4e31949a3 Migrate integration test for universe/go
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-17 16:38:58 +02:00
Guillaume de Rouville
ce41d25c52 Revert kubernetes/helm packages and tests from secret to str type, needed for docs
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-17 03:16:28 +02:00
Guillaume de Rouville
6f9a61386e docs: remove package file
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-15 18:47:36 +02:00
Solomon Hykes
2976afad66 universe: spin out js/yarn tests
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-10 16:09:41 +02:00
Solomon Hykes
d388c729bc universe: spin out alpine tests
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-10 16:09:41 +02:00
Solomon Hykes
fcbdfe178a Move universe integration tests to universe dir.
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-09 20:28:44 +00:00
Andrea Luzzardi
a53b9ec166 tests: use different container prefix for docker tests
Avoid name conflicts when random returns the same string

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-09 11:40:32 -07:00
Andrea Luzzardi
22329e3a4d stdlib: helm: fix chart repository
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 16:01:55 -07:00
Andrea Luzzardi
db0937c927 stdlib: add random package
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 15:15:01 -07:00
Andrea Luzzardi
4c40a87634 tests: fix random
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 11:34:16 -07:00
Andrea Luzzardi
7ce8dd26f1 tests: testConfig -> TestConfig
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-07 16:33:34 -07:00
Andrea Luzzardi
ce5accd09c stdlib: docker: support running containers on the local docker engine
Depends on #570

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-07 16:33:07 -07:00
Andrea Luzzardi
4365541d4d
Merge pull request #579 from TomChv/refacto-random
Refactor random
2021-06-07 14:54:08 -07:00
Tom Chauveau
fdb91a7332 Refactor random generation into a definition to make it reusable
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-07 23:39:41 +02:00
Andrea Luzzardi
a5e9ac8a0f stdlib: kubernetes: rename #Apply to #Resources
Code convention: use nouns instead of verbs whenever possible.

Reasoning: One can apply just about anything to Kubernetes via this:
deployment, load balancer, RBAC policy, a custom CRD resource, etc.

Upstream those are called resources: You give `kubectl apply` one or more
manifests and it will create the corresponding resources.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-04 14:03:35 -07:00
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