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
3d115087
Commit
3d115087
authored
6 months ago
by
Guillermo Facundo Colunga
Browse files
Options
Downloads
Patches
Plain Diff
ci: fix helm_test stage
parent
0e557820
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#8258719
failed
6 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-5
5 additions, 5 deletions
.gitlab-ci.yml
with
5 additions
and
5 deletions
.gitlab-ci.yml
+
5
−
5
View file @
3d115087
...
...
@@ -56,7 +56,7 @@ version_test:
rm -rf linux-386
# Check if the tag already exists in harbor to avoid overrides.
if helm pull oci://registry.cern.ch/monit/cern-it-
kubernetes-monitoring
--version $CI_COMMIT_TAG; then
if helm pull oci://registry.cern.ch/monit/cern-it-
monitoring-kubernetes
--version $CI_COMMIT_TAG; then
# Command was successful (exit code 0), so the tag exists
echo "The tag $TAG already exists in harbor. Please update it."
exit 1 # Exit with non-zero status to indicate tag exists
...
...
@@ -151,9 +151,9 @@ helm_test:
helm dependency update
helm package .
ls -all
helm install cern-it-
kubernetes-monitoring
-crds https://gitlab.cern.ch/monitoring/helm-charts/
kubernetes-monitoring
-crds/-/archive/v0.1.0/
kubernetes-monitoring
-crds-v0.1.0.tar.gz -n monitoring --create-namespace
helm install cern-it-
kubernetes-monitoring ./cern-it
-kubernetes-monitoring-$LOCAL_VERSION.tgz -f values.yaml -n monitoring --create-namespace
helm test --logs cern-it-
kubernetes-monitoring
-n monitoring
helm install cern-it-
monitoring-kubernetes
-crds https://gitlab.cern.ch/monitoring/helm-charts/
monitoring-kubernetes
-crds/-/archive/v0.1.0/
monitoring-kubernetes
-crds-v0.1.0.tar.gz -n monitoring --create-namespace
helm install cern-it-
monitoring
-kubernetes
./cern-it
-monitoring-
kubernetes-
$LOCAL_VERSION.tgz -f values.yaml -n monitoring --create-namespace
helm test --logs cern-it-
monitoring-kubernetes
-n monitoring
echo "Deleting temporal cluster."
openstack coe cluster delete $CLUSTER_NAME
...
...
@@ -174,4 +174,4 @@ helm_deploy:
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
helm push cern-it-
kubernetes-monitoring
-$CI_COMMIT_TAG.tgz oci://registry.cern.ch/monit
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