Skip to content

Commit

Permalink
Update Rust to v1.56.1 (#1431)
Browse files Browse the repository at this point in the history
Some development tooling (like recent versions of cargo-deny) depends on
Rust v1.56.1. This change updates proxy build/CI to use this version for
consistency.
  • Loading branch information
olix0r authored Jan 7, 2022
1 parent a5ba9e0 commit 526c0df
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/actions/package/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=rust:1.56.0-buster
ARG BASE_IMAGE=rust:1.56.1-buster
FROM $BASE_IMAGE
WORKDIR /linkerd
RUN apt-get update && \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
container:
image: docker://rust:1.56.0-buster
image: docker://rust:1.56.1-buster
options: --security-opt seccomp=unconfined # 🤷
steps:
- run: apt update && apt install -y cmake clang golang # for boring
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/fast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
timeout-minutes: 10
runs-on: ubuntu-latest
container:
image: docker://rust:1.56.0-buster
image: docker://rust:1.56.1-buster
steps:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- run: rustup component add clippy
Expand All @@ -31,7 +31,7 @@ jobs:
timeout-minutes: 10
runs-on: ubuntu-latest
container:
image: docker://rust:1.56.0-buster
image: docker://rust:1.56.1-buster
steps:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- run: rustup component add rustfmt
Expand All @@ -42,7 +42,7 @@ jobs:
timeout-minutes: 10
runs-on: ubuntu-latest
container:
image: docker://rust:1.56.0-buster
image: docker://rust:1.56.1-buster
steps:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- run: |
Expand All @@ -56,7 +56,7 @@ jobs:
timeout-minutes: 10
runs-on: ubuntu-latest
container:
image: docker://rust:1.56.0-buster
image: docker://rust:1.56.1-buster
steps:
- run: apt update && apt install -y cmake clang golang # for boring
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
timeout-minutes: 10
runs-on: ubuntu-latest
container:
image: docker://rust:1.56.0-buster
image: docker://rust:1.56.1-buster
steps:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fuzzers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
timeout-minutes: 40
runs-on: ubuntu-latest
container:
image: docker://rust:1.56.0-buster
image: docker://rust:1.56.1-buster
strategy:
matrix:
dir:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/slow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
timeout-minutes: 20
runs-on: ubuntu-latest
container:
image: docker://rust:1.56.0-buster
image: docker://rust:1.56.1-buster
steps:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- run: |
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
timeout-minutes: 20
runs-on: ubuntu-latest
container:
image: docker://rust:1.56.0-buster
image: docker://rust:1.56.1-buster
steps:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- run: |
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# :; docker buildx build . --load

# Please make changes via update-rust-version.sh
ARG RUST_IMAGE=rust:1.56.0-buster
ARG RUST_IMAGE=rust:1.56.1-buster

# Use an arbitrary ~recent edge release image to get the proxy
# identity-initializing and linkerd-await wrappers.
Expand Down Expand Up @@ -47,7 +47,7 @@ RUN --mount=type=cache,target=/var/lib/apt/lists \
WORKDIR /usr/src/linkerd2-proxy
COPY . .
RUN --mount=type=cache,target=target \
--mount=type=cache,from=rust:1.56.0-buster,source=/usr/local/cargo,target=/usr/local/cargo \
--mount=type=cache,from=rust:1.56.1-buster,source=/usr/local/cargo,target=/usr/local/cargo \
mkdir -p /out && \
if [ -n "$PROXY_UNOPTIMIZED" ]; then \
(cd linkerd2-proxy && /usr/bin/time -v cargo build --locked --no-default-features --features="$PROXY_FEATURES") && \
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.56.0
1.56.1

0 comments on commit 526c0df

Please sign in to comment.