From 38192e3fb77d3ef3af0a4dced7e900cdec9bfa4f Mon Sep 17 00:00:00 2001 From: Anton Iakimov Date: Wed, 10 Jul 2024 11:28:25 +0200 Subject: [PATCH] fix(ci)_: fix rpc tests file permissions --- Makefile | 2 ++ integration-tests/docker-compose.test.status-go.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 0043cfd3a..2fd728c18 100644 --- a/Makefile +++ b/Makefile @@ -490,7 +490,9 @@ build-verif-proxy-wrapper: test-verif-proxy-wrapper: CGO_CFLAGS="$(CGO_CFLAGS)" go test -v github.com/status-im/status-go/rpc -tags gowaku_skip_migrations,nimbus_light_client -run ^TestProxySuite$$ -testify.m TestRun -ldflags $(LDFLAGS) + run-integration-tests: SHELL := /bin/sh +run-integration-tests: export INTEGRATION_TESTS_DOCKER_UID ?= $(shell id -u $$USER) run-integration-tests: docker-compose -f integration-tests/docker-compose.anvil.yml -f integration-tests/docker-compose.test.status-go.yml up -d --build --remove-orphans; \ docker-compose -f integration-tests/docker-compose.anvil.yml -f integration-tests/docker-compose.test.status-go.yml logs -f tests-rpc; \ diff --git a/integration-tests/docker-compose.test.status-go.yml b/integration-tests/docker-compose.test.status-go.yml index dfa3a2115..2cc037267 100644 --- a/integration-tests/docker-compose.test.status-go.yml +++ b/integration-tests/docker-compose.test.status-go.yml @@ -21,6 +21,7 @@ services: retries: 120 tests-rpc: + user: ${INTEGRATION_TESTS_DOCKER_UID} depends_on: status-go: condition: service_healthy