David Anderson
ea8b896c6c
.github/workflows: remove 'ci skip' boilerplate
...
We've never used the "[ci skip]" magic commit header in our history,
across all our repos. This seems to be boilerplate we imported years
ago and have since been copying around our CI configs.
Signed-off-by: David Anderson <danderson@tailscale.com>
2023-02-11 18:41:14 +00:00
Andrew Dunham
aea251d42a
cmd/testwrapper: move from corp; mark magicsock test as flaky
...
Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: Ibab5860f5797b3db151d3c27855333e43a9088a4
2023-01-18 12:08:23 -05:00
Maisem Ali
732c3d2ed0
.github/workflows: use ubuntu-22.04 for qemu tests
...
Fixes #6507
Signed-off-by: Maisem Ali <maisem@tailscale.com>
2022-11-25 18:43:24 +05:00
Will Norris
7b745a1a50
.github: run CI on release branches
...
Signed-off-by: Will Norris <will@tailscale.com>
2022-10-21 15:18:43 -07:00
Denton Gentry
78dbb59a00
CI: make all workflows get Go version from go.mod
...
The next time we update the toolchain, all of the CI
Actions will automatically use it when go.mod is updated.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-08-30 06:02:14 -07:00
Maisem Ali
d4916a8be3
.github/workflows: cancel previous CI runs on PR update
...
Currently scheduled runs are not canceled when we update PRs, those
results are unused and the resources are just wasted. Instead of doing
that, this PR makes it so that when a PR is updated (force-pushed or new
commit added) the previous runs are canceled.
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value
Signed-off-by: Maisem Ali <maisem@tailscale.com>
2022-08-15 07:27:24 -07:00
Brad Fitzpatrick
e1309e1323
all: require Go 1.19
...
Updates #5210
Change-Id: I2e950b4776636b4ea89b6566b60e4a87596a3a43
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-08-02 11:49:01 -07:00
Brad Fitzpatrick
97b8c4fa1b
ipn/store/awsstore: add "ts_omit_aws" build tag to reduce binary size
...
Drops tailscaled from 23M to 21M.
Change-Id: I731c542d03113ac94abb695e3c8fcacbc5542712
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-07-27 14:19:33 -07:00
dependabot[bot]
a121b9f263
.github: Bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-22 16:07:00 -07:00
dependabot[bot]
257d75beb1
.github: Bump actions/setup-go from 2.1.5 to 3
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2.1.5 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2.1.5...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-22 15:58:46 -07:00
Josh Bleecher Snyder
4b1e02057a
.github/workflows: request Go 1.18
...
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2022-03-16 12:45:28 -07:00
dependabot[bot]
b1b0fd119b
.github: Bump actions/setup-go from 2.1.4 to 2.1.5
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2.1.4 to 2.1.5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2.1.4...v2.1.5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 16:39:26 -08:00
Josh Bleecher Snyder
60510a6ae7
.github/workflows: check that repo is clean after build and test
...
Linux-only for now, to avoid having to figure out why
powershell doesn't like my shell scripting. (Not that I blame it.)
That'll be enough to catch most regressions.
Fixes #1083
Co-authored-by: Aaron Klotz <aaron@tailscale.com>
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2021-11-22 15:28:59 -08:00
Brad Fitzpatrick
c18b9d58aa
tstest/archtest: add GOARCH-specific tests, run via qemu-user
...
Updates #3233
Change-Id: Ia224c90490d41e50a1d547eeea709b0d9171c1f9
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-11-01 11:17:43 -07:00
dependabot[bot]
a56520c3c7
.github: Bump actions/setup-go from 1 to 2.1.4
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 1 to 2.1.4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v1...v2.1.4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-22 15:43:23 -07:00
Brad Fitzpatrick
ec2b7c7da6
all: bump minimum Go to 1.17
...
In prep for using 1.17 features.
Note the go.mod changes are due to:
https://golang.org/doc/go1.17#go-command
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-09-02 12:51:11 -07:00
Josh Bleecher Snyder
be56aa4962
workflows: execute benchmarks
...
#1817 removed the only place in our CI where we executed our benchmark code.
Fix that by executing it everywhere.
The benchmarks are generally cheap and fast,
so this should add minimal overhead.
Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>
2021-05-04 20:21:03 -07:00
Brad Fitzpatrick
86d3a6c9a6
Switch to Go 1.16.
...
Fixes #1370
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-02-19 13:18:31 -08:00
Brad Fitzpatrick
862d223c39
Switch to Go 1.15.
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-08-18 15:48:30 -07:00
Avery Pennarun
d9fd5db1e1
Rename master -> main.
...
Background:
https://www.zdnet.com/article/github-to-replace-master-with-alternative-term-to-avoid-slavery-references/
2020-06-15 13:47:11 -04:00
David Anderson
108e3af76f
github: use Go 1.14 in CI.
...
Signed-off-by: David Anderson <danderson@tailscale.com>
2020-04-19 14:46:24 -07:00
David Anderson
47265000da
Revert "update CI and everything to Go 1.14."
...
This reverts commit 905fe9f6a2
.
We're not quite ready to update the Mac/iOS builds to 1.14.
2020-03-06 13:45:54 -08:00
David Anderson
905fe9f6a2
update CI and everything to Go 1.14.
2020-03-06 12:55:52 -08:00
Brad Fitzpatrick
b5346fe7b4
meta: move cross-compiled builds to their own parallel jobs
...
And add FreeBSD.
Fixes #37
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-02-13 11:28:07 -08:00
evalexpr
e5481f33d3
meta: cross-compile tests for other geese
...
For now this is just darwin/windows, but we'll eventually add support
for {free,open}bsd
Signed-off-by: evalexpr <wilkinsphysics@gmail.com>
2020-02-12 23:11:46 -08:00
Jonathan Wilkins
ae89a7a65d
meta: build different GOOSes in CI
...
First pass at #37 without support for cross-compilation of tests
Signed-off-by: evalexpr <wilkinsphysics@gmail.com>
2020-02-12 23:11:46 -08:00
David Anderson
fb36bb9a88
Add slack notifications to CI.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-11 09:16:13 -08:00
David Anderson
3dd4471036
Add a build+test github action, as a quick and cheerful CI.
...
Signed-Off-By: David Anderson <dave@natulte.net>
2020-02-10 21:15:47 -08:00