Commit d6693d5f authored by Aritz Brosa Iartza's avatar Aritz Brosa Iartza
Browse files

chart push: Push all components

parent d28997f0
Pipeline #2540902 passed with stage
in 40 seconds
......@@ -78,14 +78,17 @@ deploy:
TAG_VERSION=$(echo $CI_COMMIT_TAG | awk -F"-" '{print $2}')
echo "$CI_COMMIT_TAG => $TAG_COMPONENT => $TAG_VERSION"
for chart in $(ls -d */Chart.yaml | xargs dirname); do
if [[ *"$TAG_COMPONENT"* == EOS_COMPONENT ]];then
for comp in $(echo $EOS_COMPONENT);do
if [[ *"$TAG_COMPONENT"* == EOS_COMPONENT ]];then
if [[ ${comp} == "$TAG_COMPONENT" && ${comp} == ${chart} ]];then
helm dependency update ${chart}
helm push ${chart}/ ${HELM_CHART_REPO}
fi
done
else
helm dependency update ${chart}
helm push ${chart}/ ${HELM_CHART_REPO}
fi
done
done
only:
- tags
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment