File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ helm template test:
2424 rules :
2525 - if : $CI_COMMIT_BRANCH
2626 changes :
27- - helm/cache-registry
27+ paths :
28+ - helm/cache-registry/**/*
2829 before_script :
2930 - helm version
3031 script :
@@ -77,7 +78,7 @@ publish-helm:
7778 stage : release
7879 image : dtzar/helm-kubectl:${HELM_VERSION}
7980 variables :
80- HELM_CHARTS_PATH : helm/
81+ HELM_CHARTS_PATH : helm
8182 CHART : cache-registry
8283 before_script :
8384 - helm repo add --username=${HELM_USERNAME} --password=${HELM_PASSWORD} ${HELM_CHART_REPO_NAME} ${HELM_CHART_REPO_URL}/${HELM_CHART_REPO_PROJECT}
@@ -87,6 +88,7 @@ publish-helm:
8788 - helm package ${HELM_CHARTS_PATH}/${CHART} --destination=dist/
8889 - helm cm-push dist/* ${HELM_CHART_REPO_NAME}
8990 rules :
90- - if : ' $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
91+ - if : $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
9192 changes :
92- - ${HELM_CHARTS_PATH}/${CHART}/Chart.yaml
93+ paths :
94+ - ${HELM_CHARTS_PATH}/${CHART}/Chart.yaml
You can’t perform that action at this time.
0 commit comments