Kristoffer Dalby
c39085911f
Add node expiry test
...
This commits adds a test to verify that nodes get updated if a node in
their network expires.
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2023-02-03 09:26:22 +01:00
Kristoffer Dalby
ce587d2421
Update test workflows
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2023-02-01 10:58:37 +01:00
Kristoffer Dalby
da48cf64b3
Set OpenID Connect Expiry
...
This commit adds a default OpenID Connect expiry to 180d to align with
Tailscale SaaS (previously infinite or based on token expiry).
In addition, it adds an option use the expiry time from the Token sent
by the OpenID provider. This will typically cause really short expiry
and you should only turn on this option if you know what you are
desiring.
This fixes #1176 .
Co-authored-by: Even Holthe <even.holthe@bekk.no>
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2023-01-31 18:55:16 +01:00
Kristoffer Dalby
cffa040474
Cancel old builds if new commits appear
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2023-01-30 14:57:10 +01:00
Kristoffer Dalby
727d95b477
Improve generated integration tests
...
- Save logs from control(headscale) on every run to tmp
- Upgrade nix-actions
- Cancel builds if new commit is pushed
- Fix a sorting bug in user command test
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2023-01-30 14:43:03 +01:00
Kristoffer Dalby
81254cdf7a
Limit run regex for generated workflows
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2023-01-06 18:36:31 +01:00
Kristoffer Dalby
7274fdacc6
Generate github action jobs for integration tests
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2023-01-06 12:32:24 +01:00
Kristoffer Dalby
91c1f54b49
Remove "run all v2 job"
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2023-01-06 12:32:24 +01:00
Juan Font
8e8b65bb84
Add ko-fi sponsor button
2022-12-22 17:25:49 +01:00
Kristoffer Dalby
53858a32f1
dont fail docker if nothing to delete
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-12-13 23:13:23 -08:00
Kristoffer Dalby
4453728614
Murder docker container and network before run
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-12-06 08:52:21 +01:00
Kristoffer Dalby
19f12f94c0
Make goreleaser use Nix
...
Eliminate one more place to make sure we use the same go version
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-12-05 10:40:17 +01:00
Kristoffer Dalby
95d3062c21
Add github action updater
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-12-05 10:40:17 +01:00
Juan Font
1d36e1775f
Remove OIDC action
2022-11-21 22:07:27 +01:00
Juan Font
6a311f4ab6
Remove broken renovatebot
2022-11-20 17:19:50 +01:00
Steven Honson
c0884f94b8
Release: tag every release with develop
2022-11-17 16:52:12 +01:00
Steven Honson
3d4af52b3a
Releases: use flavor to set the tag suffix
2022-11-15 11:36:38 +01:00
Juan Font
8cc5b2174b
Remove Alpine Linux container
2022-11-15 08:42:29 +01:00
Kristoffer Dalby
c31328a54a
Fix bitrotted versions in gh ci
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-11-04 10:46:23 +01:00
Kristoffer Dalby
b2c0e37122
Run on correct change
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-11-04 10:35:19 +01:00
Kristoffer Dalby
889223e35f
Add experimental kradalby gh runner
...
Remove old v2 runner in favour of self-hosted
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-11-04 10:35:19 +01:00
Kristoffer Dalby
6e83b7f06b
Give workflows better names
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-11-03 14:59:15 +01:00
Kristoffer Dalby
e45ba37ec5
Remove v1 general integration tests
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-10-28 15:10:30 +02:00
Kristoffer Dalby
2b10226618
Remove extra line
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-10-24 16:48:25 +02:00
Kristoffer Dalby
23a0946e76
Integration, remove retry
...
The retry has no real function as it will just fail on
"container exists" on the old tests and the new test will
just try forever before it eventually fails.
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-10-24 16:46:21 +02:00
Kristoffer Dalby
4cb7d63e8b
Set better names for different integration tests
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-10-18 15:37:11 +02:00
Kristoffer Dalby
2bf50bc205
Add new integration tests to ci
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-10-18 15:37:11 +02:00
Kristoffer Dalby
21dd212349
Split integration tests into seperate jobs
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-10-13 05:50:41 +02:00
Juan Font
6fe86dff00
Merge branch 'main' into remove-sponsorship
2022-09-21 17:47:43 +02:00
Juan Font Alonso
b2f3ffbc5a
Run integration tests in Actions
2022-09-08 19:49:37 +02:00
Juan Font
fc4361b225
Delete FUNDING.yml
2022-09-06 20:09:01 +02:00
Juan Font
ce25a1e64e
Remove sponsor buttons
2022-09-06 20:07:16 +02:00
Juan Font Alonso
ca0be81833
Target the latest version for golint
2022-09-04 11:31:06 +02:00
Juan Font Alonso
84044e236d
Release using go 1.19
2022-09-03 12:21:54 +02:00
Juan Font Alonso
d6fa5c96ae
Update setup action for proto lint
2022-08-09 14:21:45 +02:00
Juan Font Alonso
b01d392f9e
Run integrtation tests in different steps in Github Actions
2022-08-09 12:26:58 +02:00
Juan Font Alonso
0a29492fc5
Increase swap size in integration tests
2022-08-08 23:20:29 +02:00
Kristoffer Dalby
32a6151df9
Rerun integration tests 5 times if error
2022-06-27 12:02:29 +00:00
Leon Lenzen
8d9462147c
chore: use docker-meta version
2022-06-18 12:00:02 +02:00
Leon Lenzen
89b7fa6b06
chore: fix lint
2022-06-18 11:39:27 +02:00
Leon Lenzen
d4a550bb4c
chore: add version to binary in containers
2022-06-18 11:36:09 +02:00
Pavlos Vinieratos
835828fe92
link fix
2022-05-28 20:48:59 +03:00
Adrien Raffin-Caboisse
02ae7a0563
fix: pin version of golangci-lint to match dev config
2022-05-16 14:40:45 +02:00
Adrien Raffin-Caboisse
844ad15109
fix: revert previous commit and add exclusion of linter
2022-05-16 14:29:05 +02:00
Adrien Raffin-Caboisse
0445f404ec
fix: pin version of golangci-lint in GA
2022-05-16 14:12:49 +02:00
Kristoffer Dalby
8f6952acee
Merge branch 'main' into flake-build-env
2022-04-21 09:23:23 +01:00
Kristoffer Dalby
5c285afda5
Merge branch 'main' into flake-build-env
2022-04-21 09:21:10 +01:00
Kristoffer Dalby
dd3f24b83f
Merge branch 'main' into suggest-english
2022-04-12 18:16:39 +01:00
Moritz Poldrack
3d8dc9d2bf
fix discord invite
...
Fixes: https://github.com/juanfont/headscale/issues/533
2022-04-11 19:08:07 +02:00
Juan Font Alonso
0003e30084
Suggest English as lingua franca
2022-04-02 11:45:18 +02:00