Skip to content

Commit 61dd8b3

Browse files
author
Seunguk Shin
committed
ci: use rust-1.82.0
rust on aarch64-unknown-linux-gnu has a bug which faces SIGSEGV intermittently (rust-lang/rust#135867) with 1.83.0 or later. rust 1.82.0 will be used until the above issue is resolved. Signed-off-by: Seunguk Shin <[email protected]>
1 parent 0a7051d commit 61dd8b3

12 files changed

+37
-17
lines changed

.github/workflows/aa_basic.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ jobs:
3333
fail-fast: false
3434
matrix:
3535
rust:
36-
- stable
36+
# TODO: change 1.82.0 to stable when the following issue is resolved
37+
# https://github.com/rust-lang/rust/issues/135867
38+
- 1.82.0
3739
instance:
3840
- ubuntu-24.04
3941
- s390x

.github/workflows/aa_cc_kbc.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ jobs:
3333
fail-fast: false
3434
matrix:
3535
rust:
36-
- stable
36+
# TODO: change 1.82.0 to stable when the following issue is resolved
37+
# https://github.com/rust-lang/rust/issues/135867
38+
- 1.82.0
3739
instance:
3840
- ubuntu-24.04
3941
- ubuntu-24.04-arm
@@ -61,7 +63,7 @@ jobs:
6163
profile: minimal
6264
toolchain: ${{ matrix.rust }}
6365
override: true
64-
components: rustfmt
66+
components: rustfmt, clippy
6567

6668
- uses: ./.github/actions/install-intel-dcap
6769
with:

.github/workflows/aa_crypto.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,15 @@ jobs:
4242
with:
4343
fetch-depth: 1
4444

45-
- name: Install Rust toolchain (stable)
45+
# TODO: change 1.82.0 to stable when the following issue is resolved
46+
# https://github.com/rust-lang/rust/issues/135867
47+
- name: Install Rust toolchain (1.82.0)
4648
uses: actions-rs/toolchain@v1
4749
with:
4850
profile: minimal
49-
toolchain: stable
51+
toolchain: 1.82.0
5052
override: true
51-
components: rustfmt
53+
components: rustfmt, clippy
5254

5355
- name: Run rust fmt check
5456
uses: actions-rs/cargo@v1

.github/workflows/aa_sample_keyprovider.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
rust:
28-
- stable
28+
# TODO: change 1.82.0 to stable when the following issue is resolved
29+
# https://github.com/rust-lang/rust/issues/135867
30+
- 1.82.0
2931
instance:
3032
- ubuntu-24.04
3133
- ubuntu-24.04-arm

.github/workflows/aa_sev_kbc.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ jobs:
2929
fail-fast: false
3030
matrix:
3131
rust:
32-
- stable
32+
# TODO: change 1.82.0 to stable when the following issue is resolved
33+
# https://github.com/rust-lang/rust/issues/135867
34+
- 1.82.0
3335
kbc:
3436
- offline_sev_kbc
3537
- online_sev_kbc

.github/workflows/api-server-rest-basic.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ jobs:
3737
- s390x
3838
- ubuntu-24.04-arm
3939
rust:
40-
- stable
40+
# TODO: change 1.82.0 to stable when the following issue is resolved
41+
# https://github.com/rust-lang/rust/issues/135867
42+
- 1.82.0
4143
runs-on: ${{ matrix.instance }}
4244
steps:
4345
- name: Code checkout

.github/workflows/cdh_basic.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ jobs:
3737
- s390x
3838
- ubuntu-24.04-arm
3939
rust:
40-
- stable
40+
# TODO: change 1.82.0 to stable when the following issue is resolved
41+
# https://github.com/rust-lang/rust/issues/135867
42+
- 1.82.0
4143
runs-on: ${{ matrix.instance }}
4244
steps:
4345
- name: Code checkout

.github/workflows/image_rs_build.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
rust:
35-
- 1.83.0
36-
- stable
35+
# TODO: change 1.82.0 to 1.83.0 and stable when the following issue is resolved
36+
# https://github.com/rust-lang/rust/issues/135867
37+
- 1.82.0
3738
instance:
3839
- ubuntu-24.04
3940
- s390x

.github/workflows/ocicrypt_rs_build.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ jobs:
3232
- ubuntu-24.04
3333
- ubuntu-24.04-arm
3434
rust:
35-
- 1.83.0
36-
- stable
35+
# TODO: change 1.82.0 to 1.83.0 and stable when the following issue is resolved
36+
# https://github.com/rust-lang/rust/issues/135867
37+
- 1.82.0
3738
runs-on: ${{ matrix.instance }}
3839

3940
steps:

.github/workflows/publish-artifacts.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ on:
66
- main
77

88
env:
9-
RUST_TOOLCHAIN: 1.83.0
9+
# TODO: change 1.82.0 to 1.83.0 when the following issue is resolved
10+
# https://github.com/rust-lang/rust/issues/135867
11+
RUST_TOOLCHAIN: 1.82.0
1012

1113
jobs:
1214
publish-aa:

.github/workflows/trustee-attester.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ jobs:
2424
fail-fast: false
2525
matrix:
2626
rust:
27-
- stable
27+
# TODO: change 1.82.0 to stable when the following issue is resolved
28+
# https://github.com/rust-lang/rust/issues/135867
29+
- 1.82.0
2830
instance:
2931
- ubuntu-24.04
3032
- s390x

attestation-agent/docker/Dockerfile.keyprovider

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) 2023 by Alibaba.
22
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
33
# SPDX-License-Identifier: Apache-2.0
4-
FROM rust:1.84-slim-bookworm as builder
4+
FROM rust:1.82.0-slim-bookworm as builder
55

66
LABEL org.opencontainers.image.source="https://github.com/confidential-containers/guest-components/blob/main/attestation-agent/docker/Dockerfile.keyprovider"
77

0 commit comments

Comments
 (0)