Created
January 19, 2018 00:37
-
-
Save avishayil/bd1705d1ac3cf411677b72468c576c07 to your computer and use it in GitHub Desktop.
Pipelines YAML to Elastic Beanstalk Deployment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: python:3.5.1 | |
pipelines: | |
branches: | |
master: | |
- step: | |
script: | |
- apt-get update # required to install zip | |
- apt-get install -y zip # required for packaging up the application | |
- pip install boto3==1.3.0 # required for beanstalk_deploy.py | |
- zip -j /tmp/artifact.zip sample_application/* # package up the application for deployment | |
- python beanstalk_deploy.py # run the deployment script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment