Skip to content

Commit

Permalink
ci: add travis_terminate to force stop on error (#208)
Browse files Browse the repository at this point in the history
Signed-off-by: Alessandro Pomponio <[email protected]>
  • Loading branch information
AlessandroPomponio authored and GitHub Enterprise committed Aug 22, 2023
1 parent 0c8ad6b commit c3cf010
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,25 +42,25 @@ jobs:
- docker
script:
- export FULL_IMAGE_ID=${DOCKER_REGISTRY}/st4sd-registry-ui:$TRAVIS_BRANCH
- ./build_and_push.sh $FULL_IMAGE_ID
- ./build_and_push.sh $FULL_IMAGE_ID || travis_terminate 1
- stage: "Build test image pr"
os: linux
services:
- docker
script:
- export FULL_IMAGE_ID=${DOCKER_REGISTRY}/st4sd-registry-ui:$TRAVIS_PULL_REQUEST_BRANCH
- ./build_and_push.sh $FULL_IMAGE_ID
- ./build_and_push.sh $FULL_IMAGE_ID || travis_terminate 1
- stage: "Build production image"
os: linux
services:
- docker
script:
- export FULL_IMAGE_ID=${DOCKER_REGISTRY}/st4sd-registry-ui
- ./build_and_push.sh $FULL_IMAGE_ID
- ./build_and_push.sh $FULL_IMAGE_ID || travis_terminate 1
- stage: "Build platform image"
os: linux
services:
- docker
script:
- export FULL_IMAGE_ID=${DOCKER_REGISTRY}/st4sd-registry-ui:release-candidate
- ./build_and_push.sh $FULL_IMAGE_ID
- ./build_and_push.sh $FULL_IMAGE_ID || travis_terminate 1

0 comments on commit c3cf010

Please sign in to comment.