Commit 57f0ef61 authored by Sandro Mathys's avatar Sandro Mathys
Browse files

remove outdated comments

parent cb1810c8
#
# Things worth knowing wrt to the pipelines aas well as the branches / environments:
#
# Main:
# - Runs "tests" on all pushes, i.e. it performs a clean(!) install and runs the helm chart tests.
# - If successful, it creates a tarball from the helm chart and uploads that as an artifact.
# - There's no tags, no releases and no pushes to the helm repository.
#
# Release:
# - Does NOT allow pushes. Create merge requests from main instead.
# - Merge requests are only allowed to be merged if the main pipeline did run successfully.
# - Does NOT run any tests (or anything else from main).
# - Pushes the helm chart to the repository (which is in fact the GitLab built-in container registry).
# - Creates a release: a tag on the branch and a downloadable release (source code tarballs/archives).
#
# ALWAYS bump the version in chart/Chart.yaml before merging code into RELEASE.
# The release pipeline will not run successfully, if the the version has not been bumped.
# This is in order to not overwrite an existing version.
#
# If you need to replace an existing version for some reason, you MUST first delete the tag on
# the branch (and thus the release in the project) as well as the tag in the container registry.
# Here's the links to delete the two types of tags:
# https://gitlab-int.switch.ch/maps/shibboleth-sp-helm-chart/-/tags
# https://gitlab-int.switch.ch/maps/shibboleth-sp-helm-chart/container_registry/143
default:
tags:
- docker-host-linux
......@@ -96,6 +71,7 @@ prepare:
# we always want to perform an install (rather than an upgrade) in order to ensure the pre-install hooks work
pre-cleanup:
stage: pre-cleanup
resource_group: helm-deployment
environment:
name: main
only:
......@@ -105,6 +81,7 @@ pre-cleanup:
deploy:
stage: deploy
resource_group: helm-deployment
environment:
name: main
only:
......@@ -119,6 +96,7 @@ deploy:
verify:
stage: verify
resource_group: helm-deployment
environment:
name: main
only:
......@@ -133,6 +111,7 @@ verify:
# thus we're making extra sure to delete everything
post-cleanup:
stage: post-cleanup
resource_group: helm-deployment
environment:
name: main
only:
......
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