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 4646 uses : actions/setup-go@v3
4747 with :
4848 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'
4957 - name : Run tests
5058 env :
5159 RELEASE_VERSION : test
5462 PLATFORMS : linux/amd64
5563 INTEL_PLATFORMS : linux/amd64
5664 MPICH_PLATFORMS : linux/amd64
57- run : make test_e2e
65+ USE_EXISTING_CLUSTER : true
66+ run : |
67+ shell : bash
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:
102102 @echo " VERSION: ${RELEASE_VERSION} "
103103 ${IMG_BUILDER} build $(BUILD_ARGS ) --platform $(PLATFORMS ) --build-arg VERSION=${CONTROLLER_VERSION} --build-arg RELEASE_VERSION=${RELEASE_VERSION} -t ${IMAGE_NAME} :${RELEASE_VERSION} .
104104
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+
105111.PHONY : test_images
106112test_images :
107113 ${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