aboutsummaryrefslogtreecommitdiff
path: root/guix/forge
AgeCommit message (Expand)Author
2024-01-09laminar: Export forge-laminar-configuration-groups.•••* guix/forge/laminar.scm: Export forge-laminar-configuration-groups. Arun Isaac
2024-01-09laminar: Allow creation of job contexts.•••* guix/forge/laminar.scm (<forge-laminar-configuration>)[contexts]: New field. * guix/forge/laminar.scm (<forge-laminar-context>): New record type. (laminar-contexts): New function. (forge-laminar-activation): Configure contexts in configuration directory. (forge-laminar-service-type): Allow extension with contexts. Arun Isaac
2024-01-09laminar: Use switch-symlinks, instead of delete-file and symlink.•••* guix/forge/laminar.scm (forge-laminar-activation): Use switch-symlinks, instead of delete-file and symlink. Arun Isaac
2024-01-09laminar: Remove unused SRFI-26 import.•••* guix/forge/laminar.scm (forge-laminar-activation): Remove unused SRFI-26 import. Arun Isaac
2024-01-09laminar: Move groups and jobs constructors into separate functions.•••* guix/forge/laminar.scm (laminar-groups, laminar-jobs): New functions. (forge-laminar-activation): Use laminar-groups and laminar-jobs. Arun Isaac
2024-01-08gunicorn: Support worker timeout parameter.•••* guix/forge/gunicorn.scm (<gunicorn-app>)[timeout]: New field. * guix/forge/gunicorn.scm (gunicorn-shepherd-services): Pass --timeout parameter. * doc/forge.skb (Reference)[Specialized application deployment services]{gunicorn service}<gunicorn-app>: Document timeout field. Arun Isaac
2023-12-22gunicorn: Provision app-specific symbol.•••Provisioning the 'gunicorn symbol is problematic when there are multiple gunicorn apps running. * guix/forge/gunicorn.scm (gunicorn-shepherd-services): Provision app-specific symbol. Arun Isaac
2023-12-22gunicorn: Use python, not python-minimal, to construct app profile.•••* guix/forge/gunicorn.scm: Import python instead of python-minimal. (gunicorn-shepherd-services): Use python, not python-minimal, to construct app profile. Arun Isaac
2023-12-22fcgiwrap: Use <environment-variable> records.•••* guix/forge/fcgiwrap.scm: Import (forge environment). (fcgiwrap-shepherd-services): Use <environment-variable> record. * doc/forge.skb (Services)[Specialized application deployment services]{fcgiwrap service}: Document it. * guix/forge/cgit.scm: Import (forge environment). (cgit-fcgiwrap-instance): Use <environment-variable> record. Arun Isaac
2023-12-22gunicorn: Use <environment-variable> records.•••* guix/forge/gunicorn.scm: Import (forge environment). (gunicorn-shepherd-services): Use <environment-variable> record. * doc/forge.skb (Services)[Specialized application deployment services]{gunicorn service}: Document it. * guix/forge/klaus.scm: Import (forge environment). (klaus-gunicorn-app): Use <environment-variable> record. Arun Isaac
2023-12-22environment: Introduce record type for environment variables.•••* guix/forge/environment.scm: New file. * doc/forge.skb (Reference)[<environment-variable>]: Document it. Arun Isaac
2023-12-20klaus: Make klaus package a configurable keyword argument.•••* guix/forge/klaus.scm (klaus-gunicorn-app): Make klaus package a configurable keyword argument. Arun Isaac
2023-12-19forge: Allow building specific variables in channels.•••* guix/forge/forge.scm (<variable-specification>): New type. (guix-channel-job-gexp): Accept #:variables argument specifying what to build. Arun Isaac
2023-12-19tissue: Explain permissions set on the tissue state directory.•••* guix/forge/tissue.scm (tissue-activation): Explains permissions set on the tissue state directory. Arun Isaac
2023-12-19acme: Combine deploy hooks into a file-like object, not a raw G-exp.•••* guix/forge/acme.scm (acme-service-type): Combine deploy hooks into a file-like object, not a raw G-expression. Arun Isaac
2023-10-04forge: Set repository ownership only when user field is set.•••* guix/forge/forge.scm (forge-activation): Set repository ownership only when user field is set. Arun Isaac
2023-09-18acme: Import (ice-9 match) in acme-renew G-expression.•••* guix/forge/acme.scm (acme-renew): Import (ice-9 match) in G-expression. Arun Isaac
2023-08-12cgit: Render org mode README files.•••* guix/forge/cgit.scm: Import emacs-minimal from (gnu packages emacs). (%cgit-readme): Add README.org. (about-filter-gexp): Render org mode README files. * guix/forge/org2html.el: New file. * doc/forge.skb (Services)[Git web viewers]{cgit service}: Document support for org mode README files. Arun Isaac
2023-08-10forge: Import specific modules, not all of (gnu).•••* guix/forge/forge.scm: Import (gnu services) and (guix gexp) instead of (gnu). Arun Isaac
2023-08-09gunicorn: Support <forge-host-socket> sockets.•••* guix/forge/gunicorn.scm (socket->gunicorn-bind): Support <forge-host-socket> sockets. * doc/forge.skb (Reference): Document it. Arun Isaac
2023-08-09cgit: Add cgit service.•••* guix/forge/cgit.scm: New file. * doc/forge.skb (Services)[Git web viewers]: New section. Arun Isaac
2023-08-09fcgiwrap: Add fcgiwrap service.•••* guix/forge/fcgiwrap.scm: New file. * doc/forge.skb (Services)[Specialized application deployment services]: New section. Arun Isaac
2023-08-09nginx: Add forge-nginx service.•••* guix/forge/nginx.scm, doc/snippets/acme-restart-nginx-sudoers.scm: New files. * doc/forge.skb (Services)[forge nginx service]: Document the forge-nginx service. Arun Isaac
2023-08-09acme: Add ACME service.•••* guix/forge/acme.scm: Import shadow from (gnu packages admin), nss-certs from (gnu packages certs), (gnu services), (gnu services mcron), (gnu system shadow), (guix diagnostics), (guix i18n), (guix profiles), (guix records), (srfi srfi-1) and (ice-9 match). (%letsencrypt-production-url, %letsencrypt-staging-url): New variables. (<acme-configuration>, <acme-rsa-key>, <acme-ecdsa-key>, <acme-certificate>): New record types. (acme-http-01-webroot-authorization-hook, acme-http-01-webroot-cleanup-hook): New public functions. (acme-key-length, uacme-hook, acme-activation, acme-renew, acme-helper, acme-helper-sudo-wrapper, acme-special-files, acme-cron-job, raise-to-top): New functions. (%acme-accounts, acme-service-type): New variables. * doc/forge.skb (Services)[ACME service]: New section. Arun Isaac
2023-08-09acme: Add uacme.•••* guix/forge/acme.scm: New file. Arun Isaac
2023-08-08socket: Introduce <forge-host-socket>.•••* guix/forge/socket.scm (<forge-host-socket>): New record type. * doc/forge.skb (Reference): Document <forge-host-socket>. Arun Isaac
2023-07-28gunicorn: Squeeze adjacent strings together.•••* guix/forge/gunicorn.scm (socket->gunicorn-bind): Squeeze adjacent strings "]" and ":" into one. Arun Isaac
2023-07-28gunicorn: Mention app name in shepherd service documentation.•••* guix/forge/gunicorn.scm (gunicorn-shepherd-services): Mention app name in documentation field. Arun Isaac
2023-07-27klaus: Mirror default socket used by gunicorn service.•••* guix/forge/klaus.scm (klaus-gunicorn-app): Change default socket to /var/run/gunicorn/klaus/socket. Arun Isaac
2023-07-27gunicorn: Set default socket to Unix socket.•••* guix/forge/gunicorn.scm (<gunicorn-app>): Add this-gunicorn-app self-reference. [sockets]: Make field thunked. Set default to Unix socket. Arun Isaac
2023-07-26klaus: Serve klaus on a Unix socket by default.•••* guix/forge/klaus.scm: Import (forge socket). (klaus-gunicorn-app): Make sockets a keyword argument with a singleton list of Unix sockets as the default. Arun Isaac
2023-07-25klaus: Add helper function to create klaus gunicorn app.•••* guix/forge/klaus.scm: Import (forge gunicorn) and (gnu system file-systems). (klaus-gunicorn-app): New public function. * doc/forge.skb (Introduction): Advertise klaus support. (Reference): Document klaus-gunicorn-app. Arun Isaac
2023-07-25gunicorn: Add gunicorn service.•••* guix/forge/gunicorn.scm: New file. * doc/forge.skb (Reference): Document <gunicorn-configuration> and <gunicorn-app>. Arun Isaac
2023-07-25klaus: Add python-klaus.•••* guix/forge/klaus.scm: Import python-pytest from (gnu packages check); python-flask and python-werkzeug from (gnu packages python-web); python-dulwich, python-humanize and python-pygments from (gnu packages python-xyz). (python-klaus): New variable. Arun Isaac
2023-07-25klaus: Add git-without-safe-directory-check.•••* guix/forge/klaus.scm: Import git-minimal from (gnu packages version-control), (guix gexp) and (guix utils). (git-without-safe-directory-check): New variable. Arun Isaac
2023-07-22klaus: Add python-httpauth.•••* guix/forge/klaus.scm: New file. Arun Isaac
2023-07-08forge: Show verbose build logs in guix-channel-job-gexp.•••* guix/forge/forge.scm (guix-channel-job-gexp): Add #:verbose? argument. Arun Isaac
2023-07-05forge: Set TLS certificate paths in guix-channel-job-gexp.•••* guix/forge/forge.scm: Import (guix profiles). (guix-channel-job-gexp): Set TLS certificate paths. Arun Isaac
2023-07-05Do not refer to (forge web).•••This reference was accidentally committed in the previous commit. * guix/forge/forge.scm: Do not import (forge web). Arun Isaac
2023-07-05forge: Introduce guix-channel-job-gexp.•••* guix/forge/forge.scm: Import guile-bytestructures from (gnu packages guile), guix from (gnu packages package-management), (guix channels), guile-git from (forge guile-git), (forge tissue) and (forge web). (guix-channel-job-gexp): New public function. Arun Isaac
2023-07-05tissue: Use latest tissue with a patched libgit2.•••* guix/forge/guile-git.scm: New file. * guix/forge/tissue.scm: Import guile-git from (forge guile-git), (guix git-download) and (guix packages). Import tissue with a guix: prefix. (tissue): New public variable. Arun Isaac
2023-07-04webhook: Export webhook package.•••* guix/forge/webhook.scm (webhook): Make public. Arun Isaac
2023-03-18tissue: Use upstream Guix tissue package.•••* guix/forge/tissue.scm: Do not import (gnu packages autotools), (gnu packages compression), (gnu packages gettext), (gnu packages guile), (gnu packages guile-xyz), (gnu packages skribilo), (guix build-system gnu), (guix download), (guix git-download), (guix licenses) and (guix packages). (skribilo-latest, guile-xapian-latest, tissue): Delete variables. Arun Isaac
2023-01-31tissue: Conditionally embed socket directory creation G-expression.•••Prior to this, when an IP socket was used, we would be running forge-unix-socket-path on it and thus erroring out. * guix/forge/tissue.scm (tissue-activation): Do not embed the socket directory creation G-expression unless the socket is a Unix socket. Arun Isaac
2023-01-30socket: Replace string-contains? with string-contains.•••There is no string-contains? function. Ironically string-contains? is indeed the better name since it is a predicate. * guix/forge/socket.scm (ipv4-address?, ipv6-address?): Replace string-contains? with string-contains. Arun Isaac
2023-01-27tissue: Update to 0.1.0.•••* guix/forge/tissue.scm: Import lzip from (gnu packages compression). Import (guix download). (tissue): Update to 0.1.0. [source]: Use url-fetch. [native-inputs]: Add lzip. Arun Isaac
2023-01-20tissue: Use latest guile-xapian commit.•••* guix/forge/tissue.scm (guile-xapian-latest): New variable. (tissue)[inputs]: Replace guile-xapian-latest with guile-xapian. Arun Isaac
2022-12-20forge: Refactor extension functions into named functions.•••* guix/forge/forge.scm (forge-service-type): Refactor lambda functions into ... (forge-ci-jobs, forge-ci-job-groups, forge-ci-jobs-and-groups, forge-cron-jobs, forge-webhooks): ... new functions. Arun Isaac
2022-10-17webhook: Replace lambda function with define function.•••* guix/forge/webhook.scm (webhook-shepherd-service): Replace lambda function with define function. Arun Isaac
2022-10-17webhook: Run as webhook user and group.•••* guix/forge/webhook.scm (%webhook-accounts): New variable. (webhook-activation): chown log directory to webhook user and group. (webhook-shepherd-service): Run as webhook user and group. (webhook-service-type): Extend account-service-type. Arun Isaac