Commit graph

28 commits

Author SHA1 Message Date
Parker Higgins
17227af806 Split OAuth empty error message to create new absent tags error message
Signed-off-by: Parker Higgins <parker@tailscale.com>
2023-08-24 15:22:29 -04: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
a822015a03 Update to 1.24.2.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-06-12 12:55:53 -07: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
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
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
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
59a03bdf90 Add branding.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-09-07 15:29:36 -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
46fca23e4c Accept routes by default
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-08-19 07:07:42 -07:00
Denton Gentry
bcb5c5a38e Update to 1.12.3 and tweak startup loop.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-08-05 20:23:53 -07:00
Naman Sood
8a6adfb433 use stable instead of git by default
Signed-off-by: Naman Sood <mail@nsood.in>
2021-04-28 14:00:40 -04:00
Naman Sood
fe43578459 create deployable GitHub action
Signed-off-by: Naman Sood <mail@nsood.in>
2021-04-23 18:20:24 -04:00