about summary refs log tree commit diff
path: root/nixos/modules/services/continuous-integration/jenkins/slave.nix
AgeCommit message (Collapse)AuthorFilesLines
2024-04-13nixos: remove all uses of lib.mdDocstuebinm1-4/+4
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.
2023-11-27treewide: use `mkPackageOption`h7x41-8/+1
This commit replaces a lot of usages of `mkOption` with the package type, to be `mkPackageOption`, in order to reduce the amount of code.
2022-07-30treewide: automatically md-convert option descriptionspennae1-5/+5
the conversion procedure is simple: - find all things that look like options, ie calls to either `mkOption` or `lib.mkOption` that take an attrset. remember the attrset as the option - for all options, find a `description` attribute who's value is not a call to `mdDoc` or `lib.mdDoc` - textually convert the entire value of the attribute to MD with a few simple regexes (the set from mdize-module.sh) - if the change produced a change in the manual output, discard - if the change kept the manual unchanged, add some text to the description to make sure we've actually found an option. if the manual changes this time, keep the converted description this procedure converts 80% of nixos options to markdown. around 2000 options remain to be inspected, but most of those fail the "does not change the manual output check": currently the MD conversion process does not faithfully convert docbook tags like <code> and <package>, so any option using such tags will not be converted at all.
2022-04-01nixos/jenkinsSlave: install javaP. R. d. O1-1/+15
Installs Java into the Jenkins agent and allows specifying the JDK/JRE package to use. This is necessary as Jenkins verifies if the agent contains Java installed through the java -fullversion command, which if not, the connection will fail.
2020-01-12nixos/jenkins/slave: fix evalworldofpeace1-1/+1
2020-01-06treewide: use attrs instead of list for types.loaOf optionsrnhmjoj1-10/+10
2018-07-20[bot] nixos/*: remove unused arguments in lambdasvolth1-1/+1
2018-06-30nixos/modules: users.(extraUsers|extraGroup->users|group)Florian Klink1-2/+2
2014-09-09nixos/jenkins: remove use of types.string (it's deprecated)Bjørn Forsman1-3/+3
2014-04-14Rewrite ‘with pkgs.lib’ -> ‘with lib’Eelco Dolstra1-2/+2
Using pkgs.lib on the spine of module evaluation is problematic because the pkgs argument depends on the result of module evaluation. To prevent an infinite recursion, pkgs and some of the modules are evaluated twice, which is inefficient. Using ‘with lib’ prevents this problem.
2014-04-09nixos/jenkins-service: fix 'group' option documentationBjørn Forsman1-1/+2
Both for master and slave.
2014-03-13remove users.jenkins config start on slave config.Corey O'Connor1-0/+67
Uses standard NixOS user config merging. Work in progress: The slave config does not actually start the slave agent. This just configures a jenkins user if required. Bare minimum to enable a nice jenkins SSH slave.