Fix gitlab CI to run on master and auto build/deploy to staging on merge to master

This commit is contained in:
James Wilson
2021-08-12 12:57:03 +01:00
parent bb25a8c3e2
commit 28b798debe
+4 -4
View File
@@ -17,8 +17,8 @@ stages:
stage: dockerize
image: quay.io/buildah/stable
rules:
- if: '$CI_COMMIT_BRANCH == "jsdw-sharding"'
when: manual
- if: '$CI_COMMIT_BRANCH == "master"'
# when: manual # uncomment this line if we want to make this step a manual process
tags:
- kubernetes-parity-build
@@ -54,8 +54,8 @@ stages:
--set image.frontend.tag="${CI_COMMIT_SHORT_SHA}"
$KUBE_NAMESPACE ./helm/
rules:
- if: '$CI_COMMIT_BRANCH == "jsdw-sharding"'
when: manual
- if: '$CI_COMMIT_BRANCH == "master"'
# when: manual # uncomment this line if we want to make this step a manual process
tags:
- kubernetes-parity-build