Skip to content
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

Add a VM test to make sure the nixos module actually works #16

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

benley
Copy link
Collaborator

@benley benley commented Jan 21, 2025

This is a very simple nixos VM test. All it does is launch tailscale-manager with a single static route, and watches syslog output to make sure it starts up and calls tailscale (in this case a test fixture taking tailscale's place) to add that route, so we can at least be confident that the systemd unit and the app minimally work.

Take a look at the github Checks tab to see what a run looks like.

A blog post I found helpful: https://blakesmith.me/2024/03/02/running-nixos-tests-with-flakes.html

Copy link

@tfly-singlestore tfly-singlestore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@benley benley merged commit ed62b9a into main Jan 21, 2025
5 checks passed
@benley benley deleted the nixos-vm-test branch January 21, 2025 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants