Loading templates/gitlab-ci-helm.yml +3 −3 Original line number Diff line number Diff line Loading @@ -900,12 +900,12 @@ helm-publish: - if: '$HELM_PUBLISH_URL == null || $HELM_PUBLISH_URL == "" || $CI_COMMIT_REF_NAME !~ $PROD_REF || $HELM_PUBLISH_METHOD == "disabled"' when: never - if: '$AUTODEPLOY_TO_PROD == "true"' exists: - "**/Chart.yaml" # else: manual + blocking - if: $CI_COMMIT_REF_NAME # this 'if' is useless but only prevents GitLab warning :( when: manual # /!\ variables can't be used in rules:exists - exists: - "**/Chart.yaml" when: manual # Deploy job prototype # Can be extended to define a concrete environment Loading Loading
templates/gitlab-ci-helm.yml +3 −3 Original line number Diff line number Diff line Loading @@ -900,12 +900,12 @@ helm-publish: - if: '$HELM_PUBLISH_URL == null || $HELM_PUBLISH_URL == "" || $CI_COMMIT_REF_NAME !~ $PROD_REF || $HELM_PUBLISH_METHOD == "disabled"' when: never - if: '$AUTODEPLOY_TO_PROD == "true"' exists: - "**/Chart.yaml" # else: manual + blocking - if: $CI_COMMIT_REF_NAME # this 'if' is useless but only prevents GitLab warning :( when: manual # /!\ variables can't be used in rules:exists - exists: - "**/Chart.yaml" when: manual # Deploy job prototype # Can be extended to define a concrete environment Loading