summaryrefslogtreecommitdiffhomepage
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2024-01-10Makefile,build_docker.sh: allow to configure target platform. (#10806)Irbe Krumina1-2/+4
Build dev tailscale and k8s-operator images for linux/amd64 only by default, make it possible to configure target build platform via PLATFORM var. Updates#cleanup Signed-off-by: Irbe Krumina <irbe@tailscale.com>
2024-01-08cmd/{derper,stund},net/stunserver: add standalone stun serverJames Tucker1-2/+4
Add a standalone server for STUN that can be hosted independently of the derper, and factor that back into the derper. Fixes #8434 Closes #8435 Closes #10745 Signed-off-by: James Tucker <james@tailscale.com>
2023-12-14cmd/k8s-operator: operator can create subnetrouter (#9505)Irbe Krumina1-0/+15
* k8s-operator,cmd/k8s-operator,Makefile,scripts,.github/workflows: add Connector kube CRD. Connector CRD allows users to configure the Tailscale Kubernetes operator to deploy a subnet router to expose cluster CIDRs or other CIDRs available from within the cluster to their tailnet. Also adds various CRD related machinery to generate CRD YAML, deep copy implementations etc. Engineers will now have to run 'make kube-generate-all` after changing kube files to ensure that all generated files are up to date. * cmd/k8s-operator,k8s-operator: reconcile Connector resources Reconcile Connector resources, create/delete subnetrouter resources in response to changes to Connector(s). Connector reconciler will not be started unless ENABLE_CONNECTOR env var is set to true. This means that users who don't want to use the alpha Connector custom resource don't have to install the Connector CRD to their cluster. For users who do want to use it the flow is: - install the CRD - install the operator (via Helm chart or using static manifests). For Helm users set .values.enableConnector to true, for static manifest users, set ENABLE_CONNECTOR to true in the static manifest. Updates tailscale/tailscale#502 Signed-off-by: Irbe Krumina <irbe@tailscale.com>
2023-12-07ci: run 'go vet' in golangci-lint; fix errors in testsAndrew Dunham1-0/+3
Updates #cleanup Signed-off-by: Andrew Dunham <andrew@du.nham.ca> Change-Id: Ice78fc907bad24c1de749a1595e212ef2db4b8bb
2023-09-19Makefile: make it possibe to pass a custom tag when building dev images (#9461)Irbe Krumina1-2/+3
Updates #cleanup Signed-off-by: Irbe Krumina <irbe@tailscale.com>
2023-08-24all: adjust some build tags for plan9Brad Fitzpatrick1-0/+3
I'm not saying it works, but it compiles. Updates #5794 Change-Id: I2f3c99732e67fe57a05edb25b758d083417f083e Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-05-29release/dist/synology: build synology packages with cmd/distDavid Anderson1-3/+2
Updates #8217 Signed-off-by: David Anderson <danderson@tailscale.com>
2023-02-16Makefile: add help text to MakefileWill Norris1-20/+25
https://rosszurowski.com/log/2022/makefiles#self-documenting-makefiles Signed-off-by: Will Norris <will@tailscale.com>
2023-02-01all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our forkBrad Fitzpatrick1-2/+6
Updates #7123 Updates #5309 Change-Id: I90bcd87a2fb85a91834a0dd4be6e03db08438672 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-12-13Makefile: add a target for doing dev builds of the k8s operator.David Anderson1-1/+11
Updates #502. Signed-off-by: David Anderson <danderson@tailscale.com>
2022-12-11feat(build): add support on Loongnix-Server (loong64) (#6233)缘生1-0/+3
Makefile, .github/workflow: add tests, targets for GOARCH=loong64 (Loongnix) Signed-off-by: ysicing <i@ysicing.me>
2022-10-21Makefile: add publishdevimage targetMaisem Ali1-0/+6
This builds and publishes the tailscale container image for dev testing. Signed-off-by: Maisem Ali <maisem@tailscale.com>
2022-08-15Makefile: add target for wasm and make it part of checkMaisem Ali1-1/+4
Signed-off-by: Maisem Ali <maisem@tailscale.com>
2022-08-05cmd/derper: add depaware.txtDavid Crawshaw1-4/+8
Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
2022-08-02all: require Go 1.19Brad Fitzpatrick1-1/+1
Updates #5210 Change-Id: I2e950b4776636b4ea89b6566b60e4a87596a3a43 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-03-21Makefile: add tidy targetBrad Fitzpatrick1-0/+3
Change-Id: I6cd3a6837f9ddfd283f57378465dcefa4d0ada47 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-03-18Makefile: use ./tool/go everywhereMaisem Ali1-9/+9
Signed-off-by: Maisem Ali <maisem@tailscale.com>
2022-01-21Makefile: update make spk target to use the new go spk builderMaisem Ali1-4/+10
Signed-off-by: Maisem Ali <maisem@tailscale.com>
2021-12-06Makefile: add spk and pushspk targets for iterative Synology developmentBrad Fitzpatrick1-0/+8
Change-Id: I97319d14917aa2b00ff72a7b73b3db79ea8392b7 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-11-22build_docker.sh: use github.com/tailscale/mkctr instead of dockerMaisem Ali1-2/+1
Signed-off-by: Maisem Ali <maisem@tailscale.com>
2021-11-03Add multiarch image make targetMangirdas1-0/+6
Updates #3112 Signed-off-by: Mangirdas <mangirdas@judeikis.lt>
2021-08-18Makefile: add a linux/arm checkBrad Fitzpatrick1-1/+4
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-03-01wgengine/netstack: fix 32-bit build broken from prior commitBrad Fitzpatrick1-1/+4
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-02-27wgengine: unify NewUserspaceEngine, NewUserspaceEngineAdvancedBrad Fitzpatrick1-1/+4
Also rename EngineConfig to Config to avoid wgengine.EngineConfig stutter. Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-09-11Makefile: remove tsshd from depawareBrad Fitzpatrick1-2/+0
I'd removed it from the GitHub actions checks before submitted earlier but forgot to update it here.
2020-09-09go mod tidyBrad Fitzpatrick1-1/+11
2020-08-24cmd/tailscale/cli: fix vet warningBrad Fitzpatrick1-1/+4
And add vet to the "make check" target, like the CI has.
2020-06-15Fix staticcheck warning, add Makefile with staticcheck targets, lock in ↵Brad Fitzpatrick1-0/+7
staticcheck version in go.mod