harbor/make
Daniel Jiang c9b1962b1e Initialise Harbor DB schema in Harbor UI/adminserver container
This commit fixes #5040, the harbor-db image will only contain empty
databases, and harbor ui container will use migrate tool to run initial
SQL scripts to do initialization.  This is helpful for the case to
configure Harbor against external DB or DBaaS like RDS for HA deployment
However, this change will results some confusion as there are two tables
to track schema versions have been using alembic for migration, for this
release we'll try to use alembic to mock a `migration` table during
upgrade so the migrator will be bypassed, in future we'll consider to
consolidate to the golang based migrator.
Another issue is that the UI and adminserver containers will access DB
after start up in different congurations, can't ensure the sequence, so
both of them will try to update the schema when started up.
2018-06-28 16:22:53 +08:00
..
common/templates Fully migrate harbor db to postgresql (#4689) 2018-04-27 02:27:12 -07:00
dev Initialise Harbor DB schema in Harbor UI/adminserver container 2018-06-28 16:22:53 +08:00
ha Update HA tempalte 2018-04-13 11:12:48 +08:00
kubernetes Replace Nginx-Proxy with Ingress 2017-11-27 09:25:24 +08:00
migrations/postgresql Initialise Harbor DB schema in Harbor UI/adminserver container 2018-06-28 16:22:53 +08:00
photon Initialise Harbor DB schema in Harbor UI/adminserver container 2018-06-28 16:22:53 +08:00
checkenv.sh update for fix #925 2016-10-24 16:51:42 +08:00
docker-compose.clair.tpl Fully migrate harbor db to postgresql (#4689) 2018-04-27 02:27:12 -07:00
docker-compose.notary.tpl Fully migrate harbor db to postgresql (#4689) 2018-04-27 02:27:12 -07:00
docker-compose.tpl Collect log of redis 2018-04-30 18:16:11 +08:00
harbor.cfg Fully migrate harbor db to postgresql (#4689) 2018-04-27 02:27:12 -07:00
install.sh Enable Clair in HA 2017-12-21 23:23:35 +08:00
prepare Fix failure of running prepare with python3 2018-06-13 18:17:00 +08:00
pushimage.sh use $REGISTRY instead of $4 (#3103) 2017-08-22 18:24:34 +08:00