Skip to content

Commit

Permalink
Names for travis jobs and skipping the default script for deploy stage
Browse files Browse the repository at this point in the history
  • Loading branch information
jkremser committed Oct 15, 2018
1 parent 8b89862 commit 2d96b81
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,30 +44,35 @@ jobs:
env: BIN=kubectl VERSION=v1.9.0 CRD=1 MINIKUBE_VERSION=v0.25.2
script: *kc-script-defaults

- stage: test-restarts
- stage:
name: "Restart pod [oc cm]"
env: BIN=oc VERSION=v3.9.0 CRD=0
script: &oc-restarts-script-defaults
- make build-travis
- ./.travis/.travis.prepare.openshift.sh
- ./.travis/.travis.test-restarts.sh

- stage:
name: "Restart pod [oc crd]"
env: BIN=oc VERSION=v3.9.0 CRD=1
script: *oc-restarts-script-defaults

- stage:
name: "Restart pod [kc cm]"
env: BIN=kubectl VERSION=v1.9.0 CRD=0 MINIKUBE_VERSION=v0.25.2
script: &kc-restarts-script-defaults
- make build-travis
- ./.travis/.travis.prepare.minikube.sh
- ./.travis/.travis.test-restarts.sh

- stage:
name: "Restart pod [kc crd]"
env: BIN=kubectl VERSION=v1.9.0 CRD=1 MINIKUBE_VERSION=v0.25.2
script: *kc-restarts-script-defaults

- stage: deploy
script:
script: skip
deploy:
# release x.y.z or x.y.z-centos if there is a release
# or release the latest image if building the master branch
- ./.travis/.travis.release.images.sh
Expand Down

0 comments on commit 2d96b81

Please sign in to comment.