Skip to content
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): SimpleSynthAction takes array of build commands #10152

Merged
merged 3 commits into from
Sep 3, 2020

Conversation

rix0rrr
Copy link
Contributor

@rix0rrr rix0rrr commented Sep 3, 2020

Change the single-string versions of buildCommand and
installCommand, and turn them into arrays.

People don't have to do 'command1 && command2' anymore but can now
simply supply an array of ['command1', 'command2'] which is more
natural.

Fixes #9357.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Change the single-string versions of `buildCommand` and
`installCommand`, and turn them into arrays.

People don't have to do `'command1 && command2'` anymore but can now
simply supply an array of `['command1', 'command2']` which is more
natural.

Fixes #9357.
@rix0rrr rix0rrr requested a review from a team September 3, 2020 12:07
@rix0rrr rix0rrr self-assigned this Sep 3, 2020
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Sep 3, 2020
@nija-at nija-at added the pr/do-not-merge This PR should not be merged at this time. label Sep 3, 2020
@@ -449,7 +449,7 @@ class MyPipelineStack extends Stack {
// Then you can login to codeartifact repository
// and npm will now pull packages from your repository
// Note the codeartifact login command requires more params to work.
buildCommand: 'aws codeartifact login --tool npm && npm run build',
buildCommands: ['aws codeartifact login --tool npm && npm run build'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

break it up into two.

@rix0rrr rix0rrr removed the pr/do-not-merge This PR should not be merged at this time. label Sep 3, 2020
@mergify
Copy link
Contributor

mergify bot commented Sep 3, 2020

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).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 7e7a324
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Sep 3, 2020

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).

@mergify mergify bot merged commit 44fcb4e into master Sep 3, 2020
@mergify mergify bot deleted the huijbers/synth-commands branch September 3, 2020 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[@aws-cdk/pipelines] Allow multiple build / install commands for SimpleSynthAction
3 participants