Skip to content

Commit

Permalink
Trying to pass in environment variable
Browse files Browse the repository at this point in the history
It's a stretch but this could potentially be a way to pass in the api key. We will see
  • Loading branch information
nataliejschultz committed Sep 19, 2023
1 parent 8f2c032 commit f29c601
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/nominatim-docker-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ jobs:
run: echo Smoke test

- name: Variable
run: echo "$TEST_KEY"
run: echo "TEST_KEY=$TEST_KEY" > emission/integrationTests/.env

- name: Variable2
run: cat .env


- name: Test nominatim
Expand Down
1 change: 1 addition & 0 deletions emission/integrationTests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ services:
- PBF_URL=https://download.geofabrik.de/north-america/us/rhode-island-latest.osm.pbf
- REPLICATION_URL=https://download.geofabrik.de/north-america/us/rhode-island-updates/
- IMPORT_WIKIPEDIA=false
- TEST_KEY=$TEST_KEY
ports:
- "8080:8080"
# healthcheck currently commented out, since it isn't necessary and keeps going the entire time the container is running.
Expand Down

0 comments on commit f29c601

Please sign in to comment.