Skip to content

Commit

Permalink
Small improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
barroco committed Jul 7, 2023
1 parent 1816a62 commit dbc24e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions monitoring/mock_uss/run_locally_riddp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ AUD=${MOCK_USS_TOKEN_AUDIENCE:-localhost,host.docker.internal}
CONTAINER_NAME=${MOCK_CONTAINER_NAME:-"mock_uss_riddp"}

PORT=${PORT:-8073}
BASE_URL="http://${MOCK_USS_TOKEN_AUDIENCE:-host.docker.internal}:${PORT}"

if [ "$CI" == "true" ]; then
docker_args="--add-host host.docker.internal:host-gateway" # Required to reach other containers in Ubuntu (used for Github Actions)
Expand All @@ -26,6 +27,7 @@ docker container rm -f "${CONTAINER_NAME}" || echo "No pre-existing ${CONTAINER_
docker run ${docker_args} --name "${CONTAINER_NAME}" \
-e MOCK_USS_AUTH_SPEC="${AUTH}" \
-e MOCK_USS_DSS_URL="${DSS}" \
-e MOCK_USS_BASE_URL="${BASE_URL}" \
-e MOCK_USS_PUBLIC_KEY="${PUBLIC_KEY}" \
-e MOCK_USS_TOKEN_AUDIENCE="${AUD}" \
-e MOCK_USS_SERVICES="riddp" \
Expand Down
1 change: 0 additions & 1 deletion monitoring/mock_uss/start_all_local_mocks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ monitoring/mock_uss/run_locally_ridsp_v22a.sh -d
monitoring/mock_uss/run_locally_riddp_v22a.sh -d
monitoring/mock_uss/run_locally_geoawareness.sh -d
monitoring/mock_uss/run_locally_atproxy_client.sh -d
monitoring/mock_uss/run_locally_tracer.sh -d
monitoring/mock_uss/run_locally_tracer_v22a.sh -d
monitoring/mock_uss/wait_for_mock_uss.sh mock_uss_scdsc
monitoring/mock_uss/wait_for_mock_uss.sh mock_uss_ridsp_v22a
Expand Down
2 changes: 1 addition & 1 deletion monitoring/mock_uss/stop_all_local_mocks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ else
fi
cd "${BASEDIR}/../.." || exit 1

docker container rm -f mock_uss_scdsc mock_uss_ridsp mock_uss_ridsp_v22a mock_uss_riddp mock_uss_riddp_v22a mock_uss_geoawareness mock_uss_atproxy_client mock_uss_tracer
docker container rm -f mock_uss_scdsc mock_uss_ridsp_v22a mock_uss_riddp_v22a mock_uss_geoawareness mock_uss_atproxy_client mock_uss_tracer_v22a

0 comments on commit dbc24e0

Please sign in to comment.