aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2023-08-10 18:26:37 +0100
committerArun Isaac2023-08-10 19:06:30 +0100
commita881630ed133c740127b9f74682119e60d09badd (patch)
treeeaa02350bd2f905835963ddfdf9dd16a23e477f7
parent73c238f6c77d40572aa6382e5c3fc1dcea88531b (diff)
downloadgn-machines-a881630ed133c740127b9f74682119e60d09badd.tar.gz
Set up cgit service.
* genenetwork-development.scm: Import (forge cgit). (operating-system)[services]: Add cgit service. * genenetwork-development-deploy.sh: Expose cgit repository directory.
-rwxr-xr-xgenenetwork-development-deploy.sh1
-rw-r--r--genenetwork-development.scm5
2 files changed, 6 insertions, 0 deletions
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")