From d2e21ad083af3cf6c2cc718d4e660c486e0ef216 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 4 Mar 2026 13:38:22 -0600 Subject: production: `operating-system': Update gn-guile/gn-docs configs Expose the appropriate host directory to the container in read-write mode to enable the container make appropriate changes to the files. Tell the `operating-system' where to find the identity file and update the git configs to enable semi-automatic synchronisation of changes. --- production-deploy.sh | 1 + production.scm | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/production-deploy.sh b/production-deploy.sh index 8fb3d36..793fd34 100755 --- a/production-deploy.sh +++ b/production-deploy.sh @@ -46,6 +46,7 @@ container_script=$(guix system container \ --share=/export/guix-containers/genenetwork/var/lib/genenetwork/uploader=/var/lib/genenetwork/uploader \ --share=/export/guix-containers/genenetwork/var/lib/genenetwork/sqlite/gn-uploader=/var/lib/genenetwork/sqlite/gn-uploader \ --share=/export/guix-containers/genenetwork/var/lib/genenetwork/gn-guile=/var/lib/genenetwork/gn-guile \ + --share=/export/guix-containers/genenetwork/var/lib/genenetwork/gn-guile/ssh=/opt/home/gn-guile/.ssh \ production.scm) echo $container_script diff --git a/production.scm b/production.scm index 6339b66..18a4839 100644 --- a/production.scm +++ b/production.scm @@ -88,7 +88,9 @@ (llm-db-path "/var/lib/genenetwork/sqlite/genenetwork3/llm.db") (gn3-alias-server-port 9800) (gn-tmpdir "/opt/gn/tmp") - (gn-doc-git-checkout "/var/lib/genenetwork/gn-guile/gn-docs.git") + (gn-doc-git-checkout "git@git.genenetwork.org:/home/git/public/gn-docs") + (gn-docs-working-branch "gn2-production-branch") + (gn-guile-ssh-identity-file "/opt/home/gn-guile/.ssh/id-ed25519-gn2-production-on-tux04") (log-level 'debug))) (service gn-uploader-service-type (gn-uploader-configuration -- cgit 1.4.1