-
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
feat(pipelines): add synthCodeBuildDefaults
#15627
feat(pipelines): add synthCodeBuildDefaults
#15627
Conversation
/cc @rix0rrr |
The reason it's possible for those other actions is because you have NO CHOICE other than to specify them there, as you don't control any other aspects of their creation. For the synth step that's not true, if you care you can always drop to a I'm trying to keep the API narrow yet complete--do you have an example of a use case that would be markedly improved by supplying the properties here instead of somewhere else? |
I am trying to keep the separation of Blueprint and Implementation. So I can provide the ShellStep to synthesize and have the CodeBuild overrides somewhere else. E.g. in a construct library, I want to set env, VPC, etc but let the user provide the ShellStep for the synthesize action. |
If that's the goal, then you can still have them specify And VPC would probably apply to all codeBuild steps and hence would go into Do you have an actual immediate issue, or is this hedging against the future? |
It is an immediate issue as I want to set a buildEnvVariable for synth and setting it for all build projects fails for asset actions (#15628) But I can workaround it if you do not want this to be included in the API |
I do see the point (and--confession time--I did have it in originally), but I'd prefer to keep the API minimalist for now and not have too many ways to achieve the same goals. If you could supply both |
synthCodeBuildDefaults
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
This change allows specifying the codeBuildDefaults for the synth-action as it is already possible with assets and self-mutation. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This change allows specifying the codeBuildDefaults for the synth-action as it is already possible with assets and self-mutation. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This change allows specifying the codeBuildDefaults for the synth-action as it is already possible with assets and self-mutation.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license