Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
eos
eos-charts
Commits
d6693d5f
Commit
d6693d5f
authored
Apr 27, 2021
by
Aritz Brosa Iartza
Browse files
chart push: Push all components
parent
d28997f0
Pipeline
#2540902
passed with stage
in 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d6693d5f
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment