Skip to content

Commit

Permalink
fix(codepipeline-actions): update zip to noncorrupted one (#27120)
Browse files Browse the repository at this point in the history
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*
  • Loading branch information
msambol authored and Mike Wrighton committed Sep 14, 2023
1 parent 5bbf07c commit 8b6ff36
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -40,28 +40,28 @@
}
}
},
"a69ee80d8b447031cda0ebb680c4b77d8ad701ea4b043f241da243fa6e34f9b7": {
"6a9a0507c3e2bfac9749f257bdd3d9f313c01ee3984ad7bf373597c341863d6f": {
"source": {
"path": "asset.a69ee80d8b447031cda0ebb680c4b77d8ad701ea4b043f241da243fa6e34f9b7.zip",
"path": "asset.6a9a0507c3e2bfac9749f257bdd3d9f313c01ee3984ad7bf373597c341863d6f.zip",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "a69ee80d8b447031cda0ebb680c4b77d8ad701ea4b043f241da243fa6e34f9b7.zip",
"objectKey": "6a9a0507c3e2bfac9749f257bdd3d9f313c01ee3984ad7bf373597c341863d6f.zip",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
},
"8ef1242d08beb235d6de8a49a1da6b3c01b739b93cb0125ff17f3b68e5984c8e": {
"4de4e5d8bb87dcc2a1eea96c71bef35d6dcf4a63d8767f64f0d53f9362cbbef2": {
"source": {
"path": "aws-cdk-codepipeline-elastic-beanstalk-deploy.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "8ef1242d08beb235d6de8a49a1da6b3c01b739b93cb0125ff17f3b68e5984c8e.json",
"objectKey": "4de4e5d8bb87dcc2a1eea96c71bef35d6dcf4a63d8767f64f0d53f9362cbbef2.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
}
],
"SourceObjectKeys": [
"a69ee80d8b447031cda0ebb680c4b77d8ad701ea4b043f241da243fa6e34f9b7.zip"
"6a9a0507c3e2bfac9749f257bdd3d9f313c01ee3984ad7bf373597c341863d6f.zip"
],
"DestinationBucketName": {
"Ref": "PipelineBucketB967BD35"
Expand Down Expand Up @@ -579,7 +579,7 @@
"Name": "Source",
"OutputArtifacts": [
{
"Name": "SourceArtifact"
"Name": "SourceArtifact-issue-27117"
}
],
"RoleArn": {
Expand Down Expand Up @@ -608,7 +608,7 @@
},
"InputArtifacts": [
{
"Name": "SourceArtifact"
"Name": "SourceArtifact-issue-27117"
}
],
"Name": "Deploy",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"validateOnSynth": false,
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/8ef1242d08beb235d6de8a49a1da6b3c01b739b93cb0125ff17f3b68e5984c8e.json",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/4de4e5d8bb87dcc2a1eea96c71bef35d6dcf4a63d8767f64f0d53f9362cbbef2.json",
"requiresBootstrapStackVersion": 6,
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
"additionalDependencies": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@
"name": "Source",
"outputArtifacts": [
{
"name": "SourceArtifact"
"name": "SourceArtifact-issue-27117"
}
],
"actionTypeId": {
Expand Down Expand Up @@ -904,7 +904,7 @@
"name": "Deploy",
"inputArtifacts": [
{
"name": "SourceArtifact"
"name": "SourceArtifact-issue-27117"
}
],
"actionTypeId": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const pipeline = new codepipeline.Pipeline(stack, 'Pipeline', {
artifactBucket: bucket,
});

const sourceOutput = new codepipeline.Artifact('SourceArtifact');
const sourceOutput = new codepipeline.Artifact('SourceArtifact-issue-27117');
const sourceAction = new cpactions.S3SourceAction({
actionName: 'Source',
output: sourceOutput,
Expand Down

0 comments on commit 8b6ff36

Please sign in to comment.