Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
helm-charts
Shibboleth SP
Helm Chart
Commits
57f0ef61
Commit
57f0ef61
authored
May 29, 2021
by
Sandro Mathys
Browse files
remove outdated comments
parent
cb1810c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
57f0ef61
#
# 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
:
...
...
Write
Preview
Markdown
is supported
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