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 1
1
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.20 AS builder
2
2
WORKDIR /build
3
3
COPY . .
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
5
13
6
14
FROM registry.ci.openshift.org/ocp/4.20:base-rhel9
7
15
USER 1001
8
16
COPY --from=builder /build/bin/operator-controller /operator-controller
17
+ COPY --from=builder /tmp/build/olmv1-tests-ext.gz /usr/bin/olmv1-tests-ext.gz
9
18
COPY openshift/operator-controller/cp-manifests /cp-manifests
10
19
COPY openshift/operator-controller/manifests /openshift/manifests
11
20
COPY 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