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

makefile: add target to create a new deps bundle #499

Merged
merged 13 commits into from
Nov 21, 2024

Conversation

iamniting
Copy link
Member

Signed-off-by: Nitin Goyal [email protected]

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 12, 2024
@iamniting iamniting force-pushed the bundle-deps branch 10 times, most recently from f91ad49 to 76cf813 Compare November 14, 2024 13:25
The odf-operator initially errors out due to missing CRDs, which
prevents it from reaching a ready state and blocks the creation of the
odf-dependencies subscription that brings these CRDs. By ignoring the
NoKindMatchError for StorageClusterList, we allow the odf-operator to
continue running and allow to create a odf-dependencies subscription.

Signed-off-by: Nitin Goyal <[email protected]>
replace localhost:5000 with quay.io before catalog change verification.
The change is made within ci itself while pushing and pulling the bundle
image locally to the CI.

Signed-off-by: Nitin Goyal <[email protected]>
- Set catalog source name same as odf-operator sub for odf-depedencies
  sub while creating it.
- Skip creation of subscriptions other than odf-depedencies.

Signed-off-by: Nitin Goyal <[email protected]>
oc wait immediately exit if the resource is not present on the cluster.
Make sure resources are present before running oc wait.

Signed-off-by: Nitin Goyal <[email protected]>
leelavg and others added 3 commits November 15, 2024 15:45
odf-operator creates subscription for odf-dependencies and CRDs will
become available only after odf-dependencies CSV is succeeded. We check
the phase of odf-deps CSV to surface whether odf-op is ready to perform
it's actions or not.

Signed-off-by: Leela Venkaiah G <[email protected]>
90s for timeout is choosen based on a couple of observations that it
took around a minute for InstallPlan to be realised as CSVs on the
cluster.

Signed-off-by: Leela Venkaiah G <[email protected]>
The CSVs check was implemted to make sure that all the required CRDS
exists for the UI to proceed. But this check create problems in the
cluster where the odf is being upgraded as odf-operator csv never gets
into the Succeeded state because of the operator readiness check.

Signed-off-by: Nitin Goyal <[email protected]>
Copy link
Member

@b-ranto b-ranto 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 Nov 21, 2024
Copy link
Contributor

openshift-ci bot commented Nov 21, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: b-ranto, iamniting

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-merge-bot openshift-merge-bot bot merged commit 72594e8 into red-hat-storage:main Nov 21, 2024
17 checks passed
@iamniting iamniting deleted the bundle-deps branch November 21, 2024 10:14
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.

3 participants