New action: AWS CodePipeline

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.

Image loading...

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

Image loading...

Success
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.
Jarek Dylewski

Jarek Dylewski

Customer Support

A journalist and an SEO specialist trying to find himself in the unforgiving world of coders. Gamer, a non-fiction literature fan and obsessive carnivore. Jarek uses his talents to convert the programming lingo into a cohesive and approachable narration.

Feb 24th 2022
Share