mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
fix missing env variables in dev.sh
GitOrigin-RevId: ceeb73d304d2c2026081d5fbc7c68116a2628cb0
This commit is contained in:
parent
c82d4de0cb
commit
78abc5423a
@ -413,6 +413,11 @@ elif [ "$MODE" = "test" ]; then
|
||||
echo_pretty "Starting graphql-engine, logging to $GRAPHQL_ENGINE_TEST_LOG"
|
||||
export HASURA_GRAPHQL_SERVER_PORT=8088
|
||||
|
||||
# Extra sources for multi-source tests. Uses the default postgres DB if no extra sources
|
||||
# are defined.
|
||||
export HASURA_GRAPHQL_PG_SOURCE_URL_1=${HASURA_GRAPHQL_PG_SOURCE_URL_1-$PG_DB_URL}
|
||||
export HASURA_GRAPHQL_PG_SOURCE_URL_2=${HASURA_GRAPHQL_PG_SOURCE_URL_2-$PG_DB_URL}
|
||||
|
||||
# Using --metadata-database-url flag to test multiple backends
|
||||
cabal new-run --project-file=cabal.project.dev-sh -- exe:graphql-engine \
|
||||
--metadata-database-url="$PG_DB_URL" serve --stringify-numeric-types \
|
||||
|
Loading…
Reference in New Issue
Block a user