diff --git a/continuous_integration/scripts/start_postgres.sh b/continuous_integration/scripts/start_postgres.sh index 6d4a5a24d..6a130c098 100755 --- a/continuous_integration/scripts/start_postgres.sh +++ b/continuous_integration/scripts/start_postgres.sh @@ -1,5 +1,8 @@ #!/bin/bash set -e -docker run -d --rm --name tiled-test-postgres -p 5432:5432 -e POSTGRES_PASSWORD=secret -d docker.io/postgres +# Try and get the latest postgres test data from the tiled-example-database repository +wget https://github.com/bluesky/tiled-example-database/releases/latest/download/tiled_test_db_pg.sql + +docker run -d --rm --name tiled-test-postgres -p 5432:5432 -e POSTGRES_PASSWORD=secret -v tiled_test_db_pg.sql:/docker-entrypoint-initdb.d/tiled_test_db_pg.sql -d docker.io/postgres docker ps