diff options
| author | Frederick Muriuki Muriithi | 2026-03-04 13:38:22 -0600 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-03-05 08:49:28 -0600 |
| commit | d2e21ad083af3cf6c2cc718d4e660c486e0ef216 (patch) | |
| tree | ab7b28338c9a4c303791eda22395b7722dd36a86 | |
| parent | 697b89f5bc0a20fd7f6d37a00bd8d722a3dcf4f6 (diff) | |
| download | gn-machines-d2e21ad083af3cf6c2cc718d4e660c486e0ef216.tar.gz | |
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.
| -rwxr-xr-x | production-deploy.sh | 1 | ||||
| -rw-r--r-- | production.scm | 4 |
2 files changed, 4 insertions, 1 deletions
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 |
