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

update default scaffolded opm base image #762

Merged

Conversation

joelanford
Copy link
Member

@joelanford joelanford commented Aug 25, 2021

Signed-off-by: Joe Lanford [email protected]

Description of the change:

  • Change default base image scaffolded during opm index and opm alpha generate dockerfile to quay.io/operator-framework/opm:latest
  • update opm-example.Dockerfile to reflect this change (and to focus on
    file-based configs rather than sqlite databases)

Motivation for the change:
The new upstream base image for opm is multi-arch, :latest points to a tagged release (instead of master), and the image build is tested on every PR from github actions, making image build failures during tag pushes less likely.

See also: operator-framework/operator-sdk#5171

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 Aug 25, 2021
@joelanford
Copy link
Member Author

/hold
For multiple reviews

@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 Aug 25, 2021
- Change default base image scaffolded during `opm index` and `opm alpha
  generate dockerfile` to `quay.io/operator-framework/opm:latest`
- update opm-example.Dockerfile to reflect this change (and to focus on
  file-based configs rather than sqlite databases)

Signed-off-by: Joe Lanford <[email protected]>
@codecov
Copy link

codecov bot commented Aug 25, 2021

Codecov Report

Merging #762 (07c8880) into master (a0bb1e5) will increase coverage by 0.11%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #762      +/-   ##
==========================================
+ Coverage   50.29%   50.41%   +0.11%     
==========================================
  Files         101      101              
  Lines        8699     8720      +21     
==========================================
+ Hits         4375     4396      +21     
  Misses       3471     3471              
  Partials      853      853              
Impacted Files Coverage Δ
pkg/containertools/dockerfilegenerator.go 84.61% <ø> (ø)
alpha/model/model.go 92.64% <0.00%> (+1.34%) ⬆️

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 a0bb1e5...07c8880. Read the comment docs.

@kevinrizza
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 31, 2021
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
Copy link
Contributor

openshift-ci bot commented Aug 31, 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

@joelanford
Copy link
Member Author

/hold cancel

@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 Aug 31, 2021
@openshift-merge-robot openshift-merge-robot merged commit 0a190a8 into operator-framework:master Aug 31, 2021
@joelanford joelanford deleted the default-opm-image branch August 31, 2021 23:12
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