Skip to content
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

Use digest instead of tags in scorecard images #6393

Merged
merged 3 commits into from
Apr 13, 2023
Merged

Use digest instead of tags in scorecard images #6393

merged 3 commits into from
Apr 13, 2023

Conversation

tonyskapunk
Copy link
Contributor

The use of tags breaks disconnected environments when using mirrored images.

Description of the change:

Reintroduces the use of Digest in the scorecard images instead of tags.

Motivation for the change:

Bring back default support to disconnected environments using scorecard.

Checklist

If the pull request includes user-facing changes, extra documentation is required:

Fixes: #6392

The use of tags breaks disconnected environments when using mirrored
images.

Signed-off-by: Tony Garcia <tonyg@redhat.com>
@tonyskapunk tonyskapunk temporarily deployed to deploy April 10, 2023 18:19 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 10, 2023 18:19 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 10, 2023 18:19 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 10, 2023 18:19 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 10, 2023 18:19 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 10, 2023 18:19 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 10, 2023 18:19 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 10, 2023 18:19 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 10, 2023 18:19 — with GitHub Actions Inactive
Co-authored-by: Tatiana Krishtop <tkrishto@redhat.com>
Signed-off-by: Tony Garcia <tonyg@redhat.com>
Copy link
Contributor

@everettraven everettraven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tonyskapunk for creating this PR! These changes look good to me!

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 11, 2023
@tonyskapunk tonyskapunk temporarily deployed to deploy April 11, 2023 20:39 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 11, 2023 20:39 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 11, 2023 20:39 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 11, 2023 20:39 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 11, 2023 20:39 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 11, 2023 20:39 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 11, 2023 20:39 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 11, 2023 20:39 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 11, 2023 20:39 — with GitHub Actions Inactive
Signed-off-by: Tony Garcia <tonyg@redhat.com>
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Apr 12, 2023
@openshift-ci
Copy link

openshift-ci bot commented Apr 12, 2023

New changes are detected. LGTM label has been removed.

@tonyskapunk
Copy link
Contributor Author

Thanks @everettraven I noticed the sanity test failed due to a pair of typos fixed in the last commit, whenever you have time I appreciate your review

@tonyskapunk tonyskapunk temporarily deployed to deploy April 12, 2023 20:16 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 12, 2023 20:16 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 12, 2023 20:16 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 12, 2023 20:16 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 12, 2023 20:16 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 12, 2023 20:16 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 12, 2023 20:16 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 12, 2023 20:16 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy April 12, 2023 20:16 — with GitHub Actions Inactive
@everettraven
Copy link
Contributor

The docs sanity check is failing on an actually broken link but it will be fixed as part of #6394

Merging this

@everettraven everettraven merged commit 82b28e8 into operator-framework:master Apr 13, 2023
oceanc80 pushed a commit to oceanc80/operator-sdk that referenced this pull request Apr 28, 2023
* Use digest instead of tags in scorecard images

The use of tags breaks disconnected environments when using mirrored
images.

Signed-off-by: Tony Garcia <tonyg@redhat.com>

* Update internal/cmd/operator-sdk/scorecard/cmd.go

Co-authored-by: Tatiana Krishtop <tkrishto@redhat.com>
Signed-off-by: Tony Garcia <tonyg@redhat.com>

* Fix typo in image

Signed-off-by: Tony Garcia <tonyg@redhat.com>

---------

Signed-off-by: Tony Garcia <tonyg@redhat.com>
Co-authored-by: Tatiana Krishtop <tkrishto@redhat.com>
oceanc80 pushed a commit to oceanc80/operator-sdk that referenced this pull request Apr 28, 2023
* Use digest instead of tags in scorecard images

The use of tags breaks disconnected environments when using mirrored
images.

Signed-off-by: Tony Garcia <tonyg@redhat.com>

* Update internal/cmd/operator-sdk/scorecard/cmd.go

Co-authored-by: Tatiana Krishtop <tkrishto@redhat.com>
Signed-off-by: Tony Garcia <tonyg@redhat.com>

* Fix typo in image

Signed-off-by: Tony Garcia <tonyg@redhat.com>

---------

Signed-off-by: Tony Garcia <tonyg@redhat.com>
Co-authored-by: Tatiana Krishtop <tkrishto@redhat.com>
Signed-off-by: Catherine Chan-Tse <cchantse@redhat.com>
oceanc80 added a commit that referenced this pull request Apr 28, 2023
* Use digest instead of tags in scorecard images

The use of tags breaks disconnected environments when using mirrored
images.



* Update internal/cmd/operator-sdk/scorecard/cmd.go




* Fix typo in image



---------

Signed-off-by: Tony Garcia <tonyg@redhat.com>
Signed-off-by: Catherine Chan-Tse <cchantse@redhat.com>
Co-authored-by: Tony Garcia <tonyskapunk@users.noreply.github.com>
Co-authored-by: Tatiana Krishtop <tkrishto@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[scorecard] Default store and untar images using tags in a disconnected environment
4 participants