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

New condition types #282

Merged

Conversation

m1kola
Copy link
Member

@m1kola m1kola commented Apr 11, 2023

Mikalai Radchuk added 2 commits April 11, 2023 15:00
It was previously defined and used in the operator codebase.

Signed-off-by: Mikalai Radchuk <[email protected]>
These conditions will be used to indicate unpack status on the subscription level.

Previously unpack status was indicated on the InstallPlan, but since we now
want to prevent InstallPlan from being created in a case of unpack job failure
we need to indicate unpack job failures in Subscription conditions.
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 11, 2023
@@ -239,6 +239,9 @@ const (
// BundleLookupPending describes BundleLookups that are not complete.
BundleLookupPending BundleLookupConditionType = "BundleLookupPending"

// BundleLookupFailed describes conditions types for when BundleLookups fail
BundleLookupFailed BundleLookupConditionType = "BundleLookupFailed"
Copy link
Member Author

Choose a reason for hiding this comment

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

@m1kola m1kola marked this pull request as ready for review April 12, 2023 12:14
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 12, 2023
@openshift-ci openshift-ci bot requested review from oceanc80 and timflannagan April 12, 2023 12:14
@m1kola m1kola requested review from perdasilva and awgreene April 12, 2023 13:08
SubscriptionBundleUnpacking SubscriptionConditionType = "BundleUnpacking"

// SubscriptionBundleUnpackFailed indicates that the unpack job failed
SubscriptionBundleUnpackFailed SubscriptionConditionType = "BundleUnpackFailed"
Copy link
Contributor

Choose a reason for hiding this comment

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

Are these used anywhere?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@perdasilva perdasilva left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@tmshort tmshort 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 Apr 13, 2023
@tmshort
Copy link
Contributor

tmshort commented Apr 13, 2023

/approve

1 similar comment
@perdasilva
Copy link
Contributor

/approve

@openshift-ci
Copy link

openshift-ci bot commented Apr 13, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: m1kola, perdasilva, tmshort

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:

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 13, 2023
@openshift-merge-robot openshift-merge-robot merged commit de0138f into operator-framework:master Apr 13, 2023
@m1kola m1kola deleted the new_conditions branch April 13, 2023 13:57
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