aboutsummaryrefslogtreecommitdiff
path: root/genenetwork-development-deploy.sh
diff options
context:
space:
mode:
authorArun Isaac2022-12-22 10:23:22 +0000
committerArun Isaac2022-12-22 10:27:22 +0000
commit47e0d51c9498c82f2639a03b5cf988b5904688fb (patch)
tree56c15b3a03de57c93e983f87ae0faafbe6755137 /genenetwork-development-deploy.sh
parentdc20709ace1f15c3bf5e6cfda07f4d86ac0d97a9 (diff)
downloadgn-machines-47e0d51c9498c82f2639a03b5cf988b5904688fb.tar.gz
Build and install xapian index nightly.
* genenetwork-development.scm: Import (gnu services mcron). (%xapian-directory): New variable. (build-xapian-index-gexp): New function. (genenetwork-projects): Add genenetwork3-build-xapian-index CI job to genenetwork3 project. (operating-system)[sudoers-file]: Allow laminar user to start and stop genenetwork3. [services]: Add mcron service to trigger nightly xapian build. Use %xapian-directory instead of its literal value. chown %xapian-directory to the laminar user.
Diffstat (limited to 'genenetwork-development-deploy.sh')
-rwxr-xr-xgenenetwork-development-deploy.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/genenetwork-development-deploy.sh b/genenetwork-development-deploy.sh
index ac5acd5..93d5987 100755
--- a/genenetwork-development-deploy.sh
+++ b/genenetwork-development-deploy.sh
@@ -29,7 +29,8 @@ container_script=$(guix system container --network \
--share=/export2/guix-containers/genenetwork-development/var/lib/tissue=/var/lib/tissue \
--share=/export2/guix-containers/genenetwork-development/var/lib/virtuoso=/var/lib/virtuoso \
--share=/export2/guix-containers/genenetwork-development/var/log/cd=/var/log/cd \
- --expose=/export/data/genenetwork \
+ --expose=/export/data/genenetwork/genotype_files \
+ --share=/export/data/genenetwork/xapian \
--share=/export/genenetwork-database-dump \
--share=/var/run/mysqld/mysqld.sock=/run/mysqld/mysqld.sock \
genenetwork-development.scm)