Fix master ci-pipeline

This commit is contained in:
Antoine Legrand 2017-07-20 15:15:20 +02:00
parent ed3ba07830
commit 68ce52dfca
2 changed files with 5 additions and 0 deletions

View file

@ -26,6 +26,7 @@ local jobs = {
},
local onlyBranch = {
only: ['branches'],
except: ['master']
},
'container-base-build': baseJob.dockerBuild + onlyMaster {

View file

@ -58,6 +58,8 @@ deploy-preview:
name: review/${CI_COMMIT_REF_SLUG}
on_stop: stop-preview
url: https://quay-${CI_COMMIT_REF_SLUG}.k8s.devtable.com
except:
- master
image: quay.io/appr/appr:kubectl
only:
- branches
@ -195,6 +197,8 @@ stop-preview:
action: stop
name: review/${CI_COMMIT_REF_SLUG}
url: https://quay-${CI_COMMIT_REF_SLUG}.k8s.devtable.com
except:
- master
image: quay.io/appr/appr:kubectl
only:
- branches