Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Kubernetes Monitoring Helm Chart
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Monitoring
helm-charts
Kubernetes Monitoring Helm Chart
Commits
40510831
Commit
40510831
authored
5 days ago
by
Nacho Barrientos
Browse files
Options
Downloads
Patches
Plain Diff
Use alpine/helm to push the chart to registry.cern.ch
parent
8a4c3343
No related branches found
Branches containing commit
No related tags found
1 merge request
!58
Do not check if tag exists + use alpine/helm:3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-7
2 additions, 7 deletions
.gitlab-ci.yml
with
2 additions
and
7 deletions
.gitlab-ci.yml
+
2
−
7
View file @
40510831
...
...
@@ -65,16 +65,11 @@ unittest:
helm_deploy
:
stage
:
deploy
image
:
registry.cern.ch/docker.io/alpine/helm:3
rules
:
-
if
:
'
$CI_COMMIT_TAG'
script
:
|
dnf install -y diffutils wget tar
wget https://get.helm.sh/helm-v3.15.3-linux-386.tar.gz
tar -zxvf helm-v3.15.3-linux-386.tar.gz
mv linux-386/helm /usr/local/bin/helm
rm helm-v3.15.3-linux-386.tar.gz
rm -rf linux-386
sed -i "s/^version:.*/version: ${CI_COMMIT_TAG}/" Chart.yaml
helm package .
echo $REGISTRY_PASSWORD | helm registry login https://registry.cern.ch/v2/ -u $REGISTRY_USER --password-stdin
echo $
{
REGISTRY_PASSWORD
}
| helm registry login https://registry.cern.ch/v2/ -u $REGISTRY_USER --password-stdin
helm push cern-it-monitoring-kubernetes-$CI_COMMIT_TAG.tgz oci://registry.cern.ch/monit
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment