Skip to content

Commit c0afc08

Browse files
committed
Merge branch 'release-branch/1.82' into cpierre/coreweave-1.82
2 parents 4443158 + e4d64c6 commit c0afc08

File tree

356 files changed

+36284
-3435
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

356 files changed

+36284
-3435
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Run some natlab integration tests.
2+
# See https://github.com/tailscale/tailscale/issues/13038
3+
name: "natlab-integrationtest"
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-$${{ github.head_ref || github.run_id }}
7+
cancel-in-progress: true
8+
9+
on:
10+
pull_request:
11+
paths:
12+
- "tstest/integration/nat/nat_test.go"
13+
jobs:
14+
natlab-integrationtest:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Check out code
18+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19+
- name: Install qemu
20+
run: |
21+
sudo rm /var/lib/man-db/auto-update
22+
sudo apt-get -y update
23+
sudo apt-get -y remove man-db
24+
sudo apt-get install -y qemu-system-x86 qemu-utils
25+
- name: Run natlab integration tests
26+
run: |
27+
./tool/go test -v -run=^TestEasyEasy$ -timeout=3m -count=1 ./tstest/integration/nat --run-vm-tests

.golangci.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,11 @@ issues:
2626

2727
# Per-linter settings are contained in this top-level key
2828
linters-settings:
29-
# Enable all rules by default; we don't use invisible unicode runes.
30-
bidichk:
31-
3229
gofmt:
3330
rewrite-rules:
3431
- pattern: 'interface{}'
3532
replacement: 'any'
3633

37-
goimports:
38-
3934
govet:
4035
# Matches what we use in corp as of 2023-12-07
4136
enable:
@@ -78,8 +73,6 @@ linters-settings:
7873
# analyzer doesn't support type declarations
7974
#- github.com/tailscale/tailscale/types/logger.Logf
8075

81-
misspell:
82-
8376
revive:
8477
enable-all-rules: false
8578
ignore-generated-header: true

ALPINE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.18
1+
3.19

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# $ docker exec tailscaled tailscale status
2828

2929

30-
FROM golang:1.23-alpine AS build-env
30+
FROM golang:1.24-alpine AS build-env
3131

3232
WORKDIR /go/src/tailscale
3333

@@ -62,8 +62,10 @@ RUN GOARCH=$TARGETARCH go install -ldflags="\
6262
-X tailscale.com/version.gitCommitStamp=$VERSION_GIT_HASH" \
6363
-v ./cmd/tailscale ./cmd/tailscaled ./cmd/containerboot
6464

65-
FROM alpine:3.18
65+
FROM alpine:3.19
6666
RUN apk add --no-cache ca-certificates iptables iproute2 ip6tables
67+
RUN rm /sbin/iptables && ln -s /sbin/iptables-legacy /sbin/iptables
68+
RUN rm /sbin/ip6tables && ln -s /sbin/ip6tables-legacy /sbin/ip6tables
6769

6870
COPY --from=build-env /go/bin/* /usr/local/bin/
6971
# For compat with the previous run.sh, although ideally you should be

Dockerfile.base

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Copyright (c) Tailscale Inc & AUTHORS
22
# SPDX-License-Identifier: BSD-3-Clause
33

4-
FROM alpine:3.18
5-
RUN apk add --no-cache ca-certificates iptables iproute2 ip6tables iputils
4+
FROM alpine:3.19
5+
RUN apk add --no-cache ca-certificates iptables iptables-legacy iproute2 ip6tables iputils
6+
# Alpine 3.19 replaces legacy iptables with nftables based implementation. We
7+
# can't be certain that all hosts that run Tailscale containers currently
8+
# suppport nftables, so link back to legacy for backwards compatibility reasons.
9+
# TODO(irbekrm): add some way how to determine if we still run on nodes that
10+
# don't support nftables, so that we can eventually remove these symlinks.
11+
RUN rm /sbin/iptables && ln -s /sbin/iptables-legacy /sbin/iptables
12+
RUN rm /sbin/ip6tables && ln -s /sbin/ip6tables-legacy /sbin/ip6tables

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.80.3
1+
1.82.5

build_docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ eval "$(./build_dist.sh shellvars)"
1616

1717
DEFAULT_TARGET="client"
1818
DEFAULT_TAGS="v${VERSION_SHORT},v${VERSION_MINOR}"
19-
DEFAULT_BASE="tailscale/alpine-base:3.18"
19+
DEFAULT_BASE="tailscale/alpine-base:3.19"
2020
# Set a few pre-defined OCI annotations. The source annotation is used by tools such as Renovate that scan the linked
2121
# Github repo to find release notes for any new image tags. Note that for official Tailscale images the default
2222
# annotations defined here will be overriden by release scripts that call this script.

0 commit comments

Comments
 (0)