File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,6 @@ Resources:
178178 Properties :
179179 ManagedPolicyName : !Sub "CryptoTools-SecretsManager-${ProjectName}-Release"
180180 Path : " /service-role/"
181- # TODO for prod release: Change to Maven-GPG-Keys-Release
182181 PolicyDocument : !Sub |
183182 {
184183 "Version": "2012-10-17",
@@ -188,8 +187,10 @@ Resources:
188187 "Resource": [
189188 "arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Maven-GPG-Keys-CI-xjAvTM",
190189 "arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Maven-GPG-Keys-CI-Credentials-eBrSNB",
191- "arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Github/aws-crypto-tools-ci-bot-AGUB3U"
192- "arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Sonatype-Team-Account-0tWvZm"
190+ "arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Github/aws-crypto-tools-ci-bot-AGUB3U",
191+ "arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Sonatype-Team-Account-0tWvZm",
192+ "arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Maven-GPG-Keys-Release-haLIjZ",
193+ "arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Maven-GPG-Keys-Release-Credentials-WgJanS"
193194 ],
194195 "Action": "secretsmanager:GetSecretValue"
195196 }
Original file line number Diff line number Diff line change 33
44#! bin/bash
55
6+ set -x
7+
68VERSION=$1
79COUNTER=0
810STATUS=1
@@ -11,7 +13,7 @@ echo "Looking for version $VERSION"
1113
1214while [ $STATUS -ne 0 ]; do
1315 mvn org.apache.maven.plugins:maven-dependency-plugin:3.0.1:get \
14- -Dartifact=software.amazon.encryption.s3:amazon-s3-encryption-client-java:$VERSION :jar -U
16+ -Dartifact=software.amazon.encryption.s3:amazon-s3-encryption-client-java:$VERSION -U
1517
1618 STATUS=$?
1719 if [ $STATUS -eq 0 ]; then
You can’t perform that action at this time.
0 commit comments