about summary refs log tree commit diff
path: root/nixos/modules/services/continuous-integration
AgeCommit message (Collapse)AuthorFilesLines
2024-04-17Merge pull request #303149 from emilylange/forgejo-test-forgejo-actionsAdam C. Stephens1-0/+2
nixos/tests/forgejo: refactor and test Forgejo Actions workflow, nixos/gitea-actions-runner: set the `$HOME` environment variable
2024-04-13nixos: remove all uses of lib.mdDocstuebinm16-208/+208
these changes were generated with nixq 0.0.2, by running nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix two mentions of the mdDoc function remain in nixos/, both of which are inside of comments. Since lib.mdDoc is already defined as just id, this commit is a no-op as far as Nix (and the built manual) is concerned.
2024-04-10nixos/gitea-actions-runner: set the `$HOME` environment variableemilylange1-0/+2
This fixes an issue where running the official `actions/checkout` action from GitHub on a runner with label `:host`, would fail with incredibly unhelpful error messages. Turns out, this is due to `$HOME` not being set.
2024-03-27initjxd1-1/+2
2024-02-27nixos/hydra: add option for starman workersSandro Jäckel1-3/+31
This is useful for small deployments which do not need 5 spare starman workers taking 160 MB of RAM each.
2024-02-18Merge pull request #287257 from 999eagle/fix/hydra-pg-application-nameArtturi1-1/+1
nixos/hydra: use set-default in hydra-env wrapper package
2024-02-12nixos/hydra: use set-default in hydra-env wrapper packageSophie Tauchert1-1/+1
2024-02-09nixos/github-runners: add a `group` option to set the executing groupVincent Haupert2-1/+33
Similar to the `user` option, the added `group` option sets the group of the executing process. If not `null`, it also sets `DynamicUser=false`. In case `user` is set to `null` (the default), systemd would run the service as root implicitly. As this is dangerous and most certainly not what users want, we force them to set `user = "root"` explicitly if that's really their intention. That's achieved through an assertion.
2024-02-09nixos/github-runners: set `DynamicUser=false` if `user` not `null`Vincent Haupert1-3/+4
2024-02-09nixos/github-runners: align `nodeRuntimes` option with packageVincent Haupert1-1/+1
The `github-runner` package only supports `nodejs_20` since `nodejs_16` was removed in a2976db919afc97b69ce3b7699a1a44ce61bbe5f. It still makes sense to keep the `nodeRuntimes` option as this is probably not the last Node.js we'll deprecate with at least some grace period.
2024-02-09nixos/github-runners: rework `name` defaultVincent Haupert3-531/+497
2024-02-09nixos/github-runner: deprecate module in favor of `github-runners.*`Vincent Haupert2-25/+4
2024-02-09nixos/github-runners: document new runner registrationsVincent Haupert1-0/+4
Make the documentation of the options `workDir` and `ephemeral` reflect that changing these options will trigger a new runner registration.
2024-02-09nixos/github-runners: add `noDefaultLabels` optionVincent Haupert3-2/+30
Add option `noDefaultLabels` which controls the `--no-default-labels` switch passed to the configure script.
2024-02-09nixos/github-runners: remove superfluous usages of `lib`Vincent Haupert1-14/+14
2024-02-03nixos/github-runners: only override pkg if it has a `nodeRuntimes` argVincent Haupert1-1/+2
Older versions of the github-runner package might not have the `nodeRuntimes` argument yet causing an error as the NixOS module always tries to override the argument. The commit makes sure we only override `nodeRuntimes` if the configured package has a `nodeRuntimes` argument.
2024-01-22nixos/buildbot: don't require network-online.targetJörg Thalheim1-2/+1
The daemon setup itself only requires the firewall to be up. Workers will connect itself as they can reach the master instance. That's why we don't need an online target for buildbot to function.
2024-01-20Merge pull request #277514 from gepbird/github-runner-update-docsh7x41-0/+1
github-runner: mention manpage for serviceOverrides option
2024-01-20github-runner: mention manpage for serviceOverrides optionGutyina Gergő1-0/+1
2024-01-19nixos: fix remaining services for network-online dep fixJade Lovelace1-0/+1
2024-01-19nixos: fix a bunch of services missing dep on network-online.targetJade Lovelace1-0/+1
This was done by generating a truly hilarious configuration: rg 'services\.[^.]+\.enable\t' opts-tags | cut -f1 > allonconfig.nix The following were not tested due to other evaluation errors. They should probably be manually audited. services.amule services.castopod services.ceph services.chatgpt-retrieval-plugin services.clamsmtp services.clight services.dante services.dex services.discourse services.dwm-status services.engelsystem services.foundationdb services.frigate services.frp services.grocy services.guacamole-client services.hedgedoc services.home-assistant services.honk services.imaginary services.jitsi-meet services.kerberos_server services.limesurvey services.mastodon services.mediawiki services.mobilizon services.moodle services.mosquitto services.nextcloud services.nullmailer services.patroni services.pfix-srsd services.pgpkeyserver-lite services.postfixadmin services.roundcube services.schleuder services.self-deploy services.slskd services.spacecookie services.statsd services.step-ca services.sympa services.tsmBackup services.vdirsyncer services.vikunja services.yandex-disk services.zabbixWeb
2024-01-18nixos/buildbot: master also wants network-online.targetJade Lovelace1-0/+1
2024-01-05maintainers/teams: add buildbotzowoq2-2/+2
2023-12-21service buildkite-agent: make it possible add groups to agent usersÅsmund Østvold1-1/+7
Only one extra group was add. Some times you want the agents users to be member of other groups like 'docker'. This change make this possible. Co-authored-by: Florian Klink <flokli@flokli.de>
2023-12-13nixos/jenkins: set StateDirectory if home is /var/lib/jenkinsFlorian Klink1-0/+1
This will cause systemd to chown /var/lib/jenkins to the user that the jenkins systemd service runs as, fixing permission issues when mounting /var/lib/jenkins from another data volume. It uses the same logic that garage is using, too, checking for the prefix.
2023-12-04nixos/buildbot: fix worker packagezowoq1-3/+1
2023-11-30treewide: replace `mkPackageOptionMD` with `mkPackageOption`h7x43-4/+4
2023-11-27treewide: use `mkPackageOption`h7x48-55/+12
This commit replaces a lot of usages of `mkOption` with the package type, to be `mkPackageOption`, in order to reduce the amount of code.
2023-11-02nixos/woodpecker-server: fix environmentFile exampleJanik H.1-1/+1
2023-10-31nixos/woodpecker-server: change type of environmentFile to list of pathsJanik H.1-3/+3
2023-10-02nixos/buildbot: allow to prepend importsJörg Thalheim1-0/+8
2023-10-02nixos/buildbot: make configurators configurableJörg Thalheim1-0/+10
2023-09-09Merge pull request #249964 from ambroisie/woodpecker-improvementsJanik1-18/+41
2023-09-09Merge pull request #251302 from Mic92/buildbotLassulus1-1/+7
nixos/buildbot: support reload, buildbot-www-react: init 3.9
2023-09-08nixos/hail: Remove modulenicoo1-61/+0
2023-09-06buildbot: supports reloading configurationJörg Thalheim1-1/+7
buildbot will reload configuration on sighup
2023-08-22nixos/github-runners: add `nodeRuntimes` optionVincent Haupert2-2/+11
2023-08-20nixos/woodpecker-agents: add 'path' optionBruno BELANYI1-1/+22
See #249602.
2023-08-19nixos/woodpecker-agents: use 'literalExample'Bruno BELANYI1-18/+20
The next commit is going to add an option which takes a list of packages. So the example must be converted to make it documentable. This will also allow adding comments, to explain why some options are used.
2023-08-19nixos/woodpecker-agents: fix typos in docBruno BELANYI1-3/+3
The name of the backend is `local`, not `exec`. `environmentFile` is supposed to be a list.
2023-08-19nixos/woodpecker-agents: fix 'podman' exampleBruno BELANYI1-2/+2
The name should match the fact that we're using `podman` instead of `docker`. And the group was wrong.
2023-08-13gitea-actions-runner: restart on failureJörg Thalheim1-0/+5
2023-08-13services.gitea-actions-runner: make ExecStartPre extensibleDavHau1-2/+2
2023-08-13nixos/gitea-actions-runner: settings option to configure daemonJörg Thalheim1-1/+16
2023-07-22Merge pull request #239624 from Stunkymonkey/use-optionalString-thenFelix Bühler1-4/+2
treewide: use optionalString instead of 'then ""'
2023-07-17Merge pull request #236778 from awakesecurity/jsoo1/buildkite-agent-hooksSandro1-161/+100
nixos/buildkite-agents: simplify service definition
2023-07-07Merge pull request #233091 from yayayayaka/add-team-gitlabPol Dellaiera1-0/+2
maintainers/team-list: Add team gitlab
2023-07-02Merge pull request #226684 from srid/patch-8Emily1-16/+11
nixos/jenkins-job-builder: Fix link to documentation, use mkEnableOption
2023-07-02nixos/jenkins-job-builder: Fix link to documentation, use mkEnableOptionSridhar Ratnakumar1-16/+11
Co-Authored-By: emilylange <git@emilylange.de>
2023-06-24treewide: use optionalString instead of 'then ""'Felix Buehler1-4/+2