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
bdcae407
Commit
bdcae407
authored
1 year ago
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
feat: add more debugging output to clean_pipeline
parent
d593d5bb
No related branches found
No related tags found
1 merge request
!877
feat: add more debugging output to clean_pipeline
Changes
1
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 @
bdcae407
...
@@ -678,6 +678,7 @@ clean_pipeline:
...
@@ -678,6 +678,7 @@ clean_pipeline:
when
:
always
when
:
always
script
:
script
:
-
apk add curl jq
-
apk add curl jq
-
docker images --filter=reference=${registry}/*:pipeline-* --format "{{.ID}} {{.Repository}} {{.Tag}}"
-
for registry in
-
for registry in
eicweb
eicweb
eicweb.phy.anl.gov:4567/containers/eic_container
eicweb.phy.anl.gov:4567/containers/eic_container
...
@@ -689,6 +690,8 @@ clean_pipeline:
...
@@ -689,6 +690,8 @@ clean_pipeline:
| grep -v ${CI_PIPELINE_ID}
| grep -v ${CI_PIPELINE_ID}
| sed -n -E 's/pipeline-([0-9]+)(-.*){0,1}$/& \1/p'
| sed -n -E 's/pipeline-([0-9]+)(-.*){0,1}$/& \1/p'
| while read id repository tag pipeline_id ; do
| while read id repository tag pipeline_id ; do
echo "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${pipeline_id}" ;
curl --silent -L "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${pipeline_id}" | jq . ;
status=$(curl --silent -L
status=$(curl --silent -L
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${pipeline_id}"
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${pipeline_id}"
| jq -r ".status") ;
| jq -r ".status") ;
...
...
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