cr-connect-db/.travis.yml

24 lines
647 B
YAML
Raw Normal View History

language: bash
services:
- docker
before_install:
- sudo pip install --upgrade pip
- pip install --user awscli
- export PATH=$PATH:$HOME/.local/bin
- echo $DOCKER_TOKEN | docker login -u "$DOCKER_USERNAME" --password-stdin
install:
docker build --no-cache -t sartography/cr-connect-db:latest . || exit 1;
docker push sartography/cr-connect-db:latest || exit 1;
2020-04-03 15:16:36 +00:00
aws sqs send-message --region 'us-east-1' --queue-url 'https://queue.amazonaws.com/474683445819/dcos-refresh' --message-body 'crconnect/db' || exit 1;
notifications:
email:
on_success: change
on_failure: always
recipients:
- dan@sartography.com