Skip to content

Conversation

@joelanford
Copy link
Member

Description of the change:
When opm render renders a bundle, it currently produces zero related images if the CSV does not have an explicit spec.relatedImages field.

This is update to fix an edge case not already fixed in #771.

Motivation for the change:
Related images can be derived from a CSV even when the CSV does not explicitly contain a spec.relatedImages field.

Reviewer Checklist

  • Implementation matches the proposed design, or proposal is updated to match implementation
  • Sufficient unit test coverage
  • Sufficient end-to-end test coverage
  • Docs updated or added to /docs
  • Commit messages sensible and descriptive

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 29, 2021
…ined

Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
@joelanford joelanford force-pushed the fix/render-bundle-related-images2 branch from d939210 to 9f9a39b Compare September 29, 2021 19:03
@codecov
Copy link

codecov bot commented Sep 29, 2021

Codecov Report

Merging #797 (9f9a39b) into master (37551d4) will increase coverage by 0.01%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #797      +/-   ##
==========================================
+ Coverage   51.18%   51.20%   +0.01%     
==========================================
  Files         103      103              
  Lines        9078     9077       -1     
==========================================
+ Hits         4647     4648       +1     
+ Misses       3551     3550       -1     
+ Partials      880      879       -1     
Impacted Files Coverage Δ
alpha/action/render.go 63.87% <50.00%> (+0.85%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 37551d4...9f9a39b. Read the comment docs.

Copy link
Member

@dinhxuanvu dinhxuanvu 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 Sep 29, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 29, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dinhxuanvu, joelanford

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 [dinhxuanvu,joelanford]

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

@openshift-merge-robot openshift-merge-robot merged commit 829551e into operator-framework:master Sep 29, 2021
@joelanford joelanford deleted the fix/render-bundle-related-images2 branch September 29, 2021 20:45
akihikokuroda pushed a commit to akihikokuroda/operator-registry that referenced this pull request Sep 30, 2021
…ined (operator-framework#797)

Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
Signed-off-by: akihikokuroda <akihikokuroda2020@gmail.com>
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