Juan Font
03accae98c
Added tests for subnet failover
2022-11-25 13:34:56 +00:00
Juan Font
b376f58e0e
Added method to perform subnet failover
2022-11-25 13:34:51 +00:00
Juan Font
940dbc7706
Use helper methods in Machine
2022-11-25 13:34:46 +00:00
Juan Font
3da872bb30
Mark as primary the first instance of subnet + tests
...
In preparation for subnet failover, mark the initial occurrence of a subnet as the primary one.
2022-11-25 13:34:42 +00:00
Juan Font
d71b802d81
Port routes tests to new model
2022-11-25 13:34:37 +00:00
Juan Font
1dcc98fcbb
Remove EnabledRoutes from Machine and refactor to adapt to it
2022-11-25 13:34:33 +00:00
Juan Font
ee9e64e57b
Call processMachineRoutes when a new Map is received
2022-11-25 13:34:29 +00:00
Juan Font
552f4bf19b
Cleanup route.go and add helper methods to process HostInfo
2022-11-25 13:34:24 +00:00
Juan Font
f4519cecf5
Add migration from Machine.EnabledRoutes to the new Route table
2022-11-25 13:34:13 +00:00
Juan Font
e88ff0f7d9
Add Route DB model
2022-11-23 18:50:30 +00:00
Kristoffer Dalby
99e33181b2
Make displayName include basedomain if set
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-11-22 19:16:58 +01:00
Kristoffer Dalby
e7f322b9b6
Mark all tests to run in parallel
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-11-22 13:18:58 +01:00
Juan Font
1d36e1775f
Remove OIDC action
2022-11-21 22:07:27 +01:00
Juan Font
0525bea593
Remove legacy OIDC tests
2022-11-21 22:07:27 +01:00
Juan Font
2770c7cc07
Initial proposal for better routing
2022-11-21 21:58:22 +01:00
Juan Font
1b0e80bb10
Add OIDC integration tests
...
* Port OIDC integration tests to v2
* Move Tailscale old versions to TS2019 list
* Remove Alpine Linux container
* Updated changelog
* Releases: use flavor to set the tag suffix
* Added more debug messages in OIDC registration
* Added more logging
* Do not strip nodekey prefix on handle expired
* Updated changelog
* Add WithHostnameAsServerURL option func
* Reduce the number of namespaces and use hsic.WithHostnameAsServerURL
* Linting fix
* Fix linting issues
* Wait for ready outside the up goroutine
* Minor change in log message
* Add prefix to env var
* Remove unused env var
Co-authored-by: Juan Font <juan.font@esa.int>
Co-authored-by: Steven Honson <steven@honson.id.au>
Co-authored-by: Kristoffer Dalby <kristoffer@dalby.cc>
2022-11-21 21:51:54 +01:00
Kristoffer Dalby
4ccc528d96
Remove some very verbose error outputs
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-11-21 14:37:50 +01:00
Juan Font
6a311f4ab6
Remove broken renovatebot
2022-11-20 17:19:50 +01:00
manju-rn
a49a405413
Correction in the sample config file
...
Added the db_type in the sample config.yaml Without this entry, the container throws Unsupported DB error
`db_type: sqlite3`
2022-11-20 17:12:13 +01:00
Juan Font
24f946e2e9
Fix completion issues ( fixes #839 )
2022-11-20 13:57:38 +01:00
Juan Font
c3cdb340de
Increase integration tests timeout to 120m
2022-11-20 12:56:07 +01:00
Juan Font
935319a218
Remove mTLS from doc and config example
2022-11-19 19:50:34 +01:00
Juan Font
4c7e15a7ce
Remove mTLS config from integration config
2022-11-19 19:50:34 +01:00
Juan Font
d461097247
Remove mTLS stuff from code
2022-11-19 19:50:34 +01:00
Juan Font
f90a3c196c
Move TS WaitForReady outside up goroutine
2022-11-19 17:16:08 +01:00
Juan Font Alonso
751cc173d4
Fix issue when CLI is configured in config file
2022-11-18 19:19:56 +01:00
Juan Font Alonso
ff134f2b8e
Fix remote CLI when there is no config file present
2022-11-18 19:19:56 +01:00
Arnar Gauti Ingason
6d3ede1367
Add support for NextDNS resolver
2022-11-18 09:38:46 +01:00
Steven Honson
c0884f94b8
Release: tag every release with develop
2022-11-17 16:52:12 +01:00
Kristoffer Dalby
3d8dd68b14
default to localhost, not listen on all
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-11-16 17:37:35 +01:00
Kristoffer Dalby
b02e88364e
Fix test
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-11-16 17:37:35 +01:00
Kristoffer Dalby
9790831afb
Make config example "local dev first"
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-11-16 17:37:35 +01:00
Juan Font Alonso
2d79179141
Updated changelog
2022-11-15 21:28:26 +01:00
Juan Font Alonso
275cc28193
Do not strip nodekey prefix on handle expired
2022-11-15 21:28:26 +01:00
Juan Font
c5ba7552c5
Added more logging
2022-11-15 21:28:26 +01:00
Juan Font
8909f801bb
Added more debug messages in OIDC registration
2022-11-15 21:28:26 +01:00
Steven Honson
3d4af52b3a
Releases: use flavor to set the tag suffix
2022-11-15 11:36:38 +01:00
Juan Font
6391555dab
Updated changelog
2022-11-15 08:42:29 +01:00
Juan Font
8cc5b2174b
Remove Alpine Linux container
2022-11-15 08:42:29 +01:00
Juan Font
9269dd01f5
Move Tailscale old versions to TS2019 list
2022-11-14 23:06:30 +01:00
Juan Font
ef68f17a96
Return the correct error on cache miss
2022-11-14 18:34:27 +01:00
Juan Font
f74266f8f8
OIDC code cleanup and harmonize with regular web auth
2022-11-14 18:34:27 +01:00
Kristoffer Dalby
46df219ed3
Add testname identifier to hs container
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-11-14 16:50:28 +01:00
Kristoffer Dalby
835288d864
Remove unused variable
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-11-14 16:50:28 +01:00
Kristoffer Dalby
93d56362af
Lock and unify headscale start/get method
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-11-14 16:50:28 +01:00
Kristoffer Dalby
4799859be0
Fix renamed method
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-11-14 16:50:28 +01:00
Kristoffer Dalby
8e44596171
less verbose command output
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-11-14 16:50:28 +01:00
Kristoffer Dalby
d479234058
Split ts versions into 2019/2021 for dedicated tests later
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-11-14 16:50:28 +01:00
Kristoffer Dalby
3fc5866de0
Remove duplicate function
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-11-14 16:50:28 +01:00
Kristoffer Dalby
f3c40086ac
Make TLS setup work automatically
...
This commit injects the per-test-generated tls certs into the tailscale
container and makes sure all can ping all. It does not test any of the
DERP isolation yet.
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2022-11-14 16:50:28 +01:00