Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

[check_image.py] skopeo inspect retry #117

Merged
merged 3 commits into from
Jan 26, 2020

Conversation

maorfr
Copy link
Contributor

@maorfr maorfr commented Jan 26, 2020

covers https://issues.redhat.com/browse/APPSRE-1426

This PR does:

  1. simplifies the skopeo_inspect command - no use of trying once with auth and once without when we can determine that based on the skopeo environment variables.
  2. adds retries to skopeo inspect to handle rate limit or any other error. currently set to 5 attempts, we can extract that to an argument later if we like.

@maorfr
Copy link
Contributor Author

maorfr commented Jan 26, 2020

[test]

@maorfr maorfr merged commit e574bb5 into openshiftio:master Jan 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant