Skip to content

Instantly share code, notes, and snippets.

@avishayil
Created January 19, 2018 00:37
Show Gist options
  • Save avishayil/bd1705d1ac3cf411677b72468c576c07 to your computer and use it in GitHub Desktop.
Save avishayil/bd1705d1ac3cf411677b72468c576c07 to your computer and use it in GitHub Desktop.
Pipelines YAML to Elastic Beanstalk Deployment
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