Tries defining commit in deploy script
This commit is contained in:
parent
9af91bed8b
commit
fceda2c796
|
@ -22,8 +22,8 @@ install:
|
||||||
- pipenv install
|
- pipenv install
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
# global:
|
||||||
- COMMIT=${$TRAVIS_COMMIT::8}
|
# - COMMIT=${$TRAVIS_COMMIT::8}
|
||||||
matrix:
|
matrix:
|
||||||
- PB_BASE_URL='http://workflow.sartography.com:5001/pb/'
|
- PB_BASE_URL='http://workflow.sartography.com:5001/pb/'
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,11 @@
|
||||||
echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin || exit 1
|
echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin || exit 1
|
||||||
REPO="sartography/cr-connect-workflow"
|
REPO="sartography/cr-connect-workflow"
|
||||||
TAG=$(if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo "$TRAVIS_BRANCH" ; fi)
|
TAG=$(if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo "$TRAVIS_BRANCH" ; fi)
|
||||||
|
COMMIT=${$TRAVIS_COMMIT::8}
|
||||||
|
|
||||||
echo "REPO = $REPO"
|
echo "REPO = $REPO"
|
||||||
echo "TAG = $TAG"
|
echo "TAG = $TAG"
|
||||||
|
echo "TRAVIS_COMMIT = $TRAVIS_COMMIT"
|
||||||
echo "COMMIT = $COMMIT"
|
echo "COMMIT = $COMMIT"
|
||||||
echo "REPO:COMMIT = $REPO:$COMMIT"
|
echo "REPO:COMMIT = $REPO:$COMMIT"
|
||||||
echo "REPO:TAG = $REPO:$TAG"
|
echo "REPO:TAG = $REPO:$TAG"
|
||||||
|
|
Loading…
Reference in New Issue