Skip to content

Commit 9e7adb6

Browse files
committed
stash
Signed-off-by: Zahari Dichev <[email protected]>
1 parent 30a9f24 commit 9e7adb6

File tree

18 files changed

+764
-827
lines changed

18 files changed

+764
-827
lines changed

.github/workflows/beta.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
# Builds the proxy on the beta toolchain to help catch Rust regressions before they hit stable.
2-
name: rust-beta
1+
# # Builds the proxy on the beta toolchain to help catch Rust regressions before they hit stable.
2+
# name: rust-beta
33

4-
on:
5-
workflow_dispatch: {}
6-
pull_request:
7-
paths:
8-
- justfile
9-
- .github/workflows/beta.yml
10-
schedule:
11-
# Run weekly on wednesday @ midnightish Pacific-time.
12-
- cron: "30 7 * * 3"
4+
# on:
5+
# workflow_dispatch: {}
6+
# pull_request:
7+
# paths:
8+
# - justfile
9+
# - .github/workflows/beta.yml
10+
# schedule:
11+
# # Run weekly on wednesday @ midnightish Pacific-time.
12+
# - cron: "30 7 * * 3"
1313

14-
env:
15-
CARGO_INCREMENTAL: 0
16-
CARGO_NET_RETRY: 10
17-
RUSTUP_MAX_RETRIES: 10
18-
RUSTFLAGS: "-D warnings --cfg tokio_unstable"
14+
# env:
15+
# CARGO_INCREMENTAL: 0
16+
# CARGO_NET_RETRY: 10
17+
# RUSTUP_MAX_RETRIES: 10
18+
# RUSTFLAGS: "-D warnings --cfg tokio_unstable"
1919

20-
permissions:
21-
contents: read
20+
# permissions:
21+
# contents: read
2222

23-
jobs:
24-
build:
25-
runs-on: ubuntu-24.04
26-
container: ghcr.io/linkerd/dev:v45-rust
27-
timeout-minutes: 20
28-
continue-on-error: true
29-
steps:
30-
- run: rustup toolchain install --profile=minimal beta
31-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
32-
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033
33-
- run: just toolchain=beta fetch
34-
- run: just toolchain=beta build
23+
# jobs:
24+
# build:
25+
# runs-on: ubuntu-24.04
26+
# container: ghcr.io/linkerd/dev:v45-rust
27+
# timeout-minutes: 20
28+
# continue-on-error: true
29+
# steps:
30+
# - run: rustup toolchain install --profile=minimal beta
31+
# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
32+
# - run: git config --global --add safe.directory "$PWD" # actions/runner#2033
33+
# - run: just toolchain=beta fetch
34+
# - run: just toolchain=beta build

.github/workflows/coverage.yml

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,58 @@
1-
name: Coverage
1+
# name: Coverage
22

3-
on:
4-
push:
5-
branches: [main]
6-
pull_request: {}
3+
# on:
4+
# push:
5+
# branches: [main]
6+
# pull_request: {}
77

8-
permissions:
9-
contents: read
8+
# permissions:
9+
# contents: read
1010

11-
concurrency:
12-
group: ${{ github.workflow }}-${{ github.head_ref }}
13-
cancel-in-progress: true
11+
# concurrency:
12+
# group: ${{ github.workflow }}-${{ github.head_ref }}
13+
# cancel-in-progress: true
1414

15-
env:
16-
CARGO_INCREMENTAL: 0
17-
CARGO_NET_RETRY: 10
18-
RUSTFLAGS: "-D warnings -A deprecated --cfg tokio_unstable -C debuginfo=2"
19-
RUSTUP_MAX_RETRIES: 10
15+
# env:
16+
# CARGO_INCREMENTAL: 0
17+
# CARGO_NET_RETRY: 10
18+
# RUSTFLAGS: "-D warnings -A deprecated --cfg tokio_unstable -C debuginfo=2"
19+
# RUSTUP_MAX_RETRIES: 10
2020

21-
jobs:
22-
meta:
23-
timeout-minutes: 5
24-
runs-on: ubuntu-24.04
25-
steps:
26-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
27-
- id: changed
28-
uses: tj-actions/changed-files@dcc7a0cba800f454d79fff4b993e8c3555bcc0a8
29-
with:
30-
files: |
31-
.codecov.yml
32-
.github/workflows/coverage.yml
33-
**/*.rs
34-
files_ignore: |
35-
*-proto/**
36-
linkerd/transport-header/**
37-
outputs:
38-
any_changed: ${{ steps.changed.outputs.any_changed }}
21+
# jobs:
22+
# meta:
23+
# timeout-minutes: 5
24+
# runs-on: ubuntu-24.04
25+
# steps:
26+
# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
27+
# - id: changed
28+
# uses: tj-actions/changed-files@dcc7a0cba800f454d79fff4b993e8c3555bcc0a8
29+
# with:
30+
# files: |
31+
# .codecov.yml
32+
# .github/workflows/coverage.yml
33+
# **/*.rs
34+
# files_ignore: |
35+
# *-proto/**
36+
# linkerd/transport-header/**
37+
# outputs:
38+
# any_changed: ${{ steps.changed.outputs.any_changed }}
3939

40-
codecov:
41-
needs: meta
42-
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || needs.meta.outputs.any_changed == 'true'
43-
runs-on: ubuntu-24.04
44-
timeout-minutes: 30
45-
container:
46-
image: docker://ghcr.io/linkerd/dev:v45-rust
47-
options: --security-opt seccomp=unconfined # 🤷
48-
env:
49-
CXX: "/usr/bin/clang++-19"
50-
steps:
51-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
52-
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3
53-
- run: cargo tarpaulin --locked --workspace --exclude=linkerd2-proxy --exclude=linkerd-transport-header --exclude=opencensus-proto --exclude=spire-proto --no-run
54-
- run: cargo tarpaulin --locked --workspace --exclude=linkerd2-proxy --exclude=linkerd-transport-header --exclude=opencensus-proto --exclude=spire-proto --skip-clean --ignore-tests --no-fail-fast --out=Xml
55-
# Some tests are especially flakey in coverage tests. That's fine. We
56-
# only really care to measure how much of our codebase is covered.
57-
continue-on-error: true
58-
- uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3
40+
# codecov:
41+
# needs: meta
42+
# if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || needs.meta.outputs.any_changed == 'true'
43+
# runs-on: ubuntu-24.04
44+
# timeout-minutes: 30
45+
# container:
46+
# image: docker://ghcr.io/linkerd/dev:v45-rust
47+
# options: --security-opt seccomp=unconfined # 🤷
48+
# env:
49+
# CXX: "/usr/bin/clang++-19"
50+
# steps:
51+
# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
52+
# - uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3
53+
# - run: cargo tarpaulin --locked --workspace --exclude=linkerd2-proxy --exclude=linkerd-transport-header --exclude=opencensus-proto --exclude=spire-proto --no-run
54+
# - run: cargo tarpaulin --locked --workspace --exclude=linkerd2-proxy --exclude=linkerd-transport-header --exclude=opencensus-proto --exclude=spire-proto --skip-clean --ignore-tests --no-fail-fast --out=Xml
55+
# # Some tests are especially flakey in coverage tests. That's fine. We
56+
# # only really care to measure how much of our codebase is covered.
57+
# continue-on-error: true
58+
# - uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3

.github/workflows/fuzzers.yml

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,63 @@
1-
name: fuzzers
1+
# name: fuzzers
22

3-
on:
4-
# Only run on PRs that touch fuzzed crates
5-
pull_request:
6-
paths:
7-
- 'linkerd/addr/**'
8-
- 'linkerd/app/inbound/**'
9-
- 'linkerd/dns/**'
10-
- 'linkerd/proxy/http/**'
11-
- 'linkerd/tls/**'
12-
- 'linkerd/transport-header/**'
13-
- .github/workflows/fuzzers.yml
14-
- .github/fuzzers-list.sh
3+
# on:
4+
# # Only run on PRs that touch fuzzed crates
5+
# pull_request:
6+
# paths:
7+
# - 'linkerd/addr/**'
8+
# - 'linkerd/app/inbound/**'
9+
# - 'linkerd/dns/**'
10+
# - 'linkerd/proxy/http/**'
11+
# - 'linkerd/tls/**'
12+
# - 'linkerd/transport-header/**'
13+
# - .github/workflows/fuzzers.yml
14+
# - .github/fuzzers-list.sh
1515

16-
env:
17-
CARGO_INCREMENTAL: 0
18-
CARGO_NET_RETRY: 10
19-
RUST_BACKTRACE: short
20-
RUSTFLAGS: "-D warnings -A deprecated --cfg tokio_unstable -C debuginfo=0"
21-
RUSTUP_MAX_RETRIES: 10
16+
# env:
17+
# CARGO_INCREMENTAL: 0
18+
# CARGO_NET_RETRY: 10
19+
# RUST_BACKTRACE: short
20+
# RUSTFLAGS: "-D warnings -A deprecated --cfg tokio_unstable -C debuginfo=0"
21+
# RUSTUP_MAX_RETRIES: 10
2222

23-
permissions:
24-
contents: read
23+
# permissions:
24+
# contents: read
2525

26-
jobs:
27-
list-changed:
28-
timeout-minutes: 3
29-
runs-on: ubuntu-24.04
30-
container: docker://rust:1.83.0
31-
steps:
32-
- run: apt update && apt install -y jo
33-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
34-
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033
35-
- uses: tj-actions/changed-files@dcc7a0cba800f454d79fff4b993e8c3555bcc0a8
36-
id: changed-files
37-
- name: list changed crates
38-
id: list-changed
39-
shell: bash
40-
run: |
41-
dirs=$(.github/fuzzers-list.sh ${{ steps.changed-files.outputs.all_changed_files }} | jo -a)
42-
echo "dirs=$dirs" >> "$GITHUB_OUTPUT"
43-
outputs:
44-
dirs: ${{ steps.list-changed.outputs.dirs }}
26+
# jobs:
27+
# list-changed:
28+
# timeout-minutes: 3
29+
# runs-on: ubuntu-24.04
30+
# container: docker://rust:1.83.0
31+
# steps:
32+
# - run: apt update && apt install -y jo
33+
# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
34+
# - run: git config --global --add safe.directory "$PWD" # actions/runner#2033
35+
# - uses: tj-actions/changed-files@dcc7a0cba800f454d79fff4b993e8c3555bcc0a8
36+
# id: changed-files
37+
# - name: list changed crates
38+
# id: list-changed
39+
# shell: bash
40+
# run: |
41+
# dirs=$(.github/fuzzers-list.sh ${{ steps.changed-files.outputs.all_changed_files }} | jo -a)
42+
# echo "dirs=$dirs" >> "$GITHUB_OUTPUT"
43+
# outputs:
44+
# dirs: ${{ steps.list-changed.outputs.dirs }}
4545

46-
# Build fuzzers for any changed crates.
47-
build:
48-
needs: [list-changed]
49-
timeout-minutes: 40
50-
runs-on: ubuntu-24.04
51-
container: docker://rust:1.83.0
52-
strategy:
53-
matrix:
54-
dir: ${{ fromJson(needs.list-changed.outputs.dirs) }}
55-
steps:
56-
- run: rustup toolchain add nightly
57-
- run: cargo install cargo-fuzz
58-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
59-
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033
60-
- working-directory: ${{matrix.dir}}
61-
run: cargo +nightly fetch
62-
- working-directory: ${{matrix.dir}}
63-
run: cargo +nightly fuzz build
46+
# # Build fuzzers for any changed crates.
47+
# build:
48+
# needs: [list-changed]
49+
# timeout-minutes: 40
50+
# runs-on: ubuntu-24.04
51+
# container: docker://rust:1.83.0
52+
# strategy:
53+
# matrix:
54+
# dir: ${{ fromJson(needs.list-changed.outputs.dirs) }}
55+
# steps:
56+
# - run: rustup toolchain add nightly
57+
# - run: cargo install cargo-fuzz
58+
# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
59+
# - run: git config --global --add safe.directory "$PWD" # actions/runner#2033
60+
# - working-directory: ${{matrix.dir}}
61+
# run: cargo +nightly fetch
62+
# - working-directory: ${{matrix.dir}}
63+
# run: cargo +nightly fuzz build

.github/workflows/markdown.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
name: markdown
1+
# name: markdown
22

3-
permissions:
4-
contents: read
3+
# permissions:
4+
# contents: read
55

6-
on:
7-
pull_request:
8-
paths:
9-
- '**/*.md'
10-
- .github/workflows/markdown.yml
6+
# on:
7+
# pull_request:
8+
# paths:
9+
# - '**/*.md'
10+
# - .github/workflows/markdown.yml
1111

12-
jobs:
13-
markdownlint:
14-
timeout-minutes: 5
15-
runs-on: ubuntu-24.04
16-
steps:
17-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
18-
- uses: DavidAnson/markdownlint-cli2-action@05f32210e84442804257b2a6f20b273450ec8265
19-
with:
20-
globs: "**/*.md"
12+
# jobs:
13+
# markdownlint:
14+
# timeout-minutes: 5
15+
# runs-on: ubuntu-24.04
16+
# steps:
17+
# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
18+
# - uses: DavidAnson/markdownlint-cli2-action@05f32210e84442804257b2a6f20b273450ec8265
19+
# with:
20+
# globs: "**/*.md"

0 commit comments

Comments
 (0)