mirror of
https://github.com/sartography/cr-connect-db.git
synced 2025-01-23 13:19:12 +00:00
Prints out some stuff for debugging
This commit is contained in:
parent
976b0999e0
commit
48ad792265
@ -3,10 +3,6 @@ language: bash
|
||||
services:
|
||||
- docker
|
||||
|
||||
env:
|
||||
global:
|
||||
- COMMIT=${TRAVIS_COMMIT::8}
|
||||
|
||||
install:
|
||||
- sudo pip install --upgrade pip
|
||||
- pip install --user awscli
|
||||
|
@ -5,6 +5,14 @@ echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
APP="db"
|
||||
REPO="sartography/cr-connect-$APP"
|
||||
TAG=$(if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo "$TRAVIS_BRANCH" ; fi)
|
||||
COMMIT=${$TRAVIS_COMMIT::8}
|
||||
|
||||
echo "APP = $APP"
|
||||
echo "REPO = $REPO"
|
||||
echo "TAG = $TAG"
|
||||
echo "TRAVIS_COMMIT = $TRAVIS_COMMIT"
|
||||
echo "COMMIT = $COMMIT"
|
||||
|
||||
docker build -f Dockerfile -t "$REPO:$COMMIT" .
|
||||
docker tag "$REPO:$COMMIT" "$REPO:$TAG"
|
||||
docker tag "$REPO:$COMMIT" "$REPO:travis-$TRAVIS_BUILD_NUMBER"
|
||||
|
Loading…
x
Reference in New Issue
Block a user