File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 75
75
kind load image-archive cfo.tar --name cluster --verbosity 1000
76
76
make deploy -e IMG="${IMG}" -e ENV="e2e"
77
77
kubectl wait --timeout=120s --for=condition=Available=true deployment -n openshift-operators codeflare-operator-manager
78
+ env :
79
+ # cgroup-manager configuration is required for NVidia image used in e2e PR check
80
+ IMAGE_BUILD_FLAGS : ' --cgroup-manager cgroupfs'
78
81
79
82
- name : Run e2e tests
80
83
run : |
Original file line number Diff line number Diff line change 77
77
78
78
# Image URL to use all building/pushing image targets
79
79
IMG ?= ${IMAGE_TAG_BASE}:${VERSION}
80
+
81
+ # IMAGE_BUILD_FLAGS are the flags passed to the podman operator image build command
82
+ IMAGE_BUILD_FLAGS :=
83
+
80
84
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
81
85
ENVTEST_K8S_VERSION = 1.24.2
82
86
@@ -184,7 +188,7 @@ run: manifests fmt vet ## Run a controller from your host.
184
188
185
189
.PHONY : image-build
186
190
image-build : test-unit # # Build container image with the manager.
187
- podman build -t ${IMG} .
191
+ podman $( IMAGE_BUILD_FLAGS ) build -t ${IMG} .
188
192
189
193
.PHONY : image-push
190
194
image-push : image-build # # Push container image with the manager.
You can’t perform that action at this time.
0 commit comments