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

Merge branch '37-helm-publish-job-fails-to-publish-tested-chart-version' into 'master'

Resolve "helm-publish job fails to publish tested chart version"

Closes #37

See merge request to-be-continuous/helm!59
parents 216b55d6 63f482fd
No related branches found
No related tags found
No related merge requests found
...@@ -621,7 +621,7 @@ stages: ...@@ -621,7 +621,7 @@ stages:
} }
function helm_publish() { function helm_publish() {
_pkg=${1:$helm_package_file} _pkg=${1}
if [[ -z "$_pkg" ]]; then if [[ -z "$_pkg" ]]; then
log_error "No package found to deploy" log_error "No package found to deploy"
exit 1 exit 1
...@@ -883,7 +883,7 @@ helm-publish: ...@@ -883,7 +883,7 @@ helm-publish:
extends: .helm-base extends: .helm-base
stage: publish stage: publish
script: script:
- helm_publish - helm_publish $helm_package_file
rules: rules:
- if: '$HELM_PUBLISH_URL == null || $HELM_PUBLISH_URL == "" || $HELM_PUBLISH_METHOD == "disabled"' - if: '$HELM_PUBLISH_URL == null || $HELM_PUBLISH_URL == "" || $HELM_PUBLISH_METHOD == "disabled"'
when: never when: never
......
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