Using the Appveyor build version to display in Elastic Beanstalk Application Version

Scott Vaughan's Avatar

Scott Vaughan

06 Apr, 2018 02:29 PM

Currently, our build pipeline is:

Bitbucket for source control
Appveyor (using Cake builds)
Package deployed to an S3 Bucket
AWS Code Pipelines picks up the changes
Elastic beanstalk deploys to an EC2 instance

We would like to tag or identity the Application Version of the Code Pipeline build using the Appveyor build version number. We already patch the assembly files with the version build. We would like to identity this build version in either the "Version Label" or "Description" within the Elastic Beanstalk Application Versions section so we can refer back to which build is currently deployed on which environment.

Has anyone done anything similar or can point me in the right direction?

Thanks.

  1. 1 Posted by Ilya Finkelshte... on 06 Apr, 2018 03:55 PM

    Ilya Finkelshteyn's Avatar

    I wonder that maybe you can try AWS Beanstalk deployment provider released recently and skip both S3 and Code Pipelines steps?

    Its a shame, but documentation is still not published. However provider's UI is pretty straightforward and can be exported to YAML. The only possible tricky part I envision is that you need to specify that artifact created by Cake is of ElasticBeanstalkPackage type, otherwise it will not be accepted.

    Let us know if you want to try and ping with any questions.

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:28 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac