From a37ea53401fa7e87c286ace44117637085d86ac1 Mon Sep 17 00:00:00 2001 From: Vladyslav Budichenko Date: Thu, 12 Sep 2024 15:51:10 -0400 Subject: [PATCH] feat: update env passing for no metrics ci --- .github/workflows/ci-e2e-no-metrics-tests.yml | 4 +--- ci.docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-e2e-no-metrics-tests.yml b/.github/workflows/ci-e2e-no-metrics-tests.yml index 9f5a2eb..0194db1 100644 --- a/.github/workflows/ci-e2e-no-metrics-tests.yml +++ b/.github/workflows/ci-e2e-no-metrics-tests.yml @@ -17,9 +17,7 @@ jobs: - name: pull pre-built images run: sudo docker compose -f ci.docker-compose.yml pull - name: build and start proxy service and it's dependencies - run: sudo docker compose -f ci.docker-compose.yml up -d --build proxy redis - env: - METRIC_DATABASE_ENABLED: false + run: METRIC_DATABASE_ENABLED=false sudo docker compose -f ci.docker-compose.yml up -d --build proxy redis - name: wait for proxy service to be running run: bash ${GITHUB_WORKSPACE}/scripts/wait-for-proxy-service-running.sh env: diff --git a/ci.docker-compose.yml b/ci.docker-compose.yml index 42a6c4f..4c01c07 100644 --- a/ci.docker-compose.yml +++ b/ci.docker-compose.yml @@ -32,7 +32,7 @@ services: # fake the shards by defining shards with existing backends PROXY_SHARD_BACKEND_HOST_URL_MAP: localhost:7777>10|https://evmrpcdata.internal.testnet.proxy.kava.io|20|https://evmrpcdata.internal.testnet.proxy.kava.io EVM_QUERY_SERVICE_URL: https://evmrpc.internal.testnet.proxy.kava.io - METRIC_DATABASE_ENABLED: ${METRIC_DATABASE_ENABLED} + METRIC_DATABASE_ENABLED: "${METRIC_DATABASE_ENABLED}" ports: - "${PROXY_HOST_PORT}:${PROXY_CONTAINER_PORT}" - "${TEST_UNCONFIGURED_PROXY_PORT}:${PROXY_CONTAINER_PORT}"