Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eic_container
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
Container registry
Model registry
Operate
Environments
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
containers
eic_container
Commits
cc278661
Commit
cc278661
authored
11 months ago
by
Dmitry Kalinkin
Browse files
Options
Downloads
Patches
Plain Diff
.gitlab-ci.yml: allow_failure for cleanup jobs
parent
a656d7d0
No related branches found
No related tags found
1 merge request
!895
.gitlab-ci.yml: allow_failure for cleanup jobs
Pipeline
#91826
failed
11 months ago
Stage: status-pending
Stage: config
Stage: base
Stage: jug
Stage: deploy
Stage: benchmarks
Stage: finalize
Stage: status-report
Pipeline: detector_benchmarks
#91878
Pipeline: detector_benchmarks
#91876
Changes
1
Pipelines
32
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-0
3 additions, 0 deletions
.gitlab-ci.yml
with
3 additions
and
0 deletions
.gitlab-ci.yml
+
3
−
0
View file @
cc278661
...
@@ -637,6 +637,7 @@ clean_internal_tag:
...
@@ -637,6 +637,7 @@ clean_internal_tag:
curl --request DELETE --header "PRIVATE-TOKEN: ${REG_CLEANUP_TOKEN}" ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/registry/repositories/${id}/tags/${tag} ;
curl --request DELETE --header "PRIVATE-TOKEN: ${REG_CLEANUP_TOKEN}" ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/registry/repositories/${id}/tags/${tag} ;
done ;
done ;
done
done
allow_failure
:
true
clean_unstable_mr
:
clean_unstable_mr
:
extends
:
.docker
extends
:
.docker
...
@@ -665,6 +666,7 @@ clean_unstable_mr:
...
@@ -665,6 +666,7 @@ clean_unstable_mr:
if [ "$state" == "merged" ] ; then docker rmi $repository:$tag ; fi ;
if [ "$state" == "merged" ] ; then docker rmi $repository:$tag ; fi ;
if [ "$state" == "closed" ] ; then docker rmi $repository:$tag ; fi ;
if [ "$state" == "closed" ] ; then docker rmi $repository:$tag ; fi ;
done
done
allow_failure
:
true
clean_pipeline
:
clean_pipeline
:
extends
:
.docker
extends
:
.docker
...
@@ -706,6 +708,7 @@ clean_pipeline:
...
@@ -706,6 +708,7 @@ clean_pipeline:
if [ "$status" == "failed" ] ; then docker rmi $repository:$tag ; fi ;
if [ "$status" == "failed" ] ; then docker rmi $repository:$tag ; fi ;
if [ "$status" == "canceled" ] ; then docker rmi $repository:$tag ; fi ;
if [ "$status" == "canceled" ] ; then docker rmi $repository:$tag ; fi ;
done
done
allow_failure
:
true
status:success
:
status:success
:
stage
:
status-report
stage
:
status-report
...
...
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