aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorArun Isaac2025-03-28 02:14:45 +0000
committerArun Isaac2025-03-28 03:27:01 +0000
commit89014899cff3d48c518295912e373e27911fc4b6 (patch)
treee002d2729278d173a24927acc0978c005e0cdced /doc
parent7519f07374cb7b617aa5efc30619e954fd260499 (diff)
downloadguix-forge-89014899cff3d48c518295912e373e27911fc4b6.tar.gz
guix-forge-89014899cff3d48c518295912e373e27911fc4b6.tar.lz
guix-forge-89014899cff3d48c518295912e373e27911fc4b6.zip
forge: Configure tissue for projects.
* guix/forge/forge.scm (<forge-project>)[tissue?]: New field. (<forge-configuration>)[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)[<forge-configuration>]: Document web-domain. [<forge-project>]: Document tissue?.
Diffstat (limited to 'doc')
-rw-r--r--doc/forge.skb8
1 files changed, 8 insertions, 0 deletions
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" '<forge-configuration>
+ (record-field "web-domain"
+ [Domain name to serve forge on])
(record-field "projects"
[List of ,(record-ref "<forge-project>") 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 "/<name>/") on the ,(record-field-ref
+"<forge-configuration>" "web-domain") configured in ,(record-ref
+"<forge-configuration>").])
(record-field "ci-jobs"
[List of ,(record-ref "<forge-laminar-job>") objects
describing ,(abbr :short "CI" :long "continuous integration") jobs to