mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-23 05:08:32 +00:00
Cleans up debugging stuff
This commit is contained in:
parent
06f14daa86
commit
a1ad11c07d
@ -22,10 +22,7 @@ install:
|
|||||||
- pipenv install
|
- pipenv install
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# global:
|
- PB_BASE_URL='http://workflow.sartography.com:5001/pb/'
|
||||||
# - COMMIT=${$TRAVIS_COMMIT::8}
|
|
||||||
matrix:
|
|
||||||
- PB_BASE_URL='http://workflow.sartography.com:5001/pb/'
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- pipenv run coverage run -m pytest
|
- pipenv run coverage run -m pytest
|
||||||
@ -40,7 +37,7 @@ deploy:
|
|||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
all_branches: true
|
all_branches: true
|
||||||
# condition: $TRAVIS_BRANCH =~ ^(testing|staging|master)$
|
condition: $TRAVIS_BRANCH =~ ^(testing|staging|master)$
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
@ -6,14 +6,6 @@ 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}
|
COMMIT=${TRAVIS_COMMIT::8}
|
||||||
|
|
||||||
echo "REPO = $REPO"
|
|
||||||
echo "TAG = $TAG"
|
|
||||||
echo "TRAVIS_COMMIT = $TRAVIS_COMMIT"
|
|
||||||
echo "COMMIT = $COMMIT"
|
|
||||||
echo "REPO:COMMIT = $REPO:$COMMIT"
|
|
||||||
echo "REPO:TAG = $REPO:$TAG"
|
|
||||||
echo "REPO:travis-TRAVIS_BUILD_NUMBER = $REPO:travis-$TRAVIS_BUILD_NUMBER"
|
|
||||||
|
|
||||||
docker build -f Dockerfile -t "$REPO:$COMMIT" . || exit 1
|
docker build -f Dockerfile -t "$REPO:$COMMIT" . || exit 1
|
||||||
docker tag "$REPO:$COMMIT" "$REPO:$TAG" || exit 1
|
docker tag "$REPO:$COMMIT" "$REPO:$TAG" || exit 1
|
||||||
docker tag "$REPO:$COMMIT" "$REPO:travis-$TRAVIS_BUILD_NUMBER" || exit 1
|
docker tag "$REPO:$COMMIT" "$REPO:travis-$TRAVIS_BUILD_NUMBER" || exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user