diff --git a/.gitlab-ci.jsonnet b/.gitlab-ci.jsonnet index bbbd4d0e0..bbfc86835 100644 --- a/.gitlab-ci.jsonnet +++ b/.gitlab-ci.jsonnet @@ -26,6 +26,7 @@ local jobs = { }, local onlyBranch = { only: ['branches'], + except: ['master'] }, 'container-base-build': baseJob.dockerBuild + onlyMaster { diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 18d564264..08c320663 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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