-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(build-check): Add check script to verify that docker images used in registry are valid #814
Conversation
…d in registry are valid. Signed-off-by: Sun Tan <sutan@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Sun, a few things:
- We have a PR check that runs
digest-validation-pr.sh
. After this change it won't be needed (build runs on every PR) so it can be removed - If the build runs with
USE_DIGESTS=true
, thenskopeo inspect
will be run twice -- maybe run yours only ifUSE_DIGESTS=false
?- In other places where
skopeo inspect
is called, the option--tls-verify=false
is specified. Do we need that here too?
- In other places where
FYI i've an upcoming PR that remove all .sh scripts, everything being checked when generating files. |
I suggest that we postpone the work to be done for these checks, and see/discuss what to do after Florent's PR merged. @ericwill works for you? |
Sounds good to me. |
FYI #815 here is the related PR |
yes I confirm that as digests are retrieved, it's ensuring that the image/tag do exists |
OK I am closing this one so |
Signed-off-by: Sun Tan sutan@redhat.com
What does this PR do?
Check that each images used in the registry are valid
Screenshot/screencast of this PR
Failing:
![Selection_180](https://user-images.githubusercontent.com/650571/105746901-55fb2480-5f40-11eb-8277-75397bef291d.png)
What issues does this PR fix or reference?
Fix eclipse-che/che#18747
How to test this PR?
quay.io/windupeng/mta-vscode-extension:latest
withquay.io/windupeng/mta-vscode-extension:wrongtag
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.