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

Implement Podman scripts for Registry-Operator Makefile #61

Merged
merged 3 commits into from
Nov 17, 2023

Conversation

Jdubrick
Copy link
Contributor

@Jdubrick Jdubrick commented Nov 16, 2023

Please specify the area for this PR
Registry-Operator

What does does this PR do / why we need it:
Implements podman script support for the Registry-Operator build and push commands

Which issue(s) this PR fixes:

Fixes #?
resolves devfile/api#1340

PR acceptance criteria:

  • Test Coverage
    • Are your changes sufficiently tested, and are any applicable test cases added or updated to cover your changes?

Documentation

  • Does the registry operator documentation need to be updated with your changes?

How to test changes / Special notes to the reviewer:
Run the new commands via CLI to build and push images created with podman instead of docker

Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
README.md Outdated
Comment on lines 77 to 78
| podman-build | build registry operator podman image |
| podman-push | push registry operator podman image |
Copy link
Member

Choose a reason for hiding this comment

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

I would phase it "build registry operator container image using <engine>"

Suggested change
| podman-build | build registry operator podman image |
| podman-push | push registry operator podman image |
| podman-build | build registry operator container image using podman |
| podman-push | push registry operator container image using podman |

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@michael-valdron updated the wording in the most recent commit to reflect the engine being used for building/pushing the images

Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Copy link

codecov bot commented Nov 16, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b4ddb0d) 26.43% compared to head (9631d7e) 26.43%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #61   +/-   ##
=======================================
  Coverage   26.43%   26.43%           
=======================================
  Files          25       25           
  Lines        1415     1415           
=======================================
  Hits          374      374           
  Misses       1020     1020           
  Partials       21       21           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@michael-valdron michael-valdron 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 label Nov 17, 2023
Copy link

openshift-ci bot commented Nov 17, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Jdubrick, michael-valdron

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

@Jdubrick Jdubrick merged commit 6b3db41 into devfile:main Nov 17, 2023
9 checks passed
thepetk pushed a commit to thepetk/devfile-registry-operator that referenced this pull request Aug 20, 2024
* update documentation for podman support

Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>

* update Makefile to add podman commands

Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>

* update readme wording for engine being used

Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>

---------

Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: thepetk <thepetk@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants