From da5ee153544cbf4f49d0edb480b1b427141abc29 Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Thu, 20 May 2021 15:39:30 -0700 Subject: [PATCH] stdlib: fixed aws double execution because of cache volumes Signed-off-by: Sam Alba --- stdlib/aws/aws.cue | 2 -- stdlib/aws/ecr/ecr.cue | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/stdlib/aws/aws.cue b/stdlib/aws/aws.cue index 975454cb..f0f65d07 100644 --- a/stdlib/aws/aws.cue +++ b/stdlib/aws/aws.cue @@ -95,7 +95,6 @@ import ( ] "env": env "env": { - AWS_CONFIG_FILE: "/cache/aws/config" AWS_ACCESS_KEY_ID: config.accessKey AWS_SECRET_ACCESS_KEY: config.secretKey AWS_DEFAULT_REGION: config.region @@ -103,7 +102,6 @@ import ( AWS_DEFAULT_OUTPUT: "json" AWS_PAGER: "" } - mount: "/cache/aws": "cache" if dir != _|_ { mount: "/inputs/source": from: dir } diff --git a/stdlib/aws/ecr/ecr.cue b/stdlib/aws/ecr/ecr.cue index 71bdc545..c7b6b1d4 100644 --- a/stdlib/aws/ecr/ecr.cue +++ b/stdlib/aws/ecr/ecr.cue @@ -14,8 +14,7 @@ import ( // ECR credentials 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 aws.#Script & {