-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/buildkite-agent: move to v3 #77950
Merged
Merged
+126
−63
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mrkkrp
reviewed
Jan 17, 2020
nixos/modules/services/continuous-integration/buildkite-agent.nix
Outdated
Show resolved
Hide resolved
mrkkrp
reviewed
Jan 17, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, left a comment.
This still needs release notes, will push them soon.
|
bb00c69
to
6f05f9a
Compare
I adressed the comments, and added the missing release notes. PTAL. |
…ey optional. SSH public keys aren't needed to clone private repos, and if we only need to configure a single attribute, there's no need for the "openssh" attrset anymore.
We were currently just using pkgs.buildkite-agent, no matter what was configured in services.buildkite-agent.package
This improves behaviour when the service is being stopped.
The latest 2.x release was in Jan 2018.
…ng used This gets passed to BUILDKITE_SHELL, which will specify the shell being used to executes script in. Defaults to `${pkgs.bash}/bin/bash -e -c`, matching how buildkite behaves on other distros.
10 tasks
zimbatm
approved these changes
Jan 17, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
nixos/modules/services/continuous-integration/buildkite-agent.nix
Outdated
Show resolved
Hide resolved
This is called tags in the buildkite 3.
23 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
6.topic: nixos
Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
8.has: changelog
8.has: clean-up
8.has: documentation
This PR adds or changes documentation
8.has: module (update)
This PR changes an existing module in `nixos/`
10.rebuild-darwin: 1-10
10.rebuild-linux: 1-10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This contains some of the things #77831 and #68378 (which incorporated things from #59358) aim to fix.
Diff to #77831:
meta-data
andtags
, we only support the one supported by version 3.x of the module (as 2.x is dropped here anyways - its latest release has been in January 2018))cfg.package
having no effect currently is fixed as well.Diff to #68378:
cfg.extraSetup
command, which would run as root, use deprecatedPermissionsStartOnly=yes and requires fixup in preStart was dropped. We still keep
cfg.shell, which sets
BUILDKITE_SHELL`.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)