File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 46
46
uses : actions/setup-go@v3
47
47
with :
48
48
go-version-file : go.mod
49
+ - name : Setup Minikube Cluster
50
+ uses : medyagh/setup-minikube@latest
51
+ with :
52
+ driver : none
53
+ kubernetes-version : ${{ matrix.kubernetes-version }}
54
+ minikube-version : ' 1.33.1'
55
+ wait : ' all'
56
+ start-args : ' --wait-timeout=120s'
49
57
- name : Run tests
50
58
env :
51
59
RELEASE_VERSION : test
54
62
PLATFORMS : linux/amd64
55
63
INTEL_PLATFORMS : linux/amd64
56
64
MPICH_PLATFORMS : linux/amd64
57
- run : make test_e2e
65
+ USE_EXISTING_CLUSTER : true
66
+ shell : bash
67
+ run : |
68
+ make ci_test_images
69
+ make test_e2e -o test_images -o kind
Original file line number Diff line number Diff line change @@ -102,6 +102,12 @@ images:
102
102
@echo " VERSION: ${RELEASE_VERSION} "
103
103
${IMG_BUILDER} build $(BUILD_ARGS ) --platform $(PLATFORMS ) --build-arg VERSION=${CONTROLLER_VERSION} --build-arg RELEASE_VERSION=${RELEASE_VERSION} -t ${IMAGE_NAME} :${RELEASE_VERSION} .
104
104
105
+ .PHONY : ci_test_images
106
+ ci_test_images : test_images
107
+ minikube image load ${REGISTRY} /mpi-pi:${RELEASE_VERSION} -openmpi
108
+ minikube image load ${REGISTRY} /mpi-pi:${RELEASE_VERSION} -intel
109
+ minikube image load ${REGISTRY} /mpi-pi:${RELEASE_VERSION} -mpich
110
+
105
111
.PHONY : test_images
106
112
test_images :
107
113
${IMG_BUILDER} build $(BUILD_ARGS ) --platform $(PLATFORMS ) --build-arg port=${BASE_IMAGE_SSH_PORT} -t ${REGISTRY} /base:${RELEASE_VERSION} build/base
You can’t perform that action at this time.
0 commit comments