-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
stop building "scorecard-storage", "scorecard-untar" images #6422
stop building "scorecard-storage", "scorecard-untar" images #6422
Conversation
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.
Hi @acornett21, thank you for starting the PR.
It would also be nice to remove scorecard-untar and scorecard-storage from the Makefile to avoid rebuilding the images:
Line 95 in af14062
IMAGE_TARGET_LIST = operator-sdk helm-operator ansible-operator ansible-operator-2.11-preview scorecard-test scorecard-test-kuttl scorecard-untar scorecard-storage |
We could also fix the digests at the same time by using the current digests for scorecard-storage and scorecard-untar:
quay.io/operator-framework/scorecard-storage@sha256:a3bfda71281393c7794cabdd39c563fb050d3020fd0b642ea164646bdd39a0e2
quay.io/operator-framework/scorecard-untar@sha256:2e728c5e67a7f4dec0df157a322dd5671212e8ae60f69137463bd4fdfbff8747
Here is our previous PR for changing the digests. We need more or less the same here.
@tkrishtop I wasn't sure if the maintainers also wanted the makefile changed or not, was hoping for their feedback on this. I think the |
Since we have nothing to lose, I proposed to fix everything at once, but please do as you think better. |
Hi @varshaprasad96, can you please check the question about the Makefile above? I usually ask Bryce to help us out but he is off this week. |
@acornett21 @tkrishtop I think it is fine to update the Makefile as part of this PR although I don't think the Makefile has a direct impact on the release process in regards to building and pushing the images. Just to make sure I am following along though, I think the only change in the Makefile would be here: Line 95 in af14062
+1 on the sha changes being in a separate PR |
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.
/lgtm
@acornett21 the Makefile can be updated as part of this PR if you would like but I don't think it should block this PR from making it in. From what I recall, the Makefile target for building the images is just used for local building and isn't a part of the release pipeline.
…e since these images need to be referenced by a sha, and rarely change. Signed-off-by: Adam D. Cornett <adc@redhat.com>
a4256ee
to
1df3b41
Compare
@everettraven I updated the makefile as well. |
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.
/lgtm
Merging this despite test failures since this PR is part of helping fix these failures longer term. Thanks again @acornett21 for creating this PR! |
49b7f00
into
operator-framework:master
Description of the change:
Remove "scorecard-storage", "scorecard-untar" from being built during the release process. I think this is the only place to change, though I am unsure if this is all the places.
Motivation for the change:
In order for scorecard tests to work in DCI and disconnected environments, images need to be referenced by
sha
and not atag
, this would stop these two testing images from getting rebuilt on release, since the rarely change.Checklist
If the pull request includes user-facing changes, extra documentation is required:
changelog/fragments
(seechangelog/fragments/00-template.yaml
)website/content/en/docs