Anton Tolchanov
b2b96d3c7f
action.yml: allow specifying a state directory
...
Also, document usage of the action with Tailnet Lock.
Fixes #132
Signed-off-by: Anton Tolchanov <anton@tailscale.com>
2024-07-10 08:37:27 -07:00
Patrick O'Doherty
0bf9b9f36b
Merge pull request #127 from tailscale/patrickod-patch-1
...
Bump release to 1.66.3
2024-05-15 13:51:43 -07:00
Patrick O'Doherty
3efa8e1ffc
Bump release to 1.66.3
2024-05-15 13:46:38 -07:00
Patrick O'Doherty
ca42c49ccd
Merge pull request #125 from tailscale/patrickod-patch-1
...
Correct default_version
2024-05-15 09:19:34 -07:00
Patrick O'Doherty
6ecfb8d7e8
Correct default_version
2024-05-15 09:11:42 -07:00
Patrick O'Doherty
92fe4f860b
Merge pull request #124 from tailscale/patrickod/bump
...
action.yml: bump tailscale version to 1.66.1
2024-05-14 09:56:11 -07:00
Patrick O'Doherty
9a38686973
action.yml: bump tailscale version to 1.66.1
...
Signed-off-by: Patrick O'Doherty <patrick@tailscale.com>
2024-05-14 09:45:22 -07:00
Andrew Lytvynov
2075411ebb
Fail if curl gets a non-200 response code ( #119 )
...
If package or SHA download from pkgs.tailscale.com fails with a non-200
repsonse code, make the whole action fail. This catches things like
incorrect versions.
Updates #118
2024-04-23 18:20:03 -06:00
Jack Pearce
7a0b30ed35
README.md: Add Tailscale version instructions ( #98 )
2023-11-02 05:56:49 -07:00
Denton Gentry
a5ed86cd49
action.yml: output expected and actual checksum ( #92 )
...
Updates https://github.com/tailscale/github-action/issues/89
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-10-04 19:07:50 -07:00
Denton Gentry
721822aa67
workflow: allow manual testing ( #91 )
...
We periodically have reports of failures in the GitHub Action
where there has been no recent change in Tailscale infrastructure
and no indication of a problem in metrics or monitoring.
Right now we have to generate a pull request to get this test
workflow to run. Allow it to be run manually whenever desired.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-10-04 13:31:57 -07:00
M. J. Fromberger
4e4c49acaa
Ensure curl calls follow redirects. ( #85 )
...
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
2023-08-25 16:14:10 -07:00
Will Norris
65cdd9a05d
add timeout on steps with network I/O
...
Set a reasonable timeout to prevent jobs from hanging for hours (#50 ).
5 minutes is way longer than should ever be necessary, but accounts for
intermittent networking issues on either the actions runner or the
Tailscale package or control server. Users can always set a shorter
timeout on their own action step.
Fixes #50
Signed-off-by: Will Norris <will@tailscale.com>
2023-06-29 11:31:56 -07:00
Dennis Schridde
62fddffa64
Verify SHA256 checksum of downloaded file
...
Make checksum checking unconditional but fall back to loading the checksum form the internet if not provided
Signed-off-by: Dennis Schridde <dennis@metabase.com>
2023-06-29 09:58:12 -07:00
Denton Gentry
9a2e978652
Support arm64 runners. ( #72 )
...
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-06-28 16:51:49 -07:00
Denton Gentry
d7bb41ca42
action.yml: support OAuth clients in addition to authkeys ( #71 )
...
Fixes https://github.com/tailscale/github-action/issues/59
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-06-28 16:35:31 -07:00
Dennis Schridde
69556f497e
Allow overriding tailscaled arguments ( #64 )
...
Signed-off-by: Dennis Schridde <dennis@metabase.com>
2023-06-28 16:26:19 -07:00
Will Norris
8b804aa882
preserve environment variables when calling sudo
...
This allows configuring the various aspects of tailscale that use
environment variables (such as OAuth authekeys, amongst others).
Updates #59
Signed-off-by: Will Norris <will@tailscale.com>
2023-05-15 08:23:50 -07:00
Brad Fitzpatrick
7bd8039bf2
Move 'tailscale up' to its own step.
...
So tailscaled doesn't run with the authkey in its env. It doesn't need
to know, so don't provide it. Defense in depth.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-04-26 15:43:24 -07:00
Lemon
ce41a99162
feat: check runner os and authkey empty ( #26 )
2022-10-22 18:00:56 -07:00
Adriano
846a867270
Update action.yml ( #47 )
...
Bump the default tailscale version used by this action
2022-10-22 17:50:36 -07:00
Rounak Datta
e870a1112f
Add capability to pass fixed hostname ( #33 )
...
* Add capability to pass fixed hostname
* Make the comparison statement POSIX compatible
2022-07-19 07:30:05 -07:00
Denton Gentry
5f7849625a
Merge pull request #14 from mlocher/patch-1
...
Fix code snippet indentation.
2022-07-04 17:10:45 -07:00
Denton Gentry
93adf6fb64
Merge pull request #38 from tailscale/update
...
Update to 1.24.2.
2022-06-13 16:23:35 -07:00
Denton Gentry
a822015a03
Update to 1.24.2.
...
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-06-12 12:55:53 -07:00
Denton Gentry
effa99fe9d
Merge pull request #24 from tailscale/update
...
Update to 1.18.2
2022-01-07 11:27:36 -08:00
Denton Gentry
ecdb6a2aed
Update to 1.18.2
...
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-01-07 11:22:52 -08:00
Denton Gentry
b10fe7b669
Merge pull request #20 from hbowron/main
...
Add optional `args` input to customize tailscale up command
2022-01-07 11:05:27 -08:00
Harry
b12eb1f32f
Moving args to env
2021-11-24 14:26:32 +02:00
Harry
5a57b3cfe8
Merge branch 'main' of https://github.com/tailscale/github-action into tailscale-main
2021-11-24 14:20:09 +02:00
Denton Gentry
33a2384888
Merge pull request #21 from tailscale/update1_18
...
Update to 1.18, remove loop
2021-11-19 08:34:03 -08:00
Denton Gentry
d1256d4577
Update to 1.18, remove loop
...
In release 1.16 and later, "tailscale up" will block until it can
connect to tailscaled and bring the link up. There is not a need
to loop any more.
2021-11-19 06:38:05 -08:00
Harry Bowron
fcb293e61e
Revert "Rename action for marketplace"
...
This reverts commit 8c58b05477 .
2021-11-12 16:12:52 +02:00
Harry
8c58b05477
Rename action for marketplace
2021-11-12 16:03:27 +02:00
Harry Bowron
ab55d2aaf9
Adding option input "args"
2021-11-12 16:01:43 +02:00
Marko Locher
3381393d3c
Fix code snippet indentation.
2021-09-25 10:39:52 +02:00
Denton Gentry
f3e0b07f2f
Merge pull request #13 from tailscale/home
...
Don't rely on $HOME
2021-09-20 21:43:56 -07:00
Denton Gentry
176a38cac3
Don't rely on $HOME
...
Some self-hosted runners don't have $HOME set.
Fixes https://github.com/tailscale/github-action/issues/12
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-09-20 05:20:33 -07:00
Denton Gentry
cc6818dd69
Merge pull request #10 from tailscale/branding
...
Add branding.
2021-09-07 16:31:36 -07:00
Denton Gentry
59a03bdf90
Add branding.
...
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-09-07 15:29:36 -07:00
Denton Gentry
ab168944ea
Merge pull request #9 from tailscale/v1.14
...
Update to 1.14.0, and slow down loop.
2021-08-25 09:56:40 -07:00
Denton Gentry
e603be9b53
Update to 1.14.0, and slow down loop.
...
Wait half a second, to poll a bit less aggressively.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-08-25 09:34:42 -07:00
Denton Gentry
aad9dcabfc
Revert "Update to 1.14.0, and slow down loop."
...
This reverts commit 446d3fee99 .
Didn't intend to commit to main.
2021-08-25 09:34:09 -07:00
Denton Gentry
446d3fee99
Update to 1.14.0, and slow down loop.
...
Wait half a second, to poll a bit less aggressively.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-08-25 09:33:53 -07:00
Denton Gentry
107c46d8c6
Merge pull request #7 from tailscale/accept-routes
...
Accept routes by default
2021-08-19 07:13:39 -07:00
Denton Gentry
46fca23e4c
Accept routes by default
...
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-08-19 07:07:42 -07:00
Denton Gentry
16dc1ccef1
Update README.md some more.
...
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-08-06 08:33:42 -07:00
Denton Gentry
4b48374c75
More tweaking of wording.
2021-08-05 21:17:28 -07:00
Denton Gentry
4a51791024
More details in the README.
2021-08-05 21:15:24 -07:00
Denton Gentry
a135c43067
Update README with Maintainer's notes.
2021-08-05 20:49:40 -07:00