From 89014899cff3d48c518295912e373e27911fc4b6 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 28 Mar 2025 02:14:45 +0000 Subject: forge: Configure tissue for projects. * guix/forge/forge.scm ()[tissue?]: New field. ()[web-domain]: New field. (forge-nginx-server-blocks): Do not serve website conventionally if tissue is enabled. (forge-tissue-host): New function. (forge-service-type): Extend tissue-service-type. Do not set up a default value. * doc/forge.skb (Reference)[]: Document web-domain. []: Document tissue?. --- doc/forge.skb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc/forge.skb') diff --git a/doc/forge.skb b/doc/forge.skb index 4134e70..6e20a67 100644 --- a/doc/forge.skb +++ b/doc/forge.skb @@ -516,6 +516,8 @@ gunicorn is run in])))))) (record-field "value" [Its value])) (record-documentation "guix/forge/forge.scm" ' + (record-field "web-domain" + [Domain name to serve forge on]) (record-field "projects" [List of ,(record-ref "") objects describing projects managed by guix-forge])) @@ -541,6 +543,12 @@ ownership of its parent directory is granted to the ,(code "laminar") user. The idea is that the website is built by a Guix derivation as a store item and a symbolic link to that store item is created in the parent directory.]) + (record-field "tissue?" + [Does this project use ,(ref :url +"https://forge.systemreboot.net/tissue/" :text "tissue")? If so, it +will be served at ,(samp "//") on the ,(record-field-ref +"" "web-domain") configured in ,(record-ref +"").]) (record-field "ci-jobs" [List of ,(record-ref "") objects describing ,(abbr :short "CI" :long "continuous integration") jobs to -- cgit v1.2.3