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): ShellScriptAction can configure environment #11229

Merged
merged 9 commits into from
Nov 9, 2020

Conversation

tdikland
Copy link
Contributor

The build environment for the ShellScriptAction is hardcoded and set to LINUX_4_0.

This fix allows the build environment to be specified in the ShellScriptAction
fixes #10919


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

The codebuild image of the ShellScriptAction was hardcoded. Some validation scripts require a different codebuild image.
This commit adds a property to the ShellScriptAction class to specify the image, which defaults to linux_4_0 (the current hardcoded value).
fixes aws#10919
…nvironment

The build environment for the ShellScriptAction is hardcoded and set to LINUX_4_0.

This fix allows the build environment to be specified in the ShellScriptAction
fixes aws#10919
@gitpod-io
Copy link

gitpod-io bot commented Oct 30, 2020

@mergify
Copy link
Contributor

mergify bot commented Oct 30, 2020

Title does not follow the guidelines of Conventional Commits. Please adjust title before merge.

tdikland and others added 3 commits October 30, 2020 23:18
…environment

The build environment for the ShellScriptAction is hardcoded and set to LINUX_4_0.

This fix allows the build environment to be specified in the ShellScriptAction
fixes aws#10919
@tdikland tdikland changed the title feat(pipelines) ShellScriptAction add option to configure environment feat(pipelines): ShellScriptAction add option to configure environment Oct 31, 2020
@David-Elizondo
Copy link

👍 This will also allow setting privileged in the environment. Which will solve my current issue. Thanks for making this :)

@tdikland
Copy link
Contributor Author

tdikland commented Nov 9, 2020

@rix0rrr Is there still something I should do to get this merged? It's my first contribution, so I'm not quite sure 😅

@rix0rrr rix0rrr changed the title feat(pipelines): ShellScriptAction add option to configure environment feat(pipelines): ShellScriptAction can configure environment Nov 9, 2020
@mergify
Copy link
Contributor

mergify bot commented Nov 9, 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: 7f4e2ec
  • 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 Nov 9, 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 ab9bcf2 into aws:master Nov 9, 2020
@tdikland tdikland deleted the tdikland/pipelinesvalidationbuildimage branch November 9, 2020 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[cdk-pipelines] ShellScriptAction: add option to configure build image (and other environment settings)
4 participants