Commit graph

76 commits

Author SHA1 Message Date
Mario Minardi
6cef1b1b9a
Experimenting 2025-02-13 16:14:20 -07:00
Nick O'Neill
2b498977f3
Merge pull request #151 from tailscale/nickoneill/readme-v3
README: add v3 to the action snippets
2024-12-18 13:56:44 -08:00
Nick O'Neill
2cbc2550a7 add v3 to the readme 2024-12-18 13:48:32 -08:00
Keli
8688eb839e
Merge pull request #148 from tailscale/keli/update-1.78.1
action.yml: bump tailscale version to 1.78.1
2024-12-13 09:32:02 -05:00
Keli Velazquez
aef4d1b9e2 action.yml: bump tailscale version to 1.78.1
Updates tailscale/corp#14315

Signed-off-by: Keli Velazquez <keli@tailscale.com>
2024-12-13 09:26:45 -05:00
Lee Briggs
1ec4a5d914
Merge pull request #131 from jaxxstorm/latest_version
Always pull latest version
2024-12-12 22:33:39 -08:00
Lee Briggs
cb0029737d
use json api for getting latest version 2024-12-12 12:36:42 +00:00
Naman Sood
67573e622a
README: add note about required oauth scopes (#144)
* README: add note about required oauth scopes

Fixes #143.

Signed-off-by: Naman Sood <mail@nsood.in>

* english

Signed-off-by: Naman Sood <mail@nsood.in>

---------

Signed-off-by: Naman Sood <mail@nsood.in>
2024-11-21 21:16:00 -05:00
John Vandenberg
16d7e0b781 Force timeout during connection 2024-09-09 15:16:08 -07:00
Andrea Gottardo
0893401420
Merge pull request #138 from tailscale/vbump-1721
Bump Tailscale version to v1.72.1
2024-08-28 11:41:05 -07:00
Andrea Gottardo
57133d573b
Bump Tailscale version to v1.72.1 2024-08-28 11:21:17 -07:00
Percy Wegmann
eac66e8ca4 .github/workflows: use default Tailscale version in CI
This makes sure that we test with the default version as specified in action.yml

Updates #cleanup

Signed-off-by: Percy Wegmann <percy@tailscale.com>
2024-08-14 20:10:14 -05:00
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
Lee Briggs
42b6960a76
update readme
Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
2024-07-07 09:52:27 -07:00
Lee Briggs
c688cd1540
Revert "don't lookup latest version"
This reverts commit 0eefde4707.
2024-07-07 09:50:18 -07:00
Lee Briggs
0eefde4707
don't lookup latest version
Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
2024-07-07 09:32:46 -07:00
Lee Briggs
408d716839
don't set default to latest
Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
2024-07-07 09:30:32 -07:00
Lee Briggs
7af1b1f12d
find latest version
Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
2024-07-07 09:06:11 -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