Skip to content

Commit

Permalink
merge(#3612): fixed integrated service tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akijakya authored Apr 6, 2022
2 parents 4c62713 + 522de87 commit 73d5a14
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/is-test-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.cache/go-build
key: ${{ runner.os }}-go-build-${{ hashFiles('**/*.go', '**/go.mod', '**/go.sum') }}
key: ${{ runner.os }}-go-build-${{ hashFiles('*.go', 'go.mod', 'go.sum') }}
restore-keys: |
${{ runner.os }}-go-build-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/is-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.cache/go-build
key: ${{ runner.os }}-go-build-${{ hashFiles('**/*.go', '**/go.mod', '**/go.sum') }}
key: ${{ runner.os }}-go-build-${{ hashFiles('*.go', 'go.mod', 'go.sum') }}
restore-keys: |
${{ runner.os }}-go-build-
Expand Down
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
8 changes: 4 additions & 4 deletions internal/integratedservices/testconfig/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
- 127.0.0.1:3306:3306

vault:
image: vault:1.4.2
image: vault:1.6.1
command: server
cap_add:
- IPC_LOCK
Expand All @@ -31,7 +31,7 @@ services:

vault-unsealer:
user: "${uid}:${gid}"
image: banzaicloud/bank-vaults:1.7.0
image: banzaicloud/bank-vaults:1.10.0
depends_on:
- vault
restart: on-failure
Expand All @@ -44,7 +44,7 @@ services:

vault-configurer:
user: "${uid}:${gid}"
image: banzaicloud/bank-vaults:1.7.0
image: banzaicloud/bank-vaults:1.10.0
depends_on:
- vault
- vault-unsealer
Expand All @@ -69,7 +69,7 @@ services:
- ./.docker/volumes/vault/keys:/vault/keys

cadence:
image: ubercadence/server:0.13.0-auto-setup
image: ubercadence/server:0.22.1-auto-setup
environment:
LOG_LEVEL: debug,info
DB: mysql
Expand Down

0 comments on commit 73d5a14

Please sign in to comment.