Merge pull request #2805 from coreos-inc/fix_preview_env_master
Fix master ci-pipeline
This commit is contained in:
commit
2046a882c5
2 changed files with 5 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Reference in a new issue