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

fix(publish): remove variable from rules:exists expression (unsupported)

parent 79835f82
No related branches found
No related tags found
No related merge requests found
......@@ -663,15 +663,16 @@ helm-publish:
stage: publish
script:
- helm ${TRACE+--debug} $(get_helm_config_opt) repo index $HELM_PUBLISH_DIR --url $HELM_PUBLISH_URL $HELM_PUBLISH_ARGS
rules:
- if: $CI_MERGE_REQUEST_ID || $HELM_PUBLISH_URL == null || $CI_COMMIT_REF_NAME !~ $PROD_REF
when: never
- exists:
- $HELM_CHART_DIR/Chart.yaml
artifacts:
expire_in: 1 week
paths:
- $HELM_PUBLISH_DIR
rules:
- if: $CI_MERGE_REQUEST_ID || $HELM_PUBLISH_URL == null || $CI_COMMIT_REF_NAME !~ $PROD_REF
when: never
# /!\ variables can't be used in rules:exists
- exists:
- "**/Chart.yaml"
# 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