nixpkgs/nixos/modules/services/continuous-integration
Florian Klink 0daae2e08c nixos/buildkite: drop user option (#78160)
* nixos/buildkite: drop user option

This reverts 8c6b1c3eaa.

Turns out, buildkite-agent has logic to write .ssh/known_hosts files and
only really works when $HOME and the user homedir are in sync.

On top of that, we provision ssh keys in /var/lib/buildkite-agent, which
doesn't work if that other users' homedir points elsewhere (we can cheat
by setting $HOME, but then getent and $HOME provide conflicting
results).

So after all, it's better to only run the system-wide buildkite agent as
the "buildkite-agent" user only - if one wants to run buildkite as
different users, systemd user services might be a better fit.

* nixosTests.buildkite-agent: add node with separate user and no ssh key
2020-01-21 13:21:57 +00:00
..
buildbot nixos/buildbot: fix eval 2020-01-08 10:06:08 -05:00
gocd-agent treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
gocd-server treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
hydra Merge pull request #77669 from basvandijk/hydra-sync-buildMachinesFiles-with-upstream 2020-01-15 09:39:25 +01:00
jenkins nixos/jenkins/slave: fix eval 2020-01-12 15:17:05 -05:00
buildkite-agent.nix nixos/buildkite: drop user option (#78160) 2020-01-21 13:21:57 +00:00
gitlab-runner.nix nixos/gitlab-runner: add missing HOME to environment (#67450) 2019-08-28 20:27:28 +00:00
hail.nix