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)