DEV Community

Karthik Sakthivel
Karthik Sakthivel

Posted on

AWS CodePipeline introduces the Commands action that enables customer to easily run shell commands as part of pipeline execution

What's new at AWS πŸ“’

❇️ #AWSCodePipeline introduces the Commands action that enables customer to easily run shell commands as part of pipeline execution.

❇️ With this feature, you will have access to a secure compute environment backed by CodeBuild to run AWS CLI, third-party tools, or any shell commands.

❇️ The Commands action runs CodeBuild managed on-demand EC2 compute, and uses an Amazon Linux 2023 standard 5.0 image.

❇️ Before this launch, if you wanted to run all the above commands
πŸ”Έ Need to create a CodeBuild project
πŸ”Έ Configure the project with the appropriate commands
πŸ”Έ Add a CodeBuild action to pipeline to run the project.

❇️ Now onwards, simply add the Commands action to your pipeline, and define one or more commands as part of the action configuration.

❇️ Since Commands is like any other CodePipeline action, you can use the standard CodePipeline features of input / output artifacts and output variables.

♻️ Some of key considerations:
πŸ”Έ Commands action uses CodeBuild resources similar to the CodeBuild action
πŸ”Έ Builds run by the Commands action will count toward the concurrent build limits as configured for that account.
πŸ”Έ Timeout for builds with the Commands action is 55 minutes.
πŸ”Έ This feature is not support for cross-account or cross-Region actions.

♻️ Key note for Pricing:
πŸ”Έ Commands action will incur additional charges in AWS CodeBuild.

πŸ“Œ Explore more about CodePipeline Features:
https://aws.amazon.com/codepipeline/features/?nc=sn&loc=2

Top comments (0)