From e242eccb0b79c26af6a6e8bcefc0468e0450c8ab Mon Sep 17 00:00:00 2001 From: Yorick van Pelt Date: Fri, 24 Jan 2020 19:31:33 +0100 Subject: nixos/buildkite-agents: update release notes --- nixos/doc/manual/release-notes/rl-2003.xml | 16 ++++++++++------ .../services/continuous-integration/buildkite-agents.nix | 2 +- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2003.xml b/nixos/doc/manual/release-notes/rl-2003.xml index eac50b705a8..403109f6628 100644 --- a/nixos/doc/manual/release-notes/rl-2003.xml +++ b/nixos/doc/manual/release-notes/rl-2003.xml @@ -440,15 +440,19 @@ users.users.me = - The Buildkite Agent - module and corresponding packages have been updated to 3.x. - While doing so, the following options have been changed: + The Buildkite + Agent module and corresponding packages have been updated to + 3.x, and to support multiple instances of the agent running at the + same time. This means you will have to rename + services.buildkite-agent to + services.buildkite-agents.<name>. Furthermore, + the following options have been changed: services.buildkite-agent.meta-data has been renamed to - services.buildkite-agent.tags, + services.buildkite-agents.<name>.tags, to match upstreams naming for 3.x. Its type has also changed - it now accepts an attrset of strings. @@ -464,13 +468,13 @@ users.users.me = services.buildkite-agent.openssh.privateKeyPath has been renamed to - buildkite-agent.privateSshKeyPath, + buildkite-agents.<name>.privateSshKeyPath, as the whole openssh now only contained that single option. - services.buildkite-agent.shell + services.buildkite-agents.<name>.shell has been introduced, allowing to specify a custom shell to be used. diff --git a/nixos/modules/services/continuous-integration/buildkite-agents.nix b/nixos/modules/services/continuous-integration/buildkite-agents.nix index e6a637e9c02..fbda2731bbf 100644 --- a/nixos/modules/services/continuous-integration/buildkite-agents.nix +++ b/nixos/modules/services/continuous-integration/buildkite-agents.nix @@ -267,6 +267,6 @@ in ]); imports = [ - (mkRemovedOptionModule [ "services" "buildkite-agent"] "services.buildkite-agent has been moved to an attribute set at services.buildkite-agents") + (mkRemovedOptionModule [ "services" "buildkite-agent"] "services.buildkite-agent has been upgraded from version 2 to version 3 and moved to an attribute set at services.buildkite-agents. Please consult the 20.03 release notes for more information.") ]; } -- cgit 1.4.1