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 -configtest commandline flag #100

Merged
merged 1 commit into from
Mar 17, 2025
Merged

Add a -configtest commandline flag #100

merged 1 commit into from
Mar 17, 2025

Conversation

antifuchs
Copy link
Contributor

@antifuchs antifuchs commented Mar 17, 2025

This PR adds a flag that has hoopsnake attempt to authenticate to the tailscale service, register a node and bring up SSH service on it. This should ultimately allow a pre-run sanity check for people deploying a hoopsnake config to servers, giving us all confidence that the machine will be able to boot next time.

@antifuchs antifuchs force-pushed the push-rusykqtokros branch 2 times, most recently from 92c1f4a to 831ed64 Compare March 17, 2025 16:52
@antifuchs antifuchs enabled auto-merge March 17, 2025 16:55
@antifuchs antifuchs added this pull request to the merge queue Mar 17, 2025
github-merge-queue bot pushed a commit that referenced this pull request Mar 17, 2025
Add a -configtest commandline flag
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 17, 2025
We're doing exactly the same thing in the line below, but without a timeout (and the timeout gets hit in CI often, due to slowness of the runners).


Add a -configtest commandline flag

It's scary rebooting into an initrd where hoopsnake might not be able to come up / mint an authkey. This lays the foundation for checking if HS can work on configuration rollouts.
@antifuchs antifuchs added this pull request to the merge queue Mar 17, 2025
Merged via the queue into main with commit bedaf4b Mar 17, 2025
10 checks passed
@antifuchs antifuchs deleted the push-rusykqtokros branch March 17, 2025 19:04
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.

None yet

1 participant