Skip to content

Commit 8808509

Browse files
authored
v0.2.8 (#412)
* Update dev to v42 with Rust 1.73 * Update tokio to 1.35 * Update hyper to 1.0 * Update http to 1.0
1 parent 5e2186e commit 8808509

File tree

11 files changed

+288
-200
lines changed

11 files changed

+288
-200
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "linkerd-await",
3-
"image": "ghcr.io/linkerd/dev:v32",
3+
"image": "ghcr.io/linkerd/dev:v42",
44
"extensions": [
55
"DavidAnson.vscode-markdownlint",
66
"kokakiwi.vscode-just",

.github/actions/package/Dockerfile

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/actions.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,18 @@ permissions:
1111

1212
jobs:
1313
actionlint:
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-latest
1515
timeout-minutes: 10
16-
container: ghcr.io/linkerd/dev:v32-tools
1716
steps:
17+
- uses: linkerd/dev/actions/setup-tools@v42
1818
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
19+
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033
1920
- run: just actionlint
2021

2122
devcontainer-versions:
2223
runs-on: ubuntu-latest
23-
container: ghcr.io/linkerd/dev:v32-tools
2424
steps:
25+
- uses: linkerd/dev/actions/setup-tools@v42
2526
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
27+
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033
2628
- run: just actions-dev-versions

.github/workflows/check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ jobs:
77
check:
88
timeout-minutes: 5
99
runs-on: ubuntu-latest
10-
container: ghcr.io/linkerd/dev:v32-rust
10+
container: ghcr.io/linkerd/dev:v42-rust
1111
steps:
1212
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
13+
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033
1314
- run: just fetch
1415
- run: just check-fmt
1516
- run: just clippy

.github/workflows/release.yml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Release
33
on:
44
pull_request:
55
paths:
6-
- .github/actions/package/*
76
- .github/workflows/release.yml
87
- justfile
98
push:
@@ -54,20 +53,23 @@ jobs:
5453
name: Package (${{ matrix.arch }})
5554
runs-on: ubuntu-latest
5655
timeout-minutes: 10
56+
env:
57+
ARCH: ${{ matrix.arch }}
58+
PACKAGE_VERSION: ${{ needs.meta.outputs.version }}
59+
CARGO_RELEASE: "1"
60+
DEBIAN_FRONTEND: noninteractive
61+
container: docker://ghcr.io/linkerd/dev:v42-rust
5762
steps:
58-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
59-
- name: package
60-
uses: ./.github/actions/package
61-
with:
62-
entrypoint: just
63-
args: release
64-
env:
65-
CARGO: cross
66-
CARGO_RELEASE: "1"
67-
CROSS_DOCKER_IN_DOCKER: true
68-
PACKAGE_VERSION: ${{ needs.meta.outputs.version }}
69-
ARCH: ${{ matrix.arch }}
70-
- uses: actions/upload-artifact@v3
63+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
64+
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033
65+
- run: just rustup
66+
if: matrix.arch != 'amd64'
67+
- run: apt-get update && apt-get install -y g++-aarch64-linux-gnu gcc-aarch64-linux-gnu libc6-dev-arm64-cross
68+
if: matrix.arch == 'arm64'
69+
- run: apt-get update && apt-get install -y g++-arm-linux-gnueabihf gcc-arm-linux-gnueabihf libc6-dev-armhf-cross
70+
if: matrix.arch == 'arm'
71+
- run: just release
72+
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
7173
with:
7274
name: ${{ matrix.arch }}-artifacts
7375
path: release/*

0 commit comments

Comments
 (0)