1
0
mirror of https://github.com/goharbor/harbor.git synced 2024-12-24 09:38:09 +01:00
harbor/make/photon/notary/server-start.sh
Daniel Jiang 1832699e93 Bump up the migrate tool of notary
fixes 
The migrate binary that we include in notary is quite out dated.
Additionally it introduced a breaking change, more details see 

In this commit a go program was added to workaround this issue to ensure the
migration process works, and refined bootstrap scripts and make process accordingly.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-02-21 00:36:24 -08:00

3 lines
182 B
Bash

#!/bin/sh
sudo -E -u \#10000 sh -c "migrate-patch -database='${DB_URL}' && /migrations/migrate.sh && /bin/notary-server -config=/etc/notary/server-config.postgres.json -logf=logfmt"