[@aws-cdk/pipelines] Allow multiple build / install commands for SimpleSynthAction #9357
Closed
1 task done
Labels
@aws-cdk/pipelines
CDK Pipelines library
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
p2
Milestone
I think the buildspec generation in the SimpleSynthAction can be improved. For cases where you need run additional build-commands (e.g. build lambda-sources before synth), it would be good to have a way to pass multiple install and build commands to the SimpleSynthAction. A good way would be to provide a string-array for parameter SimpleSynthAction.buildCommand and SimpleSynthAction.installCommand.
Currently, I'm helping myself by concatenating all install/build commands as follows:
Use Case
As a cdk-pipeline user, I want to pass a list of build-commands / actions to the build action of a pipeline to run them one after another or in parallel.
Proposed Solution
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: