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 = { local onlyBranch = {
only: ['branches'], only: ['branches'],
except: ['master']
}, },
'container-base-build': baseJob.dockerBuild + onlyMaster { 'container-base-build': baseJob.dockerBuild + onlyMaster {

View file

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