From a881630ed133c740127b9f74682119e60d09badd Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 10 Aug 2023 18:26:37 +0100 Subject: Set up cgit service. * genenetwork-development.scm: Import (forge cgit). (operating-system)[services]: Add cgit service. * genenetwork-development-deploy.sh: Expose cgit repository directory. --- genenetwork-development-deploy.sh | 1 + genenetwork-development.scm | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/genenetwork-development-deploy.sh b/genenetwork-development-deploy.sh index 2c90a52..673550d 100755 --- a/genenetwork-development-deploy.sh +++ b/genenetwork-development-deploy.sh @@ -27,6 +27,7 @@ container_script=$(guix system container --network \ --verbosity=3 \ --load-path=. \ + --expose=/home/git/public \ --share=/var/guix/daemon-socket=/var/host-guix/daemon-socket \ --share=/export2/guix-containers/genenetwork-development/var/lib/acme=/var/lib/acme \ --share=/export2/guix-containers/genenetwork-development/var/lib/laminar=/var/lib/laminar \ diff --git a/genenetwork-development.scm b/genenetwork-development.scm index 4165746..33870b2 100644 --- a/genenetwork-development.scm +++ b/genenetwork-development.scm @@ -64,6 +64,7 @@ (guix store) (guix utils) (forge acme) + (forge cgit) (forge forge) (forge laminar) (forge nginx) @@ -1024,6 +1025,10 @@ tissue." dump-genenetwork-database-project gn-gemtext-threads-project guix-bioinformatics-project)))) + (service cgit-service-type + (cgit-configuration + (server-name "git.genenetwork.org") + (repository-directory "/home/git/public"))) (service laminar-service-type (laminar-configuration (title "GeneNetwork CI") -- cgit v1.2.3