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

Build images with replaces operator image #103

Merged
merged 5 commits into from
Sep 29, 2023

Conversation

didierofrivia
Copy link
Member

@didierofrivia didierofrivia commented Sep 27, 2023

This PR fixes the discrepancy between the bundle replaces value provided to OperatorHub (by hand) and our bundle and catalog images (missing until now). It aims to fix the failing tests in both https://github.com/k8s-operatorhub/community-operators/actions/runs/6323398403/job/17171016267?pr=3298 and https://github.com/redhat-openshift-ecosystem/community-operators-prod/actions/runs/6323474102/job/17171305652?pr=3350 .

Notes:

A re-release needs to be done... either using this mod or by hand including the replaces in the catalog and bundle.

@codecov-commenter
Copy link

codecov-commenter commented Sep 27, 2023

Codecov Report

Merging #103 (d6db26a) into main (fdb0c52) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #103   +/-   ##
=======================================
  Coverage   52.24%   52.24%           
=======================================
  Files          12       12           
  Lines         867      867           
=======================================
  Hits          453      453           
  Misses        374      374           
  Partials       40       40           
Flag Coverage Δ
integration 53.69% <ø> (ø)
unit 51.43% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
api/v1alpha1 (u) 100.00% <ø> (ø)
pkg/helpers (u) 9.75% <ø> (ø)
pkg/log (u) 31.81% <ø> (ø)
pkg/reconcilers (u) 26.60% <ø> (ø)
pkg/limitador (u) 72.02% <ø> (ø)
controllers (i) 53.69% <ø> (ø)

@didierofrivia didierofrivia force-pushed the build-images-with-replaces-version branch from befbcae to 1e65e61 Compare September 27, 2023 14:10
Copy link
Contributor

@eguzki eguzki left a comment

Choose a reason for hiding this comment

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

Update the development guide about Build Custom Catalog. When building a catalog I think that the only required input param should be BUNDLE_IMG. The other parameters either have default values or can be inferred by the script.

make/catalog.mk Outdated Show resolved Hide resolved
utils/generate-catalog.sh Outdated Show resolved Hide resolved
utils/generate-catalog.sh Show resolved Hide resolved
@didierofrivia didierofrivia force-pushed the build-images-with-replaces-version branch from 4ca9369 to d6db26a Compare September 28, 2023 17:05
@didierofrivia didierofrivia merged commit 48f950c into main Sep 29, 2023
11 checks passed
@didierofrivia didierofrivia deleted the build-images-with-replaces-version branch September 29, 2023 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: To test
Development

Successfully merging this pull request may close these issues.

3 participants