Skip to content

Commit 5aae1e4

Browse files
committed
assume correct aws role
1 parent e4a61d7 commit 5aae1e4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.semaphore/semaphore.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ global_job_config:
2828
- sem-version python 3.9
2929
- . vault-setup
3030
- . cache-maven restore
31+
- . assume-iam-role arn:aws:iam::891377121322:role/packaging-repo
3132
- pip install tox==3.28.0
3233
- export GIT_COMMIT=$(git rev-parse --verify HEAD --short)
3334
- export BUILD_NUMBER=$(echo $SEMAPHORE_WORKFLOW_ID | cut -f1 -d"-")
@@ -57,11 +58,11 @@ global_job_config:
5758
- export MAVEN_PACKAGES_URL="https://s3.us-west-2.amazonaws.com/dev-confluent-packages-maven-654654529379-us-west-2/maven" # This is default set for PR builds not having a packaging build number
5859
- >-
5960
if [[ $IS_RC ]]; then
60-
export MAVEN_PACKAGES_URL="https://s3.us-west-2.amazonaws.com/staging-confluent-packages-maven-654654529379-us-west-2/v$BRANCH_NAME/maven"
61+
export MAVEN_PACKAGES_URL="https://s3.us-west-2.amazonaws.com/staging-confluent-packages-maven-654654529379-us-west-2/v$BRANCH_NAME/maven"
6162
fi
6263
- >-
6364
if [[ $PACKAGES_MAVEN_URL ]]; then
64-
export MAVEN_PACKAGES_URL=$PACKAGES_MAVEN_URL # If not empty, use the provided URL
65+
export MAVEN_PACKAGES_URL=$PACKAGES_MAVEN_URL # If not empty, use the provided URL
6566
fi
6667
- . vault-sem-get-secret maven-settings-cp-dockerfile
6768
- export DOCKER_DEV_REGISTRY="519856050701.dkr.ecr.us-west-2.amazonaws.com/docker/dev/"

0 commit comments

Comments
 (0)