Closed dkijania closed 1 week ago
Added new dhall Command definition which can simplify running tests which requires postgres database running along with some initial script.
Usage:
in Dhall test definition
RunWithPostgres.runInDockerWithPostgresConn ([] : List Text) "./src/test/archive/sample_db/archive_db.sql" Artifacts.Type.Archive "./buildkite/scripts/replayer-test.sh"
where
There are 4 env variables passed to the docker, so script can use them for connection:
"PG_PORT","POSTGRES_USER,"POSTGRES_PASSWORD","POSTGRES_DB","PG_CONN"
!ci-build-me
Added new dhall Command definition which can simplify running tests which requires postgres database running along with some initial script.
Usage:
in Dhall test definition
where
There are 4 env variables passed to the docker, so script can use them for connection: