Skip to content

Instantly share code, notes, and snippets.

@radzionc
Last active January 27, 2018 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save radzionc/f2a2da8e8fd67fe7a32a74c4062fcb0f to your computer and use it in GitHub Desktop.
Save radzionc/f2a2da8e8fd67fe7a32a74c4062fcb0f to your computer and use it in GitHub Desktop.
image: node:latest
pipelines:
branches:
dev:
- step:
caches:
- node
script:
- apt-get update
- apt-get install -y default-jre
- npm install
- npm test
- apt-get install -y python-dev
- curl -O https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
- pip install awsebcli --upgrade
- eb init <app> -r <region> -p node.js
- eb deploy <app>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment