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

OCPBUGS-32268: chore: remove image based FBC and replace with dynamic generation #609

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

jakobmoellerdev
Copy link
Contributor

@jakobmoellerdev jakobmoellerdev commented Apr 12, 2024

This changes the File Based Catalog to use the local bundle directory instead of the bundle image thanks to a new Feature in OPM that allows us to directly embed the bundle objects.

This is important for 2 reasons:

  1. Now we do not have to push the bundle somewhere in order to build a catalog, making the deploy-with-olm much better/faster
  2. Previously for backports the runs on the backports for the precommit might fail because the bundle:latest image would point to the main branch and there would be differences in the bundle between the backported version and the main branch, causing the verify-catalog.sh step to fail

@openshift-ci openshift-ci bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Apr 12, 2024
Copy link
Contributor

openshift-ci bot commented Apr 12, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jakobmoellerdev

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 12, 2024
@codecov-commenter
Copy link

codecov-commenter commented Apr 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.56%. Comparing base (7770551) to head (5730a67).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #609   +/-   ##
=======================================
  Coverage   77.56%   77.56%           
=======================================
  Files          27       27           
  Lines        1952     1952           
=======================================
  Hits         1514     1514           
  Misses        320      320           
  Partials      118      118           

@jakobmoellerdev
Copy link
Contributor Author

/override ci/prow/snyk-deps

@jakobmoellerdev
Copy link
Contributor Author

/override ci/prow/precommit-check

Copy link
Contributor

openshift-ci bot commented Apr 12, 2024

@jakobmoellerdev: Overrode contexts on behalf of jakobmoellerdev: ci/prow/snyk-deps

In response to this:

/override ci/prow/snyk-deps

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Contributor

openshift-ci bot commented Apr 12, 2024

@jakobmoellerdev: Overrode contexts on behalf of jakobmoellerdev: ci/prow/precommit-check

In response to this:

/override ci/prow/precommit-check

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@jeff-roche
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 15, 2024
@jakobmoellerdev
Copy link
Contributor Author

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 15, 2024
Signed-off-by: Jakob Möller <jmoller@redhat.com>
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Apr 15, 2024
@jakobmoellerdev
Copy link
Contributor Author

/hold

@jakobmoellerdev
Copy link
Contributor Author

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 15, 2024
@jakobmoellerdev
Copy link
Contributor Author

/override ci/prow/precommit-check

@jakobmoellerdev
Copy link
Contributor Author

/override ci/prow/snyk-deps

Copy link
Contributor

openshift-ci bot commented Apr 15, 2024

@jakobmoellerdev: Overrode contexts on behalf of jakobmoellerdev: ci/prow/precommit-check

In response to this:

/override ci/prow/precommit-check

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Contributor

openshift-ci bot commented Apr 15, 2024

@jakobmoellerdev: Overrode contexts on behalf of jakobmoellerdev: ci/prow/snyk-deps

In response to this:

/override ci/prow/snyk-deps

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@jakobmoellerdev jakobmoellerdev changed the title chore: remove image based FBC and replace with dynamic generation [NO-ISSUE] chore: remove image based FBC and replace with dynamic generation Apr 16, 2024
@jakobmoellerdev jakobmoellerdev changed the title [NO-ISSUE] chore: remove image based FBC and replace with dynamic generation NO-ISSUE: chore: remove image based FBC and replace with dynamic generation Apr 16, 2024
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 16, 2024
@openshift-ci-robot
Copy link

@jakobmoellerdev: This pull request explicitly references no jira issue.

In response to this:

This changes the File Based Catalog to use the local bundle directory instead of the bundle image thanks to a new Feature in OPM that allows us to directly embed the bundle objects.

This is important for 2 reasons:

  1. Now we do not have to push the bundle somewhere in order to build a catalog, making the deploy-with-olm much better/faster
  2. Previously for backports the runs on the backports for the precommit might fail because the bundle:latest image would point to the main branch and there would be differences in the bundle between the backported version and the main branch, causing the verify-catalog.sh step to fail

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@jakobmoellerdev jakobmoellerdev changed the title NO-ISSUE: chore: remove image based FBC and replace with dynamic generation OCPBUGS-32268: chore: remove image based FBC and replace with dynamic generation Apr 16, 2024
@openshift-ci-robot openshift-ci-robot added jira/severity-low Referenced Jira bug's severity is low for the branch this PR is targeting. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Apr 16, 2024
@openshift-ci-robot
Copy link

@jakobmoellerdev: This pull request references Jira Issue OCPBUGS-32268, which is invalid:

  • expected the bug to target the "4.16.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

This changes the File Based Catalog to use the local bundle directory instead of the bundle image thanks to a new Feature in OPM that allows us to directly embed the bundle objects.

This is important for 2 reasons:

  1. Now we do not have to push the bundle somewhere in order to build a catalog, making the deploy-with-olm much better/faster
  2. Previously for backports the runs on the backports for the precommit might fail because the bundle:latest image would point to the main branch and there would be differences in the bundle between the backported version and the main branch, causing the verify-catalog.sh step to fail

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@jakobmoellerdev
Copy link
Contributor Author

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Apr 16, 2024
@openshift-ci-robot
Copy link

@jakobmoellerdev: This pull request references Jira Issue OCPBUGS-32268, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.16.0) matches configured target version for branch (4.16.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @radeore

In response to this:

/jira refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested a review from radeore April 16, 2024 07:45
@suleymanakbas91
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 16, 2024
@jakobmoellerdev
Copy link
Contributor Author

/override ci/prow/precommit-check

Copy link
Contributor

openshift-ci bot commented Apr 16, 2024

@jakobmoellerdev: Overrode contexts on behalf of jakobmoellerdev: ci/prow/precommit-check

In response to this:

/override ci/prow/precommit-check

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Contributor

openshift-ci bot commented Apr 16, 2024

@jakobmoellerdev: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit 718bf89 into openshift:main Apr 16, 2024
9 checks passed
@openshift-ci-robot
Copy link

@jakobmoellerdev: Jira Issue OCPBUGS-32268: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-32268 has been moved to the MODIFIED state.

In response to this:

This changes the File Based Catalog to use the local bundle directory instead of the bundle image thanks to a new Feature in OPM that allows us to directly embed the bundle objects.

This is important for 2 reasons:

  1. Now we do not have to push the bundle somewhere in order to build a catalog, making the deploy-with-olm much better/faster
  2. Previously for backports the runs on the backports for the precommit might fail because the bundle:latest image would point to the main branch and there would be differences in the bundle between the backported version and the main branch, causing the verify-catalog.sh step to fail

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

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. jira/severity-low Referenced Jira bug's severity is low for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants