-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OPCT-191: Build and publish the CLI image to registry (#51)
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
- Loading branch information
Showing
5 changed files
with
52 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.19-openshift-4.13 AS builder | ||
ARG RELEASE_TAG | ||
WORKDIR /go/src/github.com/redhat-openshift-ecosystem/provider-certification-tool | ||
COPY . . | ||
RUN make linux-amd64 RELEASE_TAG=${RELEASE_TAG} | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.7-1085.1679482090 | ||
LABEL io.k8s.display-name="OPCT" \ | ||
io.k8s.description="OpenShift/OKD Conformance Tool is designed to run conformance suites to validate custom installations." \ | ||
io.opct.tags="opct,conformance,openshift,tests,e2e" \ | ||
io.opct.os="linux" io.opct.arch="amd64" | ||
|
||
COPY --from=builder \ | ||
/go/src/github.com/redhat-openshift-ecosystem/provider-certification-tool/openshift-provider-cert-linux-amd64 \ | ||
/usr/bin/ | ||
|
||
CMD ["/usr/bin/openshift-provider-cert-linux-amd64"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.7-1085.1679482090 | ||
LABEL io.k8s.display-name="OPCT" \ | ||
io.k8s.description="OpenShift/OKD Conformance Tool is designed to run conformance suites to validate custom installations." \ | ||
io.opct.tags="opct,conformance,openshift,tests,e2e" \ | ||
io.opct.os="linux" io.opct.arch="amd64" | ||
|
||
COPY ./openshift-provider-cert-linux-amd64 /usr/bin/ | ||
|
||
CMD ["/usr/bin/opct"] |