From 2000144ad600b7e3535cd9ecf6944827b6ed836d Mon Sep 17 00:00:00 2001 From: Natalie Schultz <90212258+nataliejschultz@users.noreply.github.com> Date: Tue, 24 Oct 2023 10:23:19 -0600 Subject: [PATCH] Secret issues echoing the secret to see if it's being pulled at all --- .github/workflows/nominatim-docker-test.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nominatim-docker-test.yml b/.github/workflows/nominatim-docker-test.yml index db70f6565..f5ae99c02 100644 --- a/.github/workflows/nominatim-docker-test.yml +++ b/.github/workflows/nominatim-docker-test.yml @@ -3,11 +3,11 @@ name: nominatim-docker-test # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch on: - # workflow_call: - # secrets: - # DOCKER_USER: - # description: "Docker user known working secret test" - # required: true + workflow_call: + secrets: + DOCKER_USER: + description: "Docker user known working secret test" + required: true push: paths: - 'emission/integrationTests/docker-compose.yml' @@ -41,6 +41,9 @@ jobs: - name: Workflow test run: echo Smoke test + - name: Secret test + run: echo $GEOFABRIK_API + # Passes the geofabrik key into the docker-compose.yml file. - name: Test nominatim.py run: GFBK_KEY=$GEOFABRIK_API docker-compose -f emission/integrationTests/docker-compose.yml up --exit-code-from web-server