refactor(dbtest): Support new paths for migration files

This updates the docker image used for tests to support the new location
for sql migration files and the concept of editions. It continues to
process the old paths for now if the new directory does not exist, so
that the same image can be used during the transition.
This commit is contained in:
Timothy Messier committed 2021-10-08 06:50:26 -04:00
1 parent 8caaf3e076
commit 2143940a4a
2 files changed
+70 -22

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ database-up:
-e POSTGRES_DB=boundary \
-e PGDATA=/pgdata \
--mount type=tmpfs,destination=/pgdata \
-v "$(CWD)/../../../internal/db/schema/migrations/postgres":/migrations \
-v "$(CWD)/../../../internal/db/schema/migrations":/migrations \
$(IMAGE_TAG) \
-c 'config_file=/etc/postgresql/postgresql.conf' \
$(PG_OPTS) 1> /dev/null