-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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/teleport: init + tests #153825
nixos/teleport: init + tests #153825
Conversation
79c8023
to
cffd645
Compare
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.
Please following contributing guidelines:
- (Module addition) Added a release notes entry if adding a new NixOS module
Aside from that LGTM 👍
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 👍
Will defer to @pennae for final approval and merge. Thanks!
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.
the test should be listed in nixos/tests/all-tests.nix
and maybe added to the teleport package as a passthru (see eg dhcpcd for inspiration on how that works), otherwise LGTM
@aanderse we can't merge anything, will have to defer right back to you 😅 |
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.
I know nothing about teleport
, but I know a bit about writing NixOS tests.
As @pennae said, you should also add this to all-tests.nix
decf485
to
32842cc
Compare
Thanks everyone for your help! 🙏🏻 Appreciate your reviews. Squashed all commits and tried to process all your comments 🙂 |
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 regarding the test.
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.
looking great :)
32842cc
to
d1938fc
Compare
Separated test into 2 independent to make it resource efficient and parallel as it was suggested by @Synthetica9 and added |
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.
looking good! just one more thing that could actually be important.
6d506a7
to
0d91301
Compare
5c437eb
to
47dc5bf
Compare
@pennae I did some deeper digging and got rid of |
@ymatsiuk awesome! 👍 preferring the config file over command line options is a very good move. |
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.
just a little syntax error in an example, otherwise looks done :)
Co-authored-by: pennae <[email protected]>
Thanks everyone! |
Motivation for this change
Add teleport module and tests
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes