File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
.github/actions/smoke-tests Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 52
52
- name : Deploy Kubernetes
53
53
id : k8s
54
54
run : |
55
- make -f tests/Makefile create-kind-cluster K8S_CLUSTER_NAME=${{ github.run_id }} K8S_CLUSTER_VERSION=${{ inputs.k8s-version }} K8S_TIMEOUT=${{ inputs.k8s-timeout }}
55
+ make -f tests/Makefile create-kind-cluster K8S_CLUSTER_NAME=${{ github.run_id }} K8S_CLUSTER_VERSION=v ${{ inputs.k8s-version }} K8S_TIMEOUT=${{ inputs.k8s-timeout }}
56
56
make -f tests/Makefile image-load REGISTRY="" PREFIX=${{ inputs.image-name }} TAG=${{ inputs.tag }} K8S_CLUSTER_NAME=${{ github.run_id }}
57
57
label="${{ inputs.label }}"
58
58
nospaces="${label// /_}"
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ run-tests-in-kind: ## Run tests in Kind
123
123
create-kind-cluster : $(KIND_KUBE_CONFIG_FOLDER ) # # Create a Kind K8S cluster
124
124
@kind create cluster \
125
125
--name $(K8S_CLUSTER_NAME ) \
126
- --image=kindest/node:v $(K8S_CLUSTER_VERSION ) \
126
+ --image=kindest/node:$(K8S_CLUSTER_VERSION ) \
127
127
--config=<( sed ' s/dual/${IP_FAMILY}/' $( ROOT_DIR) /tests/ci-files/ci-kind-config.yaml) \
128
128
--wait $(K8S_TIMEOUT )
129
129
@kind get kubeconfig --name $(K8S_CLUSTER_NAME ) --internal > $(KIND_KUBE_CONFIG_FOLDER ) /config
@@ -164,7 +164,7 @@ run-tests-in-minikube: ## Run tests in Minikube
164
164
165
165
.PHONY : create-mini-cluster
166
166
create-mini-cluster : $(MINIKUBE_KUBE_CONFIG_FOLDER ) # # Create a Minikube K8S cluster
167
- @minikube start --kubernetes-version=v $(K8S_CLUSTER_VERSION ) \
167
+ @minikube start --kubernetes-version=$(K8S_CLUSTER_VERSION ) \
168
168
&& KUBECONFIG=$(MINIKUBE_KUBE_CONFIG_FOLDER ) /config minikube update-context \
169
169
&& KUBECONFIG=$(MINIKUBE_KUBE_CONFIG_FOLDER ) /config kubectl config set-cluster minikube --server=https://minikube:8443
170
170
You can’t perform that action at this time.
0 commit comments