summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2021-07-31 19:23:46 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2021-07-31 19:23:46 +0900
commit6caebdd7a6d8703e4db6461e6ce390bf40c314f3 (patch)
treea77f8dfe56bf3abb71b22f08cfce69da030f8117
parent1b617a4be0545f91a437db8dc90c583527c67f1c (diff)
git: Add CI settings.
-rw-r--r--git/config.scm12
1 files changed, 9 insertions, 3 deletions
diff --git a/git/config.scm b/git/config.scm
index 6cf7c12..cb7bc5c 100644
--- a/git/config.scm
+++ b/git/config.scm
@@ -16,7 +16,7 @@
(use-modules (gnu)
(gnu packages version-control))
-(use-service-modules networking ssh web version-control cgit)
+(use-service-modules networking ssh web version-control cgit ci)
(operating-system
(locale "ja_JP.utf8")
@@ -40,7 +40,8 @@
(packages
(append
(list (specification->package "nss-certs")
- (specification->package "git"))
+ (specification->package "git")
+ (specification->package "laminar"))
%base-packages))
(services
(append
@@ -56,7 +57,12 @@
(service cgit-service-type
(cgit-configuration
(repository-sort "age")
- (enable-http-clone? #f)))
+ (enable-http-clone? #f)
+ (readme ":README.md")
+ (about-filter (file-append cgit "/lib/cgit/filters/about-formatting.sh"))))
+ (service laminar-service-type
+ (laminar-configuration
+ (title "CI for git.tojo.tokyo")))
(service httpd-service-type
(httpd-configuration
(config