Skip to content

Commit eb1d363

Browse files
authored
fix(codepipeline-actions): update zip to noncorrupted one (#27120)
I found a legit zip [here](https://github.com/aws/aws-cdk/blob/d8acc8aa07867be1b1b3cad05b67dab2d7bc3252/packages/%40aws-cdk/aws-codepipeline-actions/test/assets/nodejs.zip). Closes #27117. <img width="1211" alt="Screenshot 2023-09-12 at 6 46 22 PM" src="https://github.com/aws/aws-cdk/assets/3310356/1de56fcf-1f99-4095-b2d9-1668bd443a9f"> ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent cf3cd55 commit eb1d363

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.pipeline-elastic-beanstalk-deploy.js.snapshot/aws-cdk-codepipeline-elastic-beanstalk-deploy.assets.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -40,28 +40,28 @@
4040
}
4141
}
4242
},
43-
"a69ee80d8b447031cda0ebb680c4b77d8ad701ea4b043f241da243fa6e34f9b7": {
43+
"6a9a0507c3e2bfac9749f257bdd3d9f313c01ee3984ad7bf373597c341863d6f": {
4444
"source": {
45-
"path": "asset.a69ee80d8b447031cda0ebb680c4b77d8ad701ea4b043f241da243fa6e34f9b7.zip",
45+
"path": "asset.6a9a0507c3e2bfac9749f257bdd3d9f313c01ee3984ad7bf373597c341863d6f.zip",
4646
"packaging": "file"
4747
},
4848
"destinations": {
4949
"current_account-current_region": {
5050
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
51-
"objectKey": "a69ee80d8b447031cda0ebb680c4b77d8ad701ea4b043f241da243fa6e34f9b7.zip",
51+
"objectKey": "6a9a0507c3e2bfac9749f257bdd3d9f313c01ee3984ad7bf373597c341863d6f.zip",
5252
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
5353
}
5454
}
5555
},
56-
"8ef1242d08beb235d6de8a49a1da6b3c01b739b93cb0125ff17f3b68e5984c8e": {
56+
"4de4e5d8bb87dcc2a1eea96c71bef35d6dcf4a63d8767f64f0d53f9362cbbef2": {
5757
"source": {
5858
"path": "aws-cdk-codepipeline-elastic-beanstalk-deploy.template.json",
5959
"packaging": "file"
6060
},
6161
"destinations": {
6262
"current_account-current_region": {
6363
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
64-
"objectKey": "8ef1242d08beb235d6de8a49a1da6b3c01b739b93cb0125ff17f3b68e5984c8e.json",
64+
"objectKey": "4de4e5d8bb87dcc2a1eea96c71bef35d6dcf4a63d8767f64f0d53f9362cbbef2.json",
6565
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
6666
}
6767
}

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.pipeline-elastic-beanstalk-deploy.js.snapshot/aws-cdk-codepipeline-elastic-beanstalk-deploy.template.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
}
176176
],
177177
"SourceObjectKeys": [
178-
"a69ee80d8b447031cda0ebb680c4b77d8ad701ea4b043f241da243fa6e34f9b7.zip"
178+
"6a9a0507c3e2bfac9749f257bdd3d9f313c01ee3984ad7bf373597c341863d6f.zip"
179179
],
180180
"DestinationBucketName": {
181181
"Ref": "PipelineBucketB967BD35"
@@ -579,7 +579,7 @@
579579
"Name": "Source",
580580
"OutputArtifacts": [
581581
{
582-
"Name": "SourceArtifact"
582+
"Name": "SourceArtifact-issue-27117"
583583
}
584584
],
585585
"RoleArn": {
@@ -608,7 +608,7 @@
608608
},
609609
"InputArtifacts": [
610610
{
611-
"Name": "SourceArtifact"
611+
"Name": "SourceArtifact-issue-27117"
612612
}
613613
],
614614
"Name": "Deploy",

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.pipeline-elastic-beanstalk-deploy.js.snapshot/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"validateOnSynth": false,
1818
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
1919
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
20-
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/8ef1242d08beb235d6de8a49a1da6b3c01b739b93cb0125ff17f3b68e5984c8e.json",
20+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/4de4e5d8bb87dcc2a1eea96c71bef35d6dcf4a63d8767f64f0d53f9362cbbef2.json",
2121
"requiresBootstrapStackVersion": 6,
2222
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
2323
"additionalDependencies": [

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.pipeline-elastic-beanstalk-deploy.js.snapshot/tree.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@
862862
"name": "Source",
863863
"outputArtifacts": [
864864
{
865-
"name": "SourceArtifact"
865+
"name": "SourceArtifact-issue-27117"
866866
}
867867
],
868868
"actionTypeId": {
@@ -904,7 +904,7 @@
904904
"name": "Deploy",
905905
"inputArtifacts": [
906906
{
907-
"name": "SourceArtifact"
907+
"name": "SourceArtifact-issue-27117"
908908
}
909909
],
910910
"actionTypeId": {

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.pipeline-elastic-beanstalk-deploy.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const pipeline = new codepipeline.Pipeline(stack, 'Pipeline', {
111111
artifactBucket: bucket,
112112
});
113113

114-
const sourceOutput = new codepipeline.Artifact('SourceArtifact');
114+
const sourceOutput = new codepipeline.Artifact('SourceArtifact-issue-27117');
115115
const sourceAction = new cpactions.S3SourceAction({
116116
actionName: 'Source',
117117
output: sourceOutput,

0 commit comments

Comments
 (0)