Skip to content

Commit

Permalink
Moving (again!!)
Browse files Browse the repository at this point in the history
Realized I put the test key in the wrong service. Moving to see if it could finally work!
  • Loading branch information
nataliejschultz committed Sep 19, 2023
1 parent e61066b commit 8e0c222
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/nominatim-docker-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,13 @@ jobs:
- name: Workflow test
run: echo Smoke test

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

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

- name: Variable2
run: cat emission/integrationTests/.env

- name: Test nominatim
run: TEST_KEY=$TEST_KEY docker-compose -f emission/integrationTests/docker-compose.yml up --exit-code-from web-server
run: docker-compose -f emission/integrationTests/docker-compose.yml up --exit-code-from web-server


2 changes: 1 addition & 1 deletion emission/integrationTests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
- DB_HOST=db
- WEB_SERVER_HOST=0.0.0.0
- NOMINATIM_QUERY_URL=http://rhodeisland-nominatim:8080
- TEST_KEY=$TEST_KEY
volumes:
# specify the host directory where the source code should live
# If this is ~/e-mission-server-docker, then you can edit the files at
Expand Down Expand Up @@ -45,7 +46,6 @@ 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 8e0c222

Please sign in to comment.