Loading templates/gitlab-ci-helm.yml +10 −0 Original line number Diff line number Diff line Loading @@ -1110,6 +1110,8 @@ helm-lint: when: never - exists: - "$HELM_CHART_DIR/Chart.yaml" # workaround https://gitlab.com/gitlab-org/gitlab/-/issues/451764 - "Chart.yaml" # ================================================== # Stage: package-build Loading @@ -1126,6 +1128,8 @@ helm-package: rules: - exists: - "$HELM_CHART_DIR/Chart.yaml" # workaround https://gitlab.com/gitlab-org/gitlab/-/issues/451764 - "Chart.yaml" artifacts: name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG" expire_in: 1 week Loading Loading @@ -1156,6 +1160,8 @@ helm-publish: - if: '$HELM_PUBLISH_ON == "tag" && $CI_COMMIT_TAG =~ $RELEASE_REF' exists: - "$HELM_CHART_DIR/Chart.yaml" # workaround https://gitlab.com/gitlab-org/gitlab/-/issues/451764 - "Chart.yaml" - if: '$HELM_PUBLISH_ON == "prod" && $CI_COMMIT_REF_NAME !~ $PROD_REF' when: never - if: '$HELM_PUBLISH_ON == "protected" && $CI_COMMIT_REF_PROTECTED != "true"' Loading @@ -1163,10 +1169,14 @@ helm-publish: - if: '$HELM_PUBLISH_STRATEGY == "manual"' exists: - "$HELM_CHART_DIR/Chart.yaml" # workaround https://gitlab.com/gitlab-org/gitlab/-/issues/451764 - "Chart.yaml" when: manual - if: '$HELM_PUBLISH_STRATEGY == "auto"' exists: - "$HELM_CHART_DIR/Chart.yaml" # workaround https://gitlab.com/gitlab-org/gitlab/-/issues/451764 - "Chart.yaml" # Deploy job prototype # Can be extended to define a concrete environment Loading Loading
templates/gitlab-ci-helm.yml +10 −0 Original line number Diff line number Diff line Loading @@ -1110,6 +1110,8 @@ helm-lint: when: never - exists: - "$HELM_CHART_DIR/Chart.yaml" # workaround https://gitlab.com/gitlab-org/gitlab/-/issues/451764 - "Chart.yaml" # ================================================== # Stage: package-build Loading @@ -1126,6 +1128,8 @@ helm-package: rules: - exists: - "$HELM_CHART_DIR/Chart.yaml" # workaround https://gitlab.com/gitlab-org/gitlab/-/issues/451764 - "Chart.yaml" artifacts: name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG" expire_in: 1 week Loading Loading @@ -1156,6 +1160,8 @@ helm-publish: - if: '$HELM_PUBLISH_ON == "tag" && $CI_COMMIT_TAG =~ $RELEASE_REF' exists: - "$HELM_CHART_DIR/Chart.yaml" # workaround https://gitlab.com/gitlab-org/gitlab/-/issues/451764 - "Chart.yaml" - if: '$HELM_PUBLISH_ON == "prod" && $CI_COMMIT_REF_NAME !~ $PROD_REF' when: never - if: '$HELM_PUBLISH_ON == "protected" && $CI_COMMIT_REF_PROTECTED != "true"' Loading @@ -1163,10 +1169,14 @@ helm-publish: - if: '$HELM_PUBLISH_STRATEGY == "manual"' exists: - "$HELM_CHART_DIR/Chart.yaml" # workaround https://gitlab.com/gitlab-org/gitlab/-/issues/451764 - "Chart.yaml" when: manual - if: '$HELM_PUBLISH_STRATEGY == "auto"' exists: - "$HELM_CHART_DIR/Chart.yaml" # workaround https://gitlab.com/gitlab-org/gitlab/-/issues/451764 - "Chart.yaml" # Deploy job prototype # Can be extended to define a concrete environment Loading