Merge pull request #481 from samalba/fix-aws-cache

stdlib: fixed aws double execution because of cache volumes
This commit is contained in:
Sam Alba 2021-05-20 15:59:02 -07:00 committed by GitHub
commit df1f5ee55c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

@ -95,7 +95,6 @@ import (
] ]
"env": env "env": env
"env": { "env": {
AWS_CONFIG_FILE: "/cache/aws/config"
AWS_ACCESS_KEY_ID: config.accessKey AWS_ACCESS_KEY_ID: config.accessKey
AWS_SECRET_ACCESS_KEY: config.secretKey AWS_SECRET_ACCESS_KEY: config.secretKey
AWS_DEFAULT_REGION: config.region AWS_DEFAULT_REGION: config.region
@ -103,7 +102,6 @@ import (
AWS_DEFAULT_OUTPUT: "json" AWS_DEFAULT_OUTPUT: "json"
AWS_PAGER: "" AWS_PAGER: ""
} }
mount: "/cache/aws": "cache"
if dir != _|_ { if dir != _|_ {
mount: "/inputs/source": from: dir mount: "/inputs/source": from: dir
} }

View File

@ -14,8 +14,7 @@ import (
// ECR credentials // ECR credentials
username: "AWS" username: "AWS"
// FIXME Exected twice and trigger error : "TestECR.creds.secret: 2 errors in empty disjunction"
// Happend because of v0.8.3 of buildkit container
secret: out secret: out
aws.#Script & { aws.#Script & {