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

Ensure all disconnected annotations are accounted for when reviewing guidelines #1108

Merged

Conversation

komish
Copy link
Contributor

@komish komish commented Dec 18, 2023

We recently added support for new annotations for various infrastructure features, including disconnected/restricted network support, but our informational check that reviews the CSV's implementation of the guidelines for disconnected support was not accounting for the new annotation.

As a result, we'd emit logs indicating that "this operator didn't support deployment into environments with restricted networks" even if the new annotation was present, which was misleading.

This PR properly checks both annotations, and in the presence of either with a value indicating support for deployment into these environments, executes the logic to see how closely the maintainer adheres to the guidelines.

This also adds relevant tests, and relabels/documents the older annotation as "legacy".

@openshift-ci openshift-ci bot requested review from acornett21 and jomkz December 18, 2023 16:08
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 18, 2023
@komish komish requested a review from bcrochet December 18, 2023 16:33
Copy link
Contributor

@bcrochet bcrochet left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 18, 2023
Copy link

openshift-ci bot commented Dec 18, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bcrochet, komish, skattoju

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [bcrochet,komish,skattoju]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@komish komish merged commit b6bcc35 into redhat-openshift-ecosystem:main Dec 18, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants