Skip to content
Snippets Groups Projects

fix: retry when unknown blob or inconsistent graph state

Closed Wouter Deconinck requested to merge retry-on-docker-failures into master
+ 6
1
@@ -269,7 +269,6 @@ base:
containers/debian
2>&1 | tee build.log
jug_dev:
parallel:
matrix:
@@ -378,6 +377,12 @@ jug_dev:
--provenance false
containers/jug
2>&1 | tee build.log
- if grep "inconsistent graph state" build.log ; then exit 126 ; fi
- if grep "unknown blob" build.log ; then exit 127 ; fi
- docker image inspect ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}${ENV}:${INTERNAL_TAG}-${BUILD_TYPE}
retry:
max: 1
exit_codes: [126, 127]
jug_xl:default:
Loading