verbose logging during migration job

This commit is contained in:
finn 2022-05-17 17:51:56 -07:00
parent 95f8f79171
commit cc730d7498

View file

@ -35,6 +35,8 @@ test sqlite to postgres:
- echo 'CREATE DATABASE signald' | psql -h postgres -U postgres -a - echo 'CREATE DATABASE signald' | psql -h postgres -U postgres -a
- "${CI_PROJECT_DIR}/signaldctl db-move postgresql://postgres@postgres/signald?sslmode=disable" - "${CI_PROJECT_DIR}/signaldctl db-move postgresql://postgres@postgres/signald?sslmode=disable"
- SIGNALD_DATABASE_URI=postgresql://postgres@postgres/signald?sslmode=disable signald --migrate-data - SIGNALD_DATABASE_URI=postgresql://postgres@postgres/signald?sslmode=disable signald --migrate-data
variables:
SIGNALD_VERBOSE_LOGGING: "true"
services: services:
- name: postgres:latest - name: postgres:latest
alias: postgres alias: postgres