Commit graph

13 commits

Author SHA1 Message Date
Eugen a6e99525ac Add log_level to config, more ACL debug log 2021-12-01 20:02:00 +01:00
Eugen 7e95b3501d Ignoe derp.yaml, don't panic in Serve() 2021-12-01 19:32:47 +01:00
Kristoffer Dalby e836db1ead Add config.yaml to gitignore 2021-10-22 16:51:19 +00:00
ohdearaugustin 1e93347a26
Merge branch 'main' into topic/docker-release 2021-09-12 18:18:34 +02:00
ohdearaugustin 3b97c7bdec gitignore: add jetbrains 2021-09-12 18:08:43 +02:00
Kristoffer Dalby 1f422af1c8
Save headscale logs if jobs fail 2021-08-20 16:50:55 +01:00
Kristoffer Dalby 4e077b053c Initial work, add integration tests
This commit adds integration tests to headscale. They are currently
quite simple, but it lays the groundwork for more comprehensive testing
and ensuring we dont break things with the official tailscale client.

The test works by leveraging Docker (via dockertest) to spin up a
Headscale container, and a number of tailscale containers (10).

Each tailscale container is joined to the headscale and then "passed on"
to the tests.

Currently three tests have been implemented:

- Have all tailscale containers join headscale (in the setup process)
- Get IP from each container (I plan to extend this with cross-ping)
- List nodes with headscales CLI and verify all has been registered

This test depends on Docker, and currently, I have not looked into
hooking it into Github Actions.
2021-08-08 17:50:32 +01:00
Juan Font Alonso 0b8d4a24ae minor update to gitignore 2021-05-15 14:36:56 +02:00
Juan Font Alonso 7d52842a4c Fixed gitignore 2021-02-21 01:31:50 +01:00
Juan Font Alonso ff7db34b5e Fixed gitignore 2021-02-20 23:58:02 +01:00
Juan Font Alonso 8187085e39 Added missing cmd 2020-06-21 12:33:43 +02:00
Juan Font Alonso 7198c8bd77 Initial commit 2020-06-21 12:32:08 +02:00
Juan Font 8077923b68
Initial commit 2020-06-21 11:21:07 +02:00