aws-delivlib 13.4.3 → 13.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdk.out/delivlib-test.assets.json +2 -2
- package/cdk.out/delivlib-test.template.json +30 -25
- package/cdk.out/manifest.json +119 -119
- package/cdk.out/tree.json +30 -25
- package/lib/__tests__/test-stack.js +8 -7
- package/package.json +1 -1
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
},
|
|
242
|
-
"
|
|
242
|
+
"ac4833b05eb66ef74dcce526d1f8ab6496c38e6d439be9f04bbb4ac8522437b8": {
|
|
243
243
|
"source": {
|
|
244
244
|
"path": "delivlib-test.template.json",
|
|
245
245
|
"packaging": "file"
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
"destinations": {
|
|
248
248
|
"712950704752-us-east-1": {
|
|
249
249
|
"bucketName": "cdk-hnb659fds-assets-712950704752-us-east-1",
|
|
250
|
-
"objectKey": "
|
|
250
|
+
"objectKey": "ac4833b05eb66ef74dcce526d1f8ab6496c38e6d439be9f04bbb4ac8522437b8.json",
|
|
251
251
|
"region": "us-east-1",
|
|
252
252
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::712950704752:role/cdk-hnb659fds-file-publishing-role-712950704752-us-east-1"
|
|
253
253
|
}
|
|
@@ -772,7 +772,7 @@
|
|
|
772
772
|
"Owner": "awslabs",
|
|
773
773
|
"Repo": "aws-delivlib-sample",
|
|
774
774
|
"Branch": "master",
|
|
775
|
-
"OAuthToken": "{{resolve:secretsmanager:arn:aws:secretsmanager:us-east-1:712950704752:secret:github-token-
|
|
775
|
+
"OAuthToken": "{{resolve:secretsmanager:arn:aws:secretsmanager:us-east-1:712950704752:secret:github-token-QDP6QX:SecretString:::}}",
|
|
776
776
|
"PollForSourceChanges": false
|
|
777
777
|
},
|
|
778
778
|
"Name": "Pull",
|
|
@@ -1179,7 +1179,7 @@
|
|
|
1179
1179
|
"Properties": {
|
|
1180
1180
|
"Authentication": "GITHUB_HMAC",
|
|
1181
1181
|
"AuthenticationConfiguration": {
|
|
1182
|
-
"SecretToken": "{{resolve:secretsmanager:arn:aws:secretsmanager:us-east-1:712950704752:secret:github-token-
|
|
1182
|
+
"SecretToken": "{{resolve:secretsmanager:arn:aws:secretsmanager:us-east-1:712950704752:secret:github-token-QDP6QX:SecretString:::}}"
|
|
1183
1183
|
},
|
|
1184
1184
|
"Filters": [
|
|
1185
1185
|
{
|
|
@@ -4107,7 +4107,7 @@
|
|
|
4107
4107
|
"secretsmanager:GetSecretValue"
|
|
4108
4108
|
],
|
|
4109
4109
|
"Effect": "Allow",
|
|
4110
|
-
"Resource": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/npm-
|
|
4110
|
+
"Resource": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/npm-MhaWgx"
|
|
4111
4111
|
},
|
|
4112
4112
|
{
|
|
4113
4113
|
"Action": [
|
|
@@ -4203,12 +4203,12 @@
|
|
|
4203
4203
|
{
|
|
4204
4204
|
"Name": "FOR_REAL",
|
|
4205
4205
|
"Type": "PLAINTEXT",
|
|
4206
|
-
"Value": "
|
|
4206
|
+
"Value": "false"
|
|
4207
4207
|
},
|
|
4208
4208
|
{
|
|
4209
4209
|
"Name": "NPM_TOKEN_SECRET",
|
|
4210
4210
|
"Type": "PLAINTEXT",
|
|
4211
|
-
"Value": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/npm-
|
|
4211
|
+
"Value": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/npm-MhaWgx"
|
|
4212
4212
|
},
|
|
4213
4213
|
{
|
|
4214
4214
|
"Name": "DISTTAG",
|
|
@@ -4404,7 +4404,7 @@
|
|
|
4404
4404
|
"secretsmanager:GetSecretValue"
|
|
4405
4405
|
],
|
|
4406
4406
|
"Effect": "Allow",
|
|
4407
|
-
"Resource": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/nuget-
|
|
4407
|
+
"Resource": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/nuget-jDbgrN"
|
|
4408
4408
|
},
|
|
4409
4409
|
{
|
|
4410
4410
|
"Action": [
|
|
@@ -4533,7 +4533,7 @@
|
|
|
4533
4533
|
{
|
|
4534
4534
|
"Name": "FOR_REAL",
|
|
4535
4535
|
"Type": "PLAINTEXT",
|
|
4536
|
-
"Value": "
|
|
4536
|
+
"Value": "false"
|
|
4537
4537
|
},
|
|
4538
4538
|
{
|
|
4539
4539
|
"Name": "NUGET_SECRET_REGION",
|
|
@@ -4543,7 +4543,7 @@
|
|
|
4543
4543
|
{
|
|
4544
4544
|
"Name": "NUGET_SECRET_ID",
|
|
4545
4545
|
"Type": "PLAINTEXT",
|
|
4546
|
-
"Value": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/nuget-
|
|
4546
|
+
"Value": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/nuget-jDbgrN"
|
|
4547
4547
|
},
|
|
4548
4548
|
{
|
|
4549
4549
|
"Name": "CODE_SIGNING_SECRET_ID",
|
|
@@ -4746,7 +4746,7 @@
|
|
|
4746
4746
|
"secretsmanager:GetSecretValue"
|
|
4747
4747
|
],
|
|
4748
4748
|
"Effect": "Allow",
|
|
4749
|
-
"Resource": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/maven-
|
|
4749
|
+
"Resource": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/maven-S4Q2y3"
|
|
4750
4750
|
},
|
|
4751
4751
|
{
|
|
4752
4752
|
"Action": [
|
|
@@ -4881,12 +4881,12 @@
|
|
|
4881
4881
|
{
|
|
4882
4882
|
"Name": "FOR_REAL",
|
|
4883
4883
|
"Type": "PLAINTEXT",
|
|
4884
|
-
"Value": "
|
|
4884
|
+
"Value": "false"
|
|
4885
4885
|
},
|
|
4886
4886
|
{
|
|
4887
4887
|
"Name": "MAVEN_LOGIN_SECRET",
|
|
4888
4888
|
"Type": "PLAINTEXT",
|
|
4889
|
-
"Value": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/maven-
|
|
4889
|
+
"Value": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/maven-S4Q2y3"
|
|
4890
4890
|
},
|
|
4891
4891
|
{
|
|
4892
4892
|
"Name": "MAVEN_ENDPOINT",
|
|
@@ -5092,7 +5092,7 @@
|
|
|
5092
5092
|
"secretsmanager:DescribeSecret"
|
|
5093
5093
|
],
|
|
5094
5094
|
"Effect": "Allow",
|
|
5095
|
-
"Resource": "arn:aws:secretsmanager:us-east-1:712950704752:secret:github-token-
|
|
5095
|
+
"Resource": "arn:aws:secretsmanager:us-east-1:712950704752:secret:github-token-QDP6QX"
|
|
5096
5096
|
},
|
|
5097
5097
|
{
|
|
5098
5098
|
"Action": [
|
|
@@ -5247,7 +5247,7 @@
|
|
|
5247
5247
|
{
|
|
5248
5248
|
"Name": "FOR_REAL",
|
|
5249
5249
|
"Type": "PLAINTEXT",
|
|
5250
|
-
"Value": "
|
|
5250
|
+
"Value": "false"
|
|
5251
5251
|
},
|
|
5252
5252
|
{
|
|
5253
5253
|
"Name": "SECONDARY_SOURCE_NAMES",
|
|
@@ -5448,7 +5448,7 @@
|
|
|
5448
5448
|
"secretsmanager:GetSecretValue"
|
|
5449
5449
|
],
|
|
5450
5450
|
"Effect": "Allow",
|
|
5451
|
-
"Resource": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/github-ssh-
|
|
5451
|
+
"Resource": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/github-ssh-okGazo"
|
|
5452
5452
|
},
|
|
5453
5453
|
{
|
|
5454
5454
|
"Action": [
|
|
@@ -5554,12 +5554,12 @@
|
|
|
5554
5554
|
{
|
|
5555
5555
|
"Name": "SSH_KEY_SECRET",
|
|
5556
5556
|
"Type": "PLAINTEXT",
|
|
5557
|
-
"Value": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/github-ssh-
|
|
5557
|
+
"Value": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/github-ssh-okGazo"
|
|
5558
5558
|
},
|
|
5559
5559
|
{
|
|
5560
5560
|
"Name": "FOR_REAL",
|
|
5561
5561
|
"Type": "PLAINTEXT",
|
|
5562
|
-
"Value": "
|
|
5562
|
+
"Value": "false"
|
|
5563
5563
|
},
|
|
5564
5564
|
{
|
|
5565
5565
|
"Name": "COMMIT_USERNAME",
|
|
@@ -5760,7 +5760,7 @@
|
|
|
5760
5760
|
"secretsmanager:GetSecretValue"
|
|
5761
5761
|
],
|
|
5762
5762
|
"Effect": "Allow",
|
|
5763
|
-
"Resource": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/pypi-
|
|
5763
|
+
"Resource": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/pypi-tp8M57"
|
|
5764
5764
|
},
|
|
5765
5765
|
{
|
|
5766
5766
|
"Action": [
|
|
@@ -5856,12 +5856,12 @@
|
|
|
5856
5856
|
{
|
|
5857
5857
|
"Name": "FOR_REAL",
|
|
5858
5858
|
"Type": "PLAINTEXT",
|
|
5859
|
-
"Value": "
|
|
5859
|
+
"Value": "false"
|
|
5860
5860
|
},
|
|
5861
5861
|
{
|
|
5862
5862
|
"Name": "PYPI_CREDENTIALS_SECRET_ID",
|
|
5863
5863
|
"Type": "PLAINTEXT",
|
|
5864
|
-
"Value": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/pypi-
|
|
5864
|
+
"Value": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/pypi-tp8M57"
|
|
5865
5865
|
}
|
|
5866
5866
|
],
|
|
5867
5867
|
"Image": "aws/codebuild/python:3.6.5",
|
|
@@ -6047,7 +6047,7 @@
|
|
|
6047
6047
|
"secretsmanager:GetSecretValue"
|
|
6048
6048
|
],
|
|
6049
6049
|
"Effect": "Allow",
|
|
6050
|
-
"Resource": "arn:aws:secretsmanager:us-east-1:712950704752:secret:github-token-
|
|
6050
|
+
"Resource": "arn:aws:secretsmanager:us-east-1:712950704752:secret:github-token-QDP6QX"
|
|
6051
6051
|
},
|
|
6052
6052
|
{
|
|
6053
6053
|
"Action": [
|
|
@@ -6140,10 +6140,15 @@
|
|
|
6140
6140
|
"Type": "PLAINTEXT",
|
|
6141
6141
|
"Value": "d51656c063a0eef8e6e43eebc868209915793a138eb4a16217cb8d51583f6424.zip"
|
|
6142
6142
|
},
|
|
6143
|
+
{
|
|
6144
|
+
"Name": "DRYRUN",
|
|
6145
|
+
"Type": "PLAINTEXT",
|
|
6146
|
+
"Value": "true"
|
|
6147
|
+
},
|
|
6143
6148
|
{
|
|
6144
6149
|
"Name": "GITHUB_TOKEN_SECRET",
|
|
6145
6150
|
"Type": "PLAINTEXT",
|
|
6146
|
-
"Value": "arn:aws:secretsmanager:us-east-1:712950704752:secret:github-token-
|
|
6151
|
+
"Value": "arn:aws:secretsmanager:us-east-1:712950704752:secret:github-token-QDP6QX"
|
|
6147
6152
|
},
|
|
6148
6153
|
{
|
|
6149
6154
|
"Name": "GIT_BRANCH",
|
|
@@ -6310,7 +6315,7 @@
|
|
|
6310
6315
|
"secretsmanager:GetSecretValue"
|
|
6311
6316
|
],
|
|
6312
6317
|
"Effect": "Allow",
|
|
6313
|
-
"Resource": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/github-ssh-
|
|
6318
|
+
"Resource": "arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/github-ssh-okGazo"
|
|
6314
6319
|
},
|
|
6315
6320
|
{
|
|
6316
6321
|
"Action": [
|
|
@@ -6319,7 +6324,7 @@
|
|
|
6319
6324
|
"secretsmanager:GetSecretValue"
|
|
6320
6325
|
],
|
|
6321
6326
|
"Effect": "Allow",
|
|
6322
|
-
"Resource": "arn:aws:secretsmanager:us-east-1:712950704752:secret:github-token-
|
|
6327
|
+
"Resource": "arn:aws:secretsmanager:us-east-1:712950704752:secret:github-token-QDP6QX"
|
|
6323
6328
|
}
|
|
6324
6329
|
],
|
|
6325
6330
|
"Version": "2012-10-17"
|
|
@@ -6355,7 +6360,7 @@
|
|
|
6355
6360
|
]
|
|
6356
6361
|
},
|
|
6357
6362
|
"Source": {
|
|
6358
|
-
"BuildSpec": "{\n \"version\": \"0.2\",\n \"phases\": {\n \"pre_build\": {\n \"commands\": [\n \"git config --global user.email \\\"foo@bar.com\\\"\",\n \"git config --global user.name \\\"foobar\\\"\"\n ]\n },\n \"build\": {\n \"commands\": [\n \"export SKIP=false\",\n \"$SKIP || { aws secretsmanager get-secret-value --secret-id \\\"arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/github-ssh-
|
|
6363
|
+
"BuildSpec": "{\n \"version\": \"0.2\",\n \"phases\": {\n \"pre_build\": {\n \"commands\": [\n \"git config --global user.email \\\"foo@bar.com\\\"\",\n \"git config --global user.name \\\"foobar\\\"\"\n ]\n },\n \"build\": {\n \"commands\": [\n \"export SKIP=false\",\n \"$SKIP || { aws secretsmanager get-secret-value --secret-id \\\"arn:aws:secretsmanager:us-east-1:712950704752:secret:delivlib/github-ssh-okGazo\\\" --output=text --query=SecretString > ~/.ssh/id_rsa ; }\",\n \"$SKIP || { mkdir -p ~/.ssh ; }\",\n \"$SKIP || { chmod 0600 ~/.ssh/id_rsa ~/.ssh/config ; }\",\n \"$SKIP || { ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts ; }\",\n \"$SKIP || { ls .git && { echo \\\".git directory exists\\\"; } || { echo \\\".git directory doesnot exist - cloning...\\\" && git init . && git remote add origin git@github.com:awslabs/aws-delivlib-sample.git && git fetch && git reset --hard origin/master && git branch -M master && git clean -fqdx; } ; }\",\n \"$SKIP || { git describe --exact-match master && { echo 'Skip condition is met, skipping...' && export SKIP=true; } || { echo 'Skip condition is not met, continuing...' && export SKIP=false; } ; }\",\n \"$SKIP || { export GITHUB_TOKEN=$(aws secretsmanager get-secret-value --secret-id \\\"arn:aws:secretsmanager:us-east-1:712950704752:secret:github-token-QDP6QX\\\" --output=text --query=SecretString) ; }\",\n \"$SKIP || { git rev-parse --verify origin/bump/$VERSION && { git checkout bump/$VERSION && git merge master && npm i && npm run bump && export VERSION=$(git describe) && echo Finished running user commands; } || { git checkout master && git checkout -b temp && npm i && npm run bump && export VERSION=$(git describe) && echo Finished running user commands && git branch -M bump/$VERSION; } ; }\",\n \"$SKIP || { git merge-base --is-ancestor bump/$VERSION origin/master && { echo \\\"Skipping: bump/$VERSION is an ancestor of origin/master\\\"; export SKIP=true; } || { echo \\\"Pushing: bump/$VERSION is ahead of origin/master\\\"; export SKIP=false; } ; }\",\n \"$SKIP || { git remote add origin_ssh git@github.com:awslabs/aws-delivlib-sample.git ; }\",\n \"$SKIP || { git push --atomic --follow-tags origin_ssh bump/$VERSION:bump/$VERSION ; }\",\n \"$SKIP || { curl --fail -X POST -o pr.json --header \\\"Authorization: token $GITHUB_TOKEN\\\" --header \\\"Content-Type: application/json\\\" -d \\\"{\\\\\\\"title\\\\\\\":\\\\\\\"chore(release): $VERSION\\\\\\\",\\\\\\\"base\\\\\\\":\\\\\\\"master\\\\\\\",\\\\\\\"head\\\\\\\":\\\\\\\"bump/$VERSION\\\\\\\"}\\\" https://api.github.com/repos/awslabs/aws-delivlib-sample/pulls && export PR_NUMBER=$(node -p 'require(\\\"./pr.json\\\").number') ; }\",\n \"$SKIP || { curl --fail -X PATCH --header \\\"Authorization: token $GITHUB_TOKEN\\\" --header \\\"Content-Type: application/json\\\" -d \\\"{\\\\\\\"body\\\\\\\":\\\\\\\"See [CHANGELOG](https://github.com/awslabs/aws-delivlib-sample/blob/bump/$VERSION/CHANGELOG.md)\\\\\\\"}\\\" https://api.github.com/repos/awslabs/aws-delivlib-sample/pulls/$PR_NUMBER ; }\"\n ]\n }\n }\n}",
|
|
6359
6364
|
"GitCloneDepth": 0,
|
|
6360
6365
|
"Location": "https://github.com/awslabs/aws-delivlib-sample.git",
|
|
6361
6366
|
"ReportBuildStatus": false,
|
|
@@ -6555,7 +6560,7 @@
|
|
|
6555
6560
|
},
|
|
6556
6561
|
"DeletePreviousComments": "true",
|
|
6557
6562
|
"CommentOnSuccess": "true",
|
|
6558
|
-
"GitHubOAuthToken": "{{resolve:secretsmanager:arn:aws:secretsmanager:us-east-1:712950704752:secret:github-token-
|
|
6563
|
+
"GitHubOAuthToken": "{{resolve:secretsmanager:arn:aws:secretsmanager:us-east-1:712950704752:secret:github-token-QDP6QX:SecretString:::}}"
|
|
6559
6564
|
}
|
|
6560
6565
|
},
|
|
6561
6566
|
"Metadata": {
|