feat(whitby): Add buildkite agents to docker group

I'd like to be able to run extra CI steps that include running docker
containers (to integration test things like webapps that connect to a
database). To do this the buildkite agents themselves need permission to
do docker things.

Change-Id: I3c9a488708f0e12a508754ac41f04148ca7aedac
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4408
Tested-by: BuildkiteCI
Autosubmit: grfn <grfn@gws.fyi>
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
Griffin Smith 2021-12-18 21:35:48 -05:00 committed by clbot
parent 23397763a7
commit 7f593781f3

View file

@ -63,7 +63,7 @@ in {
value = {
isSystemUser = true;
group = lib.mkForce "buildkite-agents";
extraGroups = [ name ];
extraGroups = [ name "docker" ];
};
}) agents);
};