Skip to content

Commit 67f16ac

Browse files
committed
copier
1 parent 8d7e2eb commit 67f16ac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: v0.0.8-3-g2c970ed
2+
_commit: v0.0.8-4-g5211c85
33
_src_path: gh:LabAutomationAndScreening/copier-base-template.git
44
description: Copier template for creating Python libraries and executables
55
python_ci_versions:

template/.devcontainer/code-artifact-auth.sh.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if [ -z "$AWS_PROFILE" ] && [ -z "$AWS_ACCESS_KEY_ID" ] && [ -z "$CODEARTIFACT_A
66
echo "No AWS profile, access key, or auth token found, cannot proceed."
77
exit 1
88
else
9-
# Only regenerate the token if it doesn't exist or wasn't already set as an environmental variable (e.g. during CI or passed into a docker image build)
9+
# Only regenerate the token if it wasn't already set as an environmental variable (e.g. during CI or passed into a docker image build)
1010
if [ -z "$CODEARTIFACT_AUTH_TOKEN" ]; then
1111
echo "Fetching CodeArtifact token"
1212
if [ -z "$CI" ]; then
@@ -30,7 +30,7 @@ else
3030
fi
3131

3232
set +x
33-
export CODEARTIFACT_AUTH_TOKEN=$(aws codeartifact get-authorization-token \
33+
CODEARTIFACT_AUTH_TOKEN=$(aws codeartifact get-authorization-token \
3434
--domain {% endraw %}{{ repo_org_name }}{% raw %} \
3535
--domain-owner {% endraw %}{{ aws_central_infrastructure_account_id }}{% raw %} \
3636
--region {% endraw %}{{ aws_org_home_region }}{% raw %} \

0 commit comments

Comments
 (0)