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

OPCT-191: Build and publish the CLI image to registry #51

Conversation

mtulio
Copy link
Contributor

@mtulio mtulio commented Mar 30, 2023

https://issues.redhat.com/browse/OPCT-191

This PR introduces the CLI container image, publishing it on Quay.io to allow be mirrored by OpenShift CI jobs (openshift/release#37955), decreasing the complexity and logic of the CI steps.

https://quay.io/repository/ocp-cert/opct?tab=tags

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 30, 2023
@mtulio mtulio changed the title feat/opct-191: Build and publish the CLI to the registry OPCT-191: feat - Build and publish the CLI to the registry Mar 30, 2023
@mtulio mtulio added kind/feature Categorizes issue or PR as related to a new feature. kind/design Categorizes issue or PR as related to design. and removed kind/feature Categorizes issue or PR as related to a new feature. labels Mar 30, 2023
@mtulio mtulio changed the title OPCT-191: feat - Build and publish the CLI to the registry OPCT-191: Build and publish the CLI image to registry Mar 30, 2023
@mtulio mtulio force-pushed the OPCT-191-feat-publush-quay branch 3 times, most recently from 64a71e1 to d7a1ccf Compare March 31, 2023 17:40
@mtulio mtulio added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. and removed kind/design Categorizes issue or PR as related to design. labels Mar 31, 2023
@mtulio mtulio marked this pull request as ready for review March 31, 2023 17:41
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 31, 2023
@mtulio
Copy link
Contributor Author

mtulio commented Mar 31, 2023

Richard, ptal?
/assign @rvanderp3

@mtulio
Copy link
Contributor Author

mtulio commented Apr 4, 2023

/assign @faermanj

docs/dev.md Show resolved Hide resolved
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 4, 2023
@mtulio mtulio force-pushed the OPCT-191-feat-publush-quay branch from dec3afb to a408572 Compare April 4, 2023 15:35
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 4, 2023
@rvanderp3
Copy link
Contributor

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 4, 2023
@openshift-ci
Copy link

openshift-ci bot commented Apr 4, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rvanderp3

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 4, 2023
@openshift-merge-robot openshift-merge-robot merged commit 2958396 into redhat-openshift-ecosystem:main Apr 4, 2023
1 check passed
@mtulio mtulio deleted the OPCT-191-feat-publush-quay branch April 4, 2023 18:26
openshift-merge-robot pushed a commit that referenced this pull request Apr 10, 2023
Removing dependency on OCP CI registry images
(`registry.ci.openshift.org`) when building the project introduced on
#51
. It would be nice to unblock external contributors to use the tool when
need to build it locally.

We don't expect to fall into Docker limitations as that image should be
used in a developer environment.

https://issues.redhat.com/browse/OPCT-191

```
 $ make linux-amd64-container 
podman build -t quay.io/ocp-cert/opct:latest -f hack/Containerfile --build-arg=RELEASE_TAG=0.0.0 .
[1/2] STEP 1/5: FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.19-openshift-4.13 AS builder
Trying to pull registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.19-openshift-4.13...
Error: error creating build container: initializing source docker://registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.19-openshift-4.13: reading manifest rhel-8-golang-1.19-openshift-4.13 in registry.ci.openshift.org/ocp/builder: unauthorized: authentication required
make: *** [Makefile:49: linux-amd64-container] Error 125

```
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. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants