Tom Chauveau
4ad2c8e7e5
Add test on git.#Commit
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-03 02:29:31 +02:00
Tom Chauveau
c8e3755188
Add git.#Commit definition and git.#Image
...
This definition allow user to commit & push new content to repository.
I've also add a quick feature to os.#Container to write files.
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-03 02:29:31 +02:00
Tom Chauveau
019b56891d
Update old git test
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-03 02:29:31 +02:00
Sam Alba
28eb785203
Merge pull request #929 from TomChv/feat/docker-secret
...
op.#PushContainer secret management
2021-09-01 15:27:07 -07:00
Guillaume de Rouville
3453675a3f
rebase merge conflicts fix
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 12:14:57 +02:00
Guillaume de Rouville
99d2494033
Fix localstack setup issue on local run
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:20:51 +02:00
Sam Alba
2d30e3e9ef
Merge pull request #931 from grouville/localstack/fix-input-bool-type
...
localstack tests: convert back str input to bool type
2021-08-31 09:23:46 -07:00
Guillaume de Rouville
6360ccc92b
localstack/fix-input-bool-type: change localstack test input from str to bool
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-31 17:51:56 +02:00
Tom Chauveau
eabf1b52e5
Update docker push tests
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-31 14:44:06 +02:00
Guillaume de Rouville
74b1ac3632
ci: re-enable localstack tests
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-31 14:39:45 +02:00
Tom Chauveau
7cc1c8e5dd
Update docker package according to op.#PushContainer
improvement
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-31 13:05:22 +02:00
Tom Chauveau
a9fd97d7fe
Handle secrets in DockerLogin operation
...
Before, secret was a plain text string, but it could lead to security issue
so we are now handling secrets as `dagger.#Secret` or string.
I've add a new struct SecretStore that expose the inputStore to easily
retrieve secret value.
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-31 13:04:16 +02:00
Sam Alba
4213491ad8
ci: disabled localstack tests temporarily
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-08-30 14:03:04 -07:00
Guillaume de Rouville
08f395b70d
Add auth to Git.#Repository
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-27 15:58:55 +02:00
Guillaume de Rouville
3b0e3f6919
Move private repository tests + implement env helper function
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-27 14:41:31 +02:00
Tom Chauveau
a987d1dc34
Add test on op.#FetchGit
for private repository
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-27 14:41:31 +02:00
Tom Chauveau
d7194f161d
Add secret management to op.#FetchGit
operation to fetch private repository
...
- Update `op.cue` to support secrets
- Update `pipeline.go` to use authTokenSecret & authHeaderSecret
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-27 14:41:31 +02:00
Guillaume de Rouville
a2ef5dc6e0
Add cleanup and setup of Localstack instances on local mode
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-23 17:44:34 +02:00
Guillaume de Rouville
58209b87d1
Doc update + linting + fix CI typo + fix port issue ECR
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-23 17:44:34 +02:00
Guillaume de Rouville
a7189084c0
Update Helpers.bash - Universe.bats
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-23 17:44:34 +02:00
Guillaume de Rouville
e29bdfb422
ECR: Implement localstack env
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-23 17:44:34 +02:00
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