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 = {
|
||||
only: ['branches'],
|
||||
except: ['master']
|
||||
},
|
||||
|
||||
'container-base-build': baseJob.dockerBuild + onlyMaster {
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue