diff options
author | Frederick Muriuki Muriithi | 2023-04-27 12:56:14 +0300 |
---|---|---|
committer | Arun Isaac | 2023-05-05 20:38:53 +0100 |
commit | 2d648a1934d3c9f3861fba5f15482911af535aad (patch) | |
tree | 9ede343862c38f7ab25186c5d17bba3d160f02bc /genenetwork/development-helper.scm | |
parent | bc52bc93696e2d2f1e82d1b8ca5bc997493d87cb (diff) | |
download | gn-machines-2d648a1934d3c9f3861fba5f15482911af535aad.tar.gz |
Run migrations after tests and before restarting genenetwork3.
Add a CI job that applies the auth database migrations. This job is
run after the genenetwork3 tests have passed but before genenetwork3
is restarted.
* genenetwork-development-deploy.sh: Share
/export/data/genenetwork-sqlite.
* genenetwork-development.scm: Import yoyo-migrations from (gnu
packages databases).
(<genenetwork-configuration>)[auth-db-path]: New field.
(genenetwork3-auth-migrations-genenetwork,
genenetwork3-auth-migrations-laminar, genenetwork-activation): New
functions.
(genenetwork-projects): Add genenetwork3-auth-migrations CI
job. Trigger this job after genenetwork3 tests.
(genenetwork3-cd-gexp): Configure AUTH_DB_PATH in gn3.conf.
(genenetwork-service-type): Extend activation-service-type with
genenetwork-activation.
(operating-system)[sudoers-file]: Permit the laminar user to run auth
database migrations as the genenetwork user.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
Diffstat (limited to 'genenetwork/development-helper.scm')
0 files changed, 0 insertions, 0 deletions