diff options
author | Pjotr Prins | 2025-01-27 00:02:39 -0600 |
---|---|---|
committer | Pjotr Prins | 2025-01-27 01:49:44 -0600 |
commit | 3a5d1a7ce484079dc6340f3acb3cde3032ba2114 (patch) | |
tree | 899a7c9d1c56b704c7f0d11839f071e1c0bb38c1 /topics/systems | |
parent | 12d363181d7ff4720e59ff5eae0224621ca505ca (diff) | |
download | gn-gemtext-3a5d1a7ce484079dc6340f3acb3cde3032ba2114.tar.gz |
On CI-CD an example
Diffstat (limited to 'topics/systems')
-rw-r--r-- | topics/systems/ci-cd.gmi | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/topics/systems/ci-cd.gmi b/topics/systems/ci-cd.gmi index 27269a4..a1ff2e3 100644 --- a/topics/systems/ci-cd.gmi +++ b/topics/systems/ci-cd.gmi @@ -109,6 +109,30 @@ To trigger CI manually, run this with the project name: curl https://ci.genenetwork.org/hooks/example-gn3 ``` +For gemtext we have a github hook that adds a forge-project and looks like + +```lisp +(define gn-gemtext-threads-project + (forge-project + (name "gn-gemtext-threads") + (repository "https://github.com/genenetwork/gn-gemtext-threads/") + (ci-jobs (list (forge-laminar-job + (name "gn-gemtext-threads") + (run (with-packages (list nss-certs openssl) + (with-imported-modules '((guix build utils)) + #~(begin + (use-modules (guix build utils)) + + (setenv "LC_ALL" "en_US.UTF-8") + (invoke #$(file-append tissue "/bin/tissue") + "pull" "issues.genenetwork.org")))))))) + (ci-jobs-trigger 'webhook))) +``` + +Guix forge can be found at + +=> https://git.systemreboot.net/guix-forge/ + ### git.genenetwork.org hooks TBD |