Skip to content

Commit

Permalink
ci: specified kubernetes version in test cluster
Browse files Browse the repository at this point in the history
The latest ubuntu images that are used in the Github actions use the latest Kind version which starts kubernetes v1.23.4 version clusters by default, causing the integrated services v2 test to fail.
  • Loading branch information
akijakya committed Apr 5, 2022
1 parent 3760682 commit 522de87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ test-integration: bin/test/kube-apiserver bin/test/etcd ## Run integration tests
test-integrated-service-up: ## Run integrated service functional tests
@echo "Stopping pipeline development stack if it's already running"
docker-compose stop
if ! kind get kubeconfig --name pipeline-is-test 1>/dev/null; then kind create cluster --name pipeline-is-test --kubeconfig $(HOME)/.kube/kind-pipeline-is-test; fi
if ! kind get kubeconfig --name pipeline-is-test 1>/dev/null; then kind create cluster --image kindest/node:v1.21.1 --name pipeline-is-test --kubeconfig $(HOME)/.kube/kind-pipeline-is-test; fi
mkdir -p .docker/volumes/{mysql,vault/file,vault/keys}
uid=$(shell id -u) gid=$(shell id -g) docker-compose -p pipeline-is-test --project-directory $(PWD) -f $(PWD)/internal/integratedservices/testconfig/docker-compose.yml up -d
@while ! test -f $(HOME)/.vault-token; do echo "waiting for vault root token"; docker ps; docker-compose logs --tail 10; sleep 3; done
Expand Down

0 comments on commit 522de87

Please sign in to comment.