Skip to content

Commit

Permalink
feat: test metrics for proxy passing env
Browse files Browse the repository at this point in the history
  • Loading branch information
boodyvo committed Sep 12, 2024
1 parent 461c9fc commit 1e4f891
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci-e2e-no-metrics-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ jobs:
go-version: "1.21"
check-latest: true
cache: false
- name: Set environment variable
run: echo "METRIC_DATABASE_ENABLED=false" >> $GITHUB_ENV
- 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: echo "METRIC_DATABASE_ENABLED=$METRIC_DATABASE_ENABLED" && METRIC_DATABASE_ENABLED=false sudo docker compose -f ci.docker-compose.yml up -d --build proxy redis
run: echo "METRIC_DATABASE_ENABLED=$METRIC_DATABASE_ENABLED" && sudo docker compose -f ci.docker-compose.yml up -d --build proxy redis
env:
METRIC_DATABASE_ENABLED: false
- name: wait for proxy service to be running
Expand Down

0 comments on commit 1e4f891

Please sign in to comment.