UNCLASSIFIED - NO CUI

Skip to content

ci: add retry to crictl call for images

Michael McLeroy requested to merge ci-retry-crictl into master

Package Owner Merge Request

Package Changes

Adds a retry to the crictl command in the pipeline to help avoid the following error: $ docker exec $cid crictl images -o json | jq -r '.images[].repoTags[0] | select(. != null)' | tee images.txt time="2021-07-20T19:07:48.137140478Z" level=fatal msg="connect: connect endpoint 'unix:///run/k3s/containerd/containerd.sock', make sure you are running as root and the endpoint has been started: context deadline exceeded"

Additional Details

This is not intended to fix the issue, but rather minimize pipeline failures on information gathering steps. The cost to root-cause this was deemed too high and a retry was deemed appropriate.

Closes https://repo1.dso.mil/platform-one/big-bang/bigbang/-/issues/187

Merge request reports