You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

26 lines
550 B

machine:
python:
version: 2.7.3
ruby:
version: 2.3.5
services:
- docker
dependencies:
pre:
- pip install awscli
test:
override:
- echo "Bob"; sleep 2
deployment:
hub:
branch: master
commands:
- docker build -t mcansky/sinatra_hello:$CIRCLE_SHA1 .
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- ./deploy.sh $CIRCLE_SHA1
- cp Sidekiq_Dockerfile Dockerfile
- docker build -t mcansky/sinatra_hello_sidekiq:$CIRCLE_SHA1 .
- ./sidekiq_deploy.sh $CIRCLE_SHA1