New action: AWS CodePipeline

February 24, 2022

New action: AWS CodePipeline

Since Buddy launched with a handful of deployment actions in late 2016, we've always thought of it as a means to remove the friction between developers and the tools they use. This includes popular cloud services such as AWS.

With 11 Amazon actions already in place, devs can automate things like deployments to S3 buckets, ElasticBeanstalk and CodeDeploy, invoke Lambda functions, purge CloudFront caches, and run whatever commands required with the AWS CLI. Today we add AWS CodePipeline, Amazon's Continuous Delivery service.

What you need to know

  1. The action requires configuring an Amazon integration either by delegating a role or via access/secret keys. Once you set it up, it will automatically download the pipelines from your CodePipeline account.

  2. The action runs the selected pipeline on AWS and waits until the execution is over:

    • if it passes successfully, the action is marked as green
    • if it fails, the action is marked as red and the pipeline stops
  3. At the beginning of every execution, Buddy automatically fills the AWS variables that can be used in other steps. You can use these variables, for example, to send a notification to your team with the status and name of the pipeline that failed.

    • $AWS_PIPELINE_NAME, e.g. CodePipeline-Release
    • $AWS_PIPELINE_VERSION, e.g. 3137f7cb-7cf7-EXAMPLE
    • $AWS_PIPELINE_EXECUTION_ID, e.g. 121
    • $AWS_PIPELINE_EXECUTION_STATUS, e.g. Succeeded

Buddy is 100% customer driven. If there’s a feature or integration you miss, let us know in the comments below or directly at support@buddy.works.

Share:

Alexander Kus

Alexander Kus

Customer Success Manager

A story-teller and conversation-lover, Alexander decided to invest his skills to help his friends at Buddy transform the cold language of patch notes into exciting narratives. Also: an avid gamer, hip-hop DJ, Liverpool FC fan, absentminded husband, and the father of two.