Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • containers/eic_container
  • wdconinc/eic_container
  • tooba/eic_container
3 results
Show changes
Commits on Source (2)
......@@ -113,7 +113,6 @@ version:
NIGHTLY_TAG="${VERSION}-nightly"
EXPORT_TAG="${VERSION}"
DH_PUSH=""
GH_PUSH=""
elif [ "x${CI_PIPELINE_SOURCE}" = "xtrigger" ]; then
VERSION="${CI_COMMIT_BRANCH}"
DH_PUSH=""
......@@ -695,7 +694,9 @@ clean_pipeline:
--filter=reference=${registry}/*:pipeline-*
--format "{{.ID}} {{.Repository}} {{.Tag}} {{.CreatedSince}}" ;
done
- for registry in
- # prevent grep exit code 1 when no match
mygrep() { grep "$@" || test $? = 1; } ;
for registry in
eicweb
eicweb.phy.anl.gov:4567/containers/eic_container
; do
......@@ -703,8 +704,8 @@ clean_pipeline:
--filter=reference=${registry}/*:pipeline-*
--format "{{.ID}} {{.Repository}} {{.Tag}} {{.CreatedSince}}" ;
done
| grep -v ${CI_PIPELINE_ID}
| grep -v "hours ago"
| mygrep -v ${CI_PIPELINE_ID}
| mygrep -v "hours ago"
| sed -n -E 's/pipeline-([0-9]+)(-.*){0,1}\s+.*$/\1 &/p'
| while read id repository pipeline_id tag N durations ago ; do
echo "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${pipeline_id}" ;
......