Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Data Logistics Service
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
eFlows4HPC WP2
Data Logistics Service
Commits
5b5a8147
Commit
5b5a8147
authored
2 years ago
by
Christian Boettcher
Browse files
Options
Downloads
Patches
Plain Diff
cleanup rules for cleanup
parent
1b6ed1f0
No related branches found
No related tags found
No related merge requests found
Pipeline
#128658
skipped
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-4
3 additions, 4 deletions
.gitlab-ci.yml
with
3 additions
and
4 deletions
.gitlab-ci.yml
+
3
−
4
View file @
5b5a8147
...
...
@@ -102,6 +102,7 @@ full-deploy-production:
stage
:
deploy
environment
:
Production
rules
:
-
if
:
($CI_COMMIT_TAG =~ /stable/ && $MANUAL_FULL_DEPLOY_PRODUCTION == "true")
<<
:
*ssh_setup
script
:
-
echo "Starting the full production deployment of airflows."
...
...
@@ -160,8 +161,7 @@ cleanup-successful-full-deployment:
stage
:
cleanup
when
:
on_success
rules
:
-
if
:
$MANUAL_FULL_DEPLOY_PRODUCTION == "true"
when
:
tags
-
if
:
($CI_COMMIT_TAG =~ /stable/ && $MANUAL_FULL_DEPLOY_PRODUCTION == "true")
script
:
-
echo "This is the cleanup for the full-redeployment of the testing or production servers"
-
echo "if this job is reached, all earlier jobs were successful, and any lingering old instances need to be removed"
...
...
@@ -175,8 +175,7 @@ cleanup-failed-full-deployment:
stage
:
cleanup
when
:
on_failure
rules
:
-
if
:
$MANUAL_FULL_DEPLOY_PRODUCTION == "true"
when
:
tags
-
if
:
($CI_COMMIT_TAG =~ /stable/ && $MANUAL_FULL_DEPLOY_PRODUCTION == "true")
<<
:
*ssh_setup
script
:
-
echo "This is the cleanup for the full-redeployment of the testing or production servers"
...
...
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