apparently signald image must be run from /
This commit is contained in:
parent
74a1fafd46
commit
fe5382d6bf
1 changed files with 3 additions and 2 deletions
|
@ -28,11 +28,12 @@ test sqlite to postgres:
|
|||
needs:
|
||||
- "build:x86"
|
||||
before_script:
|
||||
- sudo apt-get update && sudo apt-get install -y postgresql-client-common
|
||||
- apt-get update && apt-get install -y postgresql-client-common
|
||||
script:
|
||||
- cd /
|
||||
- signald --migrate-data
|
||||
- echo 'CREATE DATABASE signald' | psql -h postgres -U postgres -a
|
||||
- ./signaldctl db-move postgresql://postgres@postgres/signald
|
||||
- "${CI_PROJECT_DIR}/signaldctl db-move postgresql://postgres@postgres/signald"
|
||||
- SIGNALD_DATABASE_URI=postgresql://postgres@postgres/signald signald --migrate-data
|
||||
services:
|
||||
- postgres:latest
|
||||
|
|
Loading…
Reference in a new issue