1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-12-24 20:04:53 +01:00
juanfont.headscale/cmd/hi
Kristoffer Dalby c4600346f9
.github/workflows: prebuilt integration test artifacts (#2954)
This PR restructures the integration tests and prebuilds all common assets used in all tests:

Headscale and Tailscale HEAD image
hi binary that is used to run tests
go cache is warmed up for compilation of the test
This essentially means we spend 6-10 minutes building assets before any tests starts, when that is done, all tests can just sprint through.

It looks like we are saving 3-9 minutes per test, and since we are limited to running max 20 concurrent tests across the repo, that means we had a lot of double work.

There is currently 113 checks, so we have to do five runs of 20, and the saving should be quite noticeable! I think the "worst case" saving would be 20+min and "best case" probably towards an hour.
2025-12-12 23:01:52 +01:00
..
cleanup.go golangci-lint: use forbidigo to block time.Sleep (#2946) 2025-12-10 16:45:59 +00:00
docker.go .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
doctor.go mapper: produce map before poll (#2628) 2025-07-28 11:15:53 +02:00
main.go cmd/hi: add integration test runner CLI tool (#2648) 2025-06-18 11:22:15 +02:00
README.md cmd/hi: improve test cleanup to reduce CI disk usage (#2881) 2025-11-28 16:59:54 +01:00
run.go cmd/hi: reject if we are already running (#2919) 2025-12-01 19:40:08 +01:00
stats.go cmd/hi: lint and format 2025-09-09 09:40:00 +02:00

hi

hi (headscale integration runner) is an entirely "vibe coded" wrapper around our integration test suite. It essentially runs the docker commands for you with some added benefits of extracting resources like logs and databases.