UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit f8ee2f99 authored by Michael McLeroy's avatar Michael McLeroy
Browse files

ci: add retry to crictl call for images

parent 32abc006
No related branches found
No related tags found
1 merge request!745ci: add retry to crictl call for images
Pipeline #419184 passed
......@@ -110,9 +110,10 @@ clean install:
- *deploy_bigbang
- *test_bigbang
# Fetch list of all images ran
# Fetch list of all images ran (retry crictl up to 6x)
- cid=$(docker ps -aqf "name=k3d-${CI_JOB_ID}-server-0")
- docker exec $cid crictl images -o json | jq -r '.images[].repoTags[0] | select(. != null)' | tee images.txt
- images=$(timeout 65 bash -c "until docker exec $cid crictl images -o json; do sleep 10; done;")
- echo $images | jq -r '.images[].repoTags[0] | select(. != null)' | tee images.txt
artifacts:
paths:
- images.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment