File tree Expand file tree Collapse file tree 2 files changed +10
-21
lines changed Expand file tree Collapse file tree 2 files changed +10
-21
lines changed Original file line number Diff line number Diff line change 11FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.20 AS builder
22WORKDIR /build
33COPY . .
4- RUN make go-build-local
4+ RUN make go-build-local && \
5+ # Build the OLMv1 Test Extension binary.
6+ # This is used by openshift/origin to allow us to register the OLMv1 test extension
7+ # The binary needs to be added in the component image and OCP image
8+ cd openshift/tests-extension && \
9+ make build && \
10+ mkdir -p /tmp/build && \
11+ cp ./bin/olmv1-tests-ext /tmp/build/olmv1-tests-ext && \
12+ gzip -f /tmp/build/olmv1-tests-ext
513
614FROM registry.ci.openshift.org/ocp/4.20:base-rhel9
715USER 1001
816COPY --from=builder /build/bin/operator-controller /operator-controller
17+ COPY --from=builder /tmp/build/olmv1-tests-ext.gz /usr/bin/olmv1-tests-ext.gz
918COPY openshift/operator-controller/cp-manifests /cp-manifests
1019COPY openshift/operator-controller/manifests /openshift/manifests
1120COPY openshift/operator-controller/manifests-experimental /openshift/manifests-experimental
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments