From cbca6a097402c46c28c72e4bd1905410e40439dd Mon Sep 17 00:00:00 2001 From: arshamparity Date: Wed, 28 Jul 2021 16:17:39 +0300 Subject: [PATCH] change the ci --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6e2fa62..e907064 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,7 +38,9 @@ stages: --set image.repository="${CONTAINER_REGISTRY}/${CONTAINER_REPO}" --set image.tag="${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA}" $KUBE_NAMESPACE ./helm/ - when: manual + rules: + - if: '$CI_COMMIT_BRANCH == "jsdw-sharding"' + when: manual tags: - kubernetes-parity-build @@ -61,6 +63,3 @@ deploy-parity-stg: <<: *deploy-k8s environment: name: parity-stg -# rules: -# - if: '$CI_COMMIT_BRANCH == "master"' -