diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 20cbb2bdbfe8f686ac26f00206224f215421ef28..6644597541905938bec3751a89be1c41739fe837 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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