File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -45,3 +45,8 @@ test-experimental-e2e: ## Run the experimental e2e tests.
4545 $(DIR ) /operator-controller/build-test-registry.sh $(E2E_REGISTRY_NAMESPACE ) $(E2E_REGISTRY_NAME ) $(E2E_REGISTRY_IMAGE )
4646 cd $(DIR ) /../; \
4747 go test $(DOWNSTREAM_EXPERIMENTAL_E2E_FLAGS ) ./test/experimental-e2e/...;
48+
49+ export GIT_COMMIT := ${SOURCE_GIT_COMMIT}
50+ PHONY : go-build-local
51+ go-build-local :
52+ $(MAKE ) -n -f Makefile go-build-local
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.20 AS
33ENV GIT_COMMIT=${SOURCE_GIT_COMMIT}
44WORKDIR /build
55COPY . .
6- RUN make go-build-local
6+ RUN make -f openshift/Makefile go-build-local
77
88FROM registry.ci.openshift.org/ocp/4.20:base-rhel9
99USER 1001
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.20 AS
33ENV GIT_COMMIT=${SOURCE_GIT_COMMIT}
44WORKDIR /build
55COPY . .
6- RUN make go-build-local && \
6+ RUN make -f openshift/Makefile go-build-local && \
77 # Build the OLMv1 Test Extension binary.
88 # This is used by openshift/origin to allow us to register the OLMv1 test extension
99 # The binary needs to be added in the component image and OCP image
You can’t perform that action at this time.
0 commit comments