Skip to content
Snippets Groups Projects
Commit 8cabd719 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix: check chart is present locally on publish job

parent fcd186e8
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment