summaryrefslogtreecommitdiff
path: root/guix/forge
AgeCommit message (Collapse)Author
2023-07-27klaus: Mirror default socket used by gunicorn service.Arun Isaac
* guix/forge/klaus.scm (klaus-gunicorn-app): Change default socket to /var/run/gunicorn/klaus/socket.
2023-07-27gunicorn: Set default socket to Unix socket.Arun Isaac
* guix/forge/gunicorn.scm (<gunicorn-app>): Add this-gunicorn-app self-reference. [sockets]: Make field thunked. Set default to Unix socket.
2023-07-26klaus: Serve klaus on a Unix socket by default.Arun Isaac
* 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.
2023-07-25klaus: Add helper function to create klaus gunicorn app.Arun Isaac
* 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.
2023-07-25gunicorn: Add gunicorn service.Arun Isaac
* guix/forge/gunicorn.scm: New file. * doc/forge.skb (Reference): Document <gunicorn-configuration> and <gunicorn-app>.
2023-07-25klaus: Add python-klaus.Arun Isaac
* 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.
2023-07-25klaus: Add git-without-safe-directory-check.Arun Isaac
* guix/forge/klaus.scm: Import git-minimal from (gnu packages version-control), (guix gexp) and (guix utils). (git-without-safe-directory-check): New variable.
2023-07-22klaus: Add python-httpauth.Arun Isaac
* guix/forge/klaus.scm: New file.
2023-07-08forge: Show verbose build logs in guix-channel-job-gexp.Arun Isaac
* guix/forge/forge.scm (guix-channel-job-gexp): Add #:verbose? argument.
2023-07-05forge: Set TLS certificate paths in guix-channel-job-gexp.Arun Isaac
* guix/forge/forge.scm: Import (guix profiles). (guix-channel-job-gexp): Set TLS certificate paths.
2023-07-05Do not refer to (forge web).Arun Isaac
This reference was accidentally committed in the previous commit. * guix/forge/forge.scm: Do not import (forge web).
2023-07-05forge: Introduce guix-channel-job-gexp.Arun Isaac
* 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.
2023-07-05tissue: Use latest tissue with a patched libgit2.Arun Isaac
* 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.
2023-07-04webhook: Export webhook package.Arun Isaac
* guix/forge/webhook.scm (webhook): Make public.
2023-03-18tissue: Use upstream Guix tissue package.Arun Isaac
* 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.
2023-01-31tissue: Conditionally embed socket directory creation G-expression.Arun Isaac
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.
2023-01-30socket: Replace string-contains? with string-contains.Arun Isaac
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.
2023-01-27tissue: Update to 0.1.0.Arun Isaac
* 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.
2023-01-20tissue: Use latest guile-xapian commit.Arun Isaac
* guix/forge/tissue.scm (guile-xapian-latest): New variable. (tissue)[inputs]: Replace guile-xapian-latest with guile-xapian.
2022-12-20forge: Refactor extension functions into named functions.Arun Isaac
* 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.
2022-10-17webhook: Replace lambda function with define function.Arun Isaac
* guix/forge/webhook.scm (webhook-shepherd-service): Replace lambda function with define function.
2022-10-17webhook: Run as webhook user and group.Arun Isaac
* 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.
2022-10-17webhook: Use least-authority-wrapper.Arun Isaac
* guix/forge/webhook.scm: Import (gnu build linux-container), (gnu system file-systems) and (guix least-authority). (webhook-shepherd-service): Deprecate make-forkexec-constructor/container in favor of least-authority-wrapper.
2022-10-17webhook: Use <forge-*-socket> to configure socket.Arun Isaac
* doc/forge.skb (Reference)[<webhook-configuration>]: Replace ip and port fields with the socket field. * guix/forge/webhook.scm: Import (forge socket). (<webhook-configuration>): Replace ip and port fields with the socket field. (webhook-shepherd-service): Reference the socket field instead of the ip and port fields.
2022-10-17tissue: Use least-authority-wrapper.Arun Isaac
* guix/forge/tissue.scm: Import (gnu build linux-container), (gnu system file-systems) and (guix least-authority). (tissue-shepherd-service): Deprecate make-forkexec-constructor/container in favor of least-authority-wrapper.
2022-09-15Revert "tissue: Set ownership of state directory recursively."Arun Isaac
This reverts commit f6beefdeacb8f1e67844142d73fc3e2de38db254. The ownership of the state directory is set on a per-host basis. The state directory is not owned completely by the tissue user.
2022-09-15tissue: Set ownership of state directory recursively.Arun Isaac
* guix/forge/tissue.scm (tissue-activation): Set ownership of state directory recursively.
2022-07-11tissue: Invoke `tissue web' instead of `tissue run-web'.Arun Isaac
tissue has made a breaking change renaming the run-web subcommand to the web subcommand. * guix/forge/tissue.scm (tissue-shepherd-service): Invoke `tissue web' instead of `tissue run-web'.
2022-07-11tissue: Update to 0.1.0-1.6d6285d.Arun Isaac
* guix/forge/tissue.scm (tissue): Update to 0.1.0-1.6d6285d.
2022-07-06tissue: Use skribilo from upstream git repository.Arun Isaac
The skribilo gemtext reader, originally developed on the fork at git.systemreboot.net, has been merged upstream. So, we should prefer the upstream version. * guix/forge/tissue.scm (skribilo-latest)[source]: Use skribilo from upstream git repository, not the fork at git.systemreboot.net.
2022-07-06tissue: Add tissue service.Arun Isaac
* guix/forge/tissue.scm: New file.
2022-07-05socket: Introduce <forge-*-socket> types.Arun Isaac
<forge-*-socket> will be a universal type to specify IP addresses, ports and Unix sockets across all guix-forge services. * guix/forge/socket.scm: New file. * doc/forge.skb (Reference): Document <forge-ip-socket> and <forge-unix-socket>.
2022-04-09utils: Implement with-packages using with-manifest.Arun Isaac
* guix/forge/utils.scm (profile-with-packages, environment-with-packages): Delete functions. (with-packages): Implement in terms of with-manifest.
2022-04-09utils: Add with-manifest.Arun Isaac
* guix/forge/utils.scm: Import (guix modules). (with-manifest): New function.
2022-04-09forge: Do not try to trigger CI jobs when there are none.Arun Isaac
* guix/forge/forge.scm (ci-jobs-trigger-gexp): Import (ice-9 match). Do not try to trigger CI jobs when there are none to be triggered. (forge-service-type): Do not set up cron jobs and webhooks when there are no CI jobs to be triggered.
2022-03-28forge: Add trigger? field to forge-laminar-job.Arun Isaac
* guix/forge/laminar.scm (<forge-laminar-job>)[trigger?]: New field. * guix/forge/forge.scm (ci-jobs-trigger-gexp): Only trigger jobs for which trigger? is #t. * doc/forge.skb (Reference)[<forge-laminar-job>]: Document trigger?.
2022-03-28laminar: Suffix .run and .after in script names.Arun Isaac
* guix/forge/laminar.scm (forge-laminar-activation): Suffix .run and .after in script names.
2022-03-28webhook: Suffix -webhook in script name.Arun Isaac
* guix/forge/webhook.scm (hooks-json-gexp): Suffix -webhook in script name.
2022-03-28forge: Suffix -cron-job in script name.Arun Isaac
* guix/forge/forge.scm (forge-service-type): Suffix -cron-job in script name.
2022-03-28forge: Suffix -post-receive-hook in script name.Arun Isaac
* guix/forge/forge.scm (forge-activation): Suffix -post-receive-hook in script name.
2022-03-28forge: Import only laminar from (gnu packages ci).Arun Isaac
* guix/forge/forge.scm: Import only laminar from (gnu packages ci).
2022-03-19forge: Change ownership of parent directory of website directory.Arun Isaac
* guix/forge/forge.scm (forge-activation): Change ownership of parent directory of website directory, instead of changing the ownership of the website directory itself. * doc/forge.skb (Reference)[<forge-project>]: Document it.
2022-03-15forge: Fix showing only first commit on shallow cloned repos.Arun Isaac
HEAD~1..HEAD fails on shallow cloned repos. * guix/forge/build/git.scm (download-git-to-store): Use `--max-count 1' instead of HEAD~1..HEAD to show only the first commit.
2022-03-14forge: Allow deep clone on derivation jobs.Arun Isaac
* guix/forge/forge.scm (derivation-job-gexp): Accept #:deep-clone? argument and pass on to latest-git-checkout. * guix/forge/build/git.scm (download-git-to-store): Accept #:deep-clone? argument, and deep clone the git repository if it is #t. Explicitly specify the first commit to `git log' so that only the first commit message is displayed.
2022-03-08forge: Add with-profile utility.Arun Isaac
* guix/forge/build/utils.scm: New file.
2022-03-02Move channel modules into subdirectory.Arun Isaac
We don't want the scm files in doc to be picked up on `guix pull'. * .guix-channel: New file. * forge: Move to guix/forge.