Skip to content

Commit

Permalink
coment
Browse files Browse the repository at this point in the history
  • Loading branch information
go-to-k committed Feb 11, 2025
1 parent fdee49c commit d8e43ca
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ import * as cpactions from 'aws-cdk-lib/aws-codepipeline-actions';
import * as ecr from 'aws-cdk-lib/aws-ecr';
import { ExpectedResult, IntegTest, Match } from '@aws-cdk/integ-tests-alpha';

/*
* To run this integ test, the following steps are required.
* 1. Create a test repository on GitHub (in the code below, it is 'cdk-codepipeline-demo-1')
* 2. Create a Dockerfile with any content at the path `./my-dir/Dockerfile`
* 3. Set the `owner` and `repo` of `CodeStarConnectionsSourceAction` to your GitHub account name and repository name
* 4. Create a Connections in the CodePipeline management console that accesses your GitHub account
* 5. Set the ARN of that Connections to the `CONNECTION_ARN` environment variable in the integ test execution environment
* 6. After running the integ test, replace the value of CONNECTION_ARN written in the file generated in CloudAssembly (integ.pipeline-ecr-build-and-publish.js.snapshot/*) with the string `MOCK`
*/

const app = new cdk.App();

const stack = new cdk.Stack(app, 'codepipeline-ecr-build-and-publish');
Expand Down

0 comments on commit d8e43ca

Please sign in to comment.