Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MetaGer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
MetaGer
Commits
52c08ba7
Commit
52c08ba7
authored
2 years ago
by
Dominik Hebeler
Browse files
Options
Downloads
Patches
Plain Diff
debug output
parent
a9437a24
No related branches found
Branches containing commit
No related tags found
2 merge requests
!1973
Development
,
!1934
Resolve "Update Images"
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab/deployment_scripts/cleanup_revisions.sh
+3
-2
3 additions, 2 deletions
.gitlab/deployment_scripts/cleanup_revisions.sh
with
3 additions
and
2 deletions
.gitlab/deployment_scripts/cleanup_revisions.sh
+
3
−
2
View file @
52c08ba7
...
@@ -5,9 +5,10 @@
...
@@ -5,9 +5,10 @@
FPM_REPOSITORY_ID
=
418
FPM_REPOSITORY_ID
=
418
NGINX_REPOSITORY_ID
=
416
NGINX_REPOSITORY_ID
=
416
helm
-n
$KUBE_NAMESPACE
history
${
CI_COMMIT_REF_SLUG
}
>
/dev/null 2>&1
echo
$KUBE_NAMESPACE
echo
$KUBENAMESPACE
echo
$CI_COMMIT_REF_SLUG
echo
$CI_COMMIT_REF_SLUG
helm
-n
$KUBE_NAMESPACE
history
${
CI_COMMIT_REF_SLUG
}
if
[
$?
-ne
0
]
if
[
$?
-ne
0
]
then
then
echo
"Release does not exist yet. Nothing to cleanup!"
echo
"Release does not exist yet. Nothing to cleanup!"
...
...
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