-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move CodeBuild Sources & Artifacts to a separate package #2037
Comments
Yes, I have some questions about this: I try to model a stack with a pipeline inside made of 4 step ( |
Hey @made2591 , you need to have the GitHub source Action as a local variable, and use its const sourceAction = new cpactions.GitHubSourceAction({
actionName: 'Source',
owner: 'skinny85',
repo: 'test-code-build-deploy-spring-boot-project',
oauthToken: cdk.SecretValue.secretsManager('my-github-token'),
branch: 'webhook-test',
outputArtifactName: 'SourceOutput',
}); And then in your CodeBuild Action: new cpactions.CodeBuildBuildAction({
actionName: 'CodeBuild',
project,
inputArtifact: sourceAction.outputArtifact,
}), Hope this helps! Thanks, |
Thank you @skinny85 I will try it right now and let you now! |
…te packages. Fixes aws#2037
We decided not to pursue this direction, instead opting to leave the sources and artifacts in the same package. |
According to what we agreed to in #1743, we need to move CodeBuild's Sources and Artifacts to a separate package.
We should also make a decision whether we should have 2 new packages: one for Sources, one for Artifacts, or should we put both Sources and Artifacts in one new package.
The text was updated successfully, but these errors were encountered: