24 lines
629 B
YAML
24 lines
629 B
YAML
language: bash
|
|
|
|
services:
|
|
- docker
|
|
|
|
before_install:
|
|
- sudo pip install --upgrade pip
|
|
- pip install --user awscli
|
|
- export PATH=$PATH:$HOME/.local/bin
|
|
- echo $DOCKER_PASSWORD | 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;
|
|
aws sqs send-message --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
|
|
|