HomeSoftware Heritage

Migrate relevant services to the split `swh db create` / `swh db init`

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Migrate relevant services to the split swh db create / swh db init

Since swh.core 0.3.0, the database creation (superuser) and database
initialization (user) operations have been split for databases managed using raw
SQL.

  • Override the postgresql containers for these services to avoid creating an

empty database.

  • Add an entry for the template1 database to .pgpass so other containers can

connect to it

  • extend wait_pgsql to take a database name as first argument

Details

Provenance
olasdAuthored on Sep 23 2020, 7:15 PM
olasdPushed on Sep 24 2020, 4:10 PM
Differential Revision
D4024: Docker: Migrate relevant services to the split `swh db create` / `swh db init`

Commit No Longer Exists

This commit no longer exists in the repository.