Guillaume de Rouville
68707d93ae
S3: Implement localstack env
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-23 17:44:33 +02:00
Guillaume de Rouville
a33a4f4749
AWS - Implement backward compatible localstack
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-23 17:44:33 +02:00
Tom Chauveau
970a1988eb
Remove skip for docker.#Push tests
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-20 14:08:34 +02:00
Sujay Pillai
7481294a8c
Adding support for azure storage
...
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-08-17 17:23:01 +08:00
Sam Alba
1e7c3cbc15
Merge pull request #881 from sujaypillai/azure-cli
...
Adding support for azure and create a resource group
2021-08-13 22:54:46 +02:00
Sam Alba
35fb7e0cfc
stdlib/aws/s3: replaced sync with cp by default to avoid cache issues
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-08-13 13:37:24 -07:00
Sujay Pillai
a99fc52eeb
Amending changes from @TomChv
...
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-08-12 01:44:03 +08:00
Sujay Pillai
d74753bca7
Amending changes from @TomChv
...
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-08-12 01:37:17 +08:00
Guillaume de Rouville
bdd6b5a56e
Port azure.#CLI from up
to os.#Container
+ manual testing + integrate bats test
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-11 16:39:35 +02:00
Sujay Pillai
5908aa628e
Adding support for azure and create a resource group
...
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-08-11 01:20:16 +08:00
Andrea Luzzardi
db459ae04d
os.#Container: inherit PATH from the container image
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-08-04 16:56:52 +02:00
Guillaume de Rouville
9f90aca2b7
op.#Exec hack: improve performance by 100x on big configs
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-07-29 16:37:47 +02:00
Andrea Luzzardi
04d8e25e4d
Merge pull request #788 from grouville/fix-git-package
...
git package - add keepGitDir option
2021-07-28 18:32:22 +02:00
Andrea Luzzardi
06b671a528
commit missing cue.mod
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-07-08 17:52:21 +02:00
Andrea Luzzardi
f58ee5811b
universe vendoring
...
Rather than injecting universe at runtime, this change will vendor
alpha.dagger.io in `cue.mod` directly.
Fixes #700
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-07-08 17:52:21 +02:00
Andrea Luzzardi
99085a0f55
universe: stop using deprecated plan module
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-07-08 12:08:59 +02:00
Guillaume de Rouville
cbcb198dce
git package - add keepGitDir option
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-07-07 17:37:35 +02:00
Edgar Lee
0501ae91a5
Adds support for op.#FetchHTTP
...
Signed-off-by: Edgar Lee <edgarhinshunlee@gmail.com>
2021-07-06 14:37:52 -07:00
Tihomir Jovicic
31714de4e3
Update Cloud Run docs
...
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-07-05 12:40:45 +02:00
Tihomir Jovicic
104928f062
Merge branch 'main' into cloudrun-support
2021-07-05 11:51:39 +02:00
Guillaume de Rouville
ecd409951c
docker.#Push: Set auth as optional
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-07-02 01:21:56 +02:00
Andrea Luzzardi
e020b23649
Merge pull request #628 from TomChv/improve-docker-push
...
Improve docker.#Push definition
2021-07-01 18:25:40 +02:00
Tom Chauveau
62d27aa930
Skip push test to avoid data race (must be fix later)
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-07-01 17:49:05 +02:00
Tom Chauveau
a4856e7a6b
Add new test to docker that push to 2 registry in one plan
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-07-01 15:58:11 +02:00
Tom Chauveau
2f710b0ce4
Fix login miss behavior and update op
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-07-01 14:08:49 +02:00
Tihomir Jovicic
c2442120ca
update cloudrun imports to use alpha.dagger.io
...
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-07-01 09:23:47 +02:00
Tihomir Jovicic
dd73df5ef9
Move CloudRun tests to stdlib/gcp/cloudrun
...
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-07-01 09:15:04 +02:00
Tihomir Jovicic
650caa8d4a
Merge branch 'main' into cloudrun-support
2021-07-01 08:54:44 +02:00
Andrea Luzzardi
9c0210d485
Merge pull request #756 from slewiskelly/gcs
...
stdlib: Add GCS support
2021-06-30 17:12:54 +02:00
Tom Chauveau
d10f2a49a5
Rename field according to @shykes review
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-30 16:58:04 +02:00
Tom Chauveau
67a982eb0f
Move push and pull tests plans to docker subpackages
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-30 16:58:04 +02:00
Tom Chauveau
5468f60e39
Normalize reference to login on registry
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-30 16:58:04 +02:00
Tom Chauveau
7d1bbcc416
Fix docker hub login error when using image ref as target
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-30 16:58:04 +02:00
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
Tom Chauveau
b1ed40ffed
Improve #docker.Push definition :
...
- Push to private registry
- Output ref and digest
- Update doc
- Add tests to universe.bats
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-30 16:58:04 +02:00
Tom Chauveau
921f845c71
Keep same website for netlify tests
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-30 16:55:07 +02:00
Guillaume de Rouville
e3eee6068e
Netlify: leverage --fail-with-body to finally print error's output
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-30 16:53:47 +02:00
Andrea Luzzardi
59281b38fc
tests: gcs: force dependency between deploy and verify
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-30 16:41:50 +02:00
Guillaume de Rouville
4ad5434ce9
aws: force dependency between deploy and verify
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-30 16:31:06 +02:00
Andrea Luzzardi
c20c272940
tests: google-gcr: update CI keys
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-30 16:23:32 +02:00
Scott Lewis-Kelly
635b9306b8
stdlib: Add GCS support
...
The interface and behavior is identical to S3.
Signed-off-by: Scott Lewis-Kelly <slewiskelly@slewiskel.ly>
2021-06-30 16:23:32 +02:00
Tom Chauveau
34382fd497
Reduce the number of character from helm chart to avoid
...
bugs
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-30 13:42:19 +02:00
Andrea Luzzardi
02ed4d81ee
Merge pull request #749 from grouville/interactive_shell_loglevel_bug
...
Skip Docker.#Local in bats tests (not working) + fix stdout redirection leading to uncatched missing inputs
2021-06-30 12:34:01 +02:00
Andrea Luzzardi
cc1e0cd6dc
Merge pull request #747 from TomChv/parallel-compose-tests
...
Compose tests doesn't bind a special port anymore
2021-06-30 12:31:47 +02:00
Andrea Luzzardi
65b4dea949
Merge pull request #746 from samalba/netlify-build
...
Netlify build
2021-06-30 12:23:01 +02:00
Alvise
7776e6def3
Check if problem is linked with docker from docker
...
Signed-off-by: Alvise <vitalvise@gmail.com>
2021-06-29 16:26:31 +00:00
Andrea Luzzardi
6690aa411e
tests: java-maven: use dagger-ci encryption key
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-29 18:10:34 +02:00
Alvise
f807314668
Add maven package in stdlib
...
Signed-off-by: Alvise <vitalvise@gmail.com>
2021-06-29 15:09:32 +02:00
Guillaume de Rouville
d5457d6d03
Skip Docker.#Local in bats tests (not working) + fix stdout redirection issue leading to warning loglevel and tests not failing on missing inputs
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-28 19:56:21 +02:00
Tom Chauveau
8e8438e464
Compose tests doesn't bind a special port anymore
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-28 17:36:01 +02:00
Sam Alba
745d1084be
stdlib/netlify: added support for netlify build
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-28 16:22:29 +02:00
Sam Alba
6fb9690ecd
stdlib/netlify: bump netlify-cli version
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-28 16:15:03 +02:00
Tom Chauveau
e1c72890ec
Add random name generation to avoid orphans during parallel CI
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-26 16:18:18 +02:00
Tom Chauveau
020c458921
Add project management in compose.#App definition
...
I found an issue when during tests execution : there was orphan.
It's because #App doesn't give way to specify the compose project,
by default it's the directory where you launch your app but in our
definition, it will always be source.
The problem is that if we launch two differents docker-compose in the same
server, his project name will be source for both and it will create
orphans problems on cleanup (by docker-compose down).
This case is exactly what we do in tests so I've add the field name
to specify the projet name and avoid that issue.
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-26 16:07:14 +02:00
Andrea Luzzardi
ad1eb75893
Merge pull request #572 from TomChv/docker-compose
...
Add Docker compose package
2021-06-25 19:35:32 +02:00
Tom Chauveau
2fbb9e7744
Update import to alpha version
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 17:26:51 +02:00
Tom Chauveau
aaa6f8f351
Simplify tests
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 17:16:11 +02:00
Tom Chauveau
c99e39ec9c
Move tests plan from dagger dir to universe
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 17:00:38 +02:00
Tom Chauveau
e4ac04c98c
Update import to new alpha version
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 16:56:28 +02:00
Tom Chauveau
ae209ee090
Add compose.#Up test in universe
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 16:56:28 +02:00
Tom Chauveau
5029b5d815
Refactor compose.#Up definition to use docker.#Command
...
Add some feature to docker.#Command to :
- Copy artifact in the container
- Write files in the container
- Login to registries
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 16:56:28 +02:00
Tom Chauveau
f2d8cb39bd
Fix network error on docker-compose
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 16:56:28 +02:00
Tom Chauveau
b6c8ef34b0
Add docker-compose tests
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 16:56:28 +02:00
Tom Chauveau
9270168f17
Add docker-compose package in stdlib
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 16:56:28 +02:00
Andrea Luzzardi
4596276944
tests: sanity-check: run from universe directory
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-25 16:41:16 +02:00
Andrea Luzzardi
898b0816be
universe: add cue.mod
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-25 16:14:11 +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
Solomon Hykes
aa6335246b
os.#Container: mount secrets with a more consistent API
...
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-23 13:35:15 +02:00
Solomon Hykes
9d85bab9e7
os.#File: simplify API
...
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-23 12:56:27 +02:00
Andrea Luzzardi
9984edad09
Merge pull request #707 from samalba/fix-links
...
Adds support for stdlib Index
2021-06-23 11:24:17 +02:00
Sam Alba
af82c2c910
docs: adds package description to the stdlib Index
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-23 11:05:58 +02:00
Guillaume de Rouville
6ed3ab712d
Complete refacto of CF's doc + fix output issue on Cloudformation package
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-22 19:22:27 +02:00
Tihomir Jovicic
a24595da20
Fix tests
...
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-22 13:08:31 +02:00
Tihomir Jovicic
1b6187181d
Merge branch 'main' into cloudrun-support
2021-06-22 12:30:48 +02:00
Tihomir Jovicic
c480a74687
update cloudrun tests inputs
...
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-22 12:13:07 +02:00
Andrea Luzzardi
83019a5414
Merge pull request #685 from TomChv/move-tests-to-universe
...
Move tests to universe
2021-06-21 17:41:43 +02:00
Solomon Hykes
53f4ef049a
stdlib: dagger.#Output
...
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-21 14:47:45 +02:00
Solomon Hykes
8383efdba6
stdlib: dagger.#Input
...
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-21 14:47:45 +02:00
Tihomir Jovicic
a1dbbf7a7f
update cloudrun tests
...
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-21 12:26:24 +02:00
Tihomir Jovicic
293ee0680f
rename Cloud Run Deploy to Service
...
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-21 11:36:01 +02:00
Tihomir Jovicic
a78a678db3
move Cloud Run tests to universe/stdlib env
...
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-21 11:34:25 +02:00
Tihomir Jovicic
83eebf82fa
Move Cloud Run image property to GCP config struct
...
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-21 10:57:26 +02:00
Tihomir Jovicic
5d8219a8f3
Add Cloud Run support
...
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-21 10:57:18 +02:00
Tom Chauveau
9c20c45453
Use sandbox in tests
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-18 23:29:31 +02: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
Sam Alba
67fb9678af
stdlib/s3: fix lint
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-18 13:29:18 +02:00
Sam Alba
9e20543fcd
stdlib/s3: protect always flag
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-18 13:20:28 +02:00
Sam Alba
448c8102e3
stdlib/s3: fixes always flag ( fixes #676 )
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-18 13:09:02 +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
Andrea Luzzardi
7f456b9131
tests: update plan config
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-16 18:58:56 +02:00
Sam Alba
28a1e6a4c5
Merge pull request #653 from grouville/git_package_tests
...
docs: git package uniformization + tests implementation
2021-06-16 11:26:15 +02:00
Sam Alba
ae167c5794
stdlib: fixed s3 test
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-16 10:29:21 +02:00
Guillaume de Rouville
407ee6e9ee
docs: git package uniformization + tests implementation
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-16 10:29:03 +02:00
Sam Alba
0d5f41ee31
docs: s3 lib: deprecated #Put in favor #Object
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-15 18:47:36 +02:00
Sam Alba
5eb40b3176
docs: refreshed stdlib
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-15 18:47:36 +02:00
Sam Alba
d1454a9871
stdlib: renamed verbs to nouns
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-15 18:47:36 +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
Guillaume de Rouville
ddf752733a
docs : alpine package
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-15 18:47:36 +02:00
Sam Alba
380cb94866
docs: added missing helm docs
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-15 18:47:36 +02:00