Skip to content

Commit 74a4b80

Browse files
sutaakaropenshift-merge-bot[bot]
authored andcommitted
Create Makefile command to generate test images for distributed-workloads
1 parent 008c01c commit 74a4b80

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Image tag for image containing e2e tests
2+
E2E_TEST_IMAGE_VERSION ?= latest
3+
E2E_TEST_IMAGE ?= quay.io/opendatahub/distributed-workloads-tests:${E2E_TEST_IMAGE_VERSION}
14

25
.PHONY: setup-kueue
36
setup-kueue: ## Set up Kueue for e2e tests.
@@ -34,3 +37,7 @@ imports: openshift-goimports ## Organize imports in go files using openshift-goi
3437
.PHONY: verify-imports
3538
verify-imports: openshift-goimports ## Run import verifications.
3639
./hack/verify-imports.sh $(OPENSHIFT-GOIMPORTS)
40+
41+
.PHONY: build-test-image
42+
build-test-image:
43+
podman build -f images/tests/Dockerfile -t ${E2E_TEST_IMAGE} .

images/tests/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use the official Go image as a base image
2-
FROM golang:1.21
2+
FROM golang:1.23
33

44
ENV KUBECONFIG=/distributed-workloads/tests/.kube/config
55

0 commit comments

Comments
 (0)