mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 09:23:25 +00:00
Update docker version ref to 0.14.1-20250326
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
7d3b49c4d6
commit
2a7cdb0802
2
.github/workflows/benchmark_asterinas.yml
vendored
2
.github/workflows/benchmark_asterinas.yml
vendored
@ -107,7 +107,7 @@ jobs:
|
||||
max-parallel: 1
|
||||
timeout-minutes: 60
|
||||
container:
|
||||
image: asterinas/asterinas:0.14.1-20250322
|
||||
image: asterinas/asterinas:0.14.1-20250326
|
||||
options: --device=/dev/kvm --privileged
|
||||
env:
|
||||
# Need to set up proxy since the self-hosted CI server is located in China,
|
||||
|
2
.github/workflows/publish_osdk_and_ostd.yml
vendored
2
.github/workflows/publish_osdk_and_ostd.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
container: asterinas/asterinas:0.14.1-20250322
|
||||
container: asterinas/asterinas:0.14.1-20250326
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
2
.github/workflows/publish_website.yml
vendored
2
.github/workflows/publish_website.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
build_and_deploy:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
container: asterinas/asterinas:0.14.1-20250322
|
||||
container: asterinas/asterinas:0.14.1-20250326
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
|
20
.github/workflows/test_asterinas.yml
vendored
20
.github/workflows/test_asterinas.yml
vendored
@ -14,9 +14,9 @@ jobs:
|
||||
if: github.event_name == 'push' || github.event_name == 'pull_request'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
container: asterinas/asterinas:0.14.1-20250322
|
||||
container: asterinas/asterinas:0.14.1-20250326
|
||||
steps:
|
||||
- run: echo "Running in asterinas/asterinas:0.14.1-20250322"
|
||||
- run: echo "Running in asterinas/asterinas:0.14.1-20250326"
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@ -28,9 +28,9 @@ jobs:
|
||||
if: github.event_name == 'push' || github.event_name == 'pull_request'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
container: asterinas/asterinas:0.14.1-20250322
|
||||
container: asterinas/asterinas:0.14.1-20250326
|
||||
steps:
|
||||
- run: echo "Running in asterinas/asterinas:0.14.1-20250322"
|
||||
- run: echo "Running in asterinas/asterinas:0.14.1-20250326"
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@ -45,10 +45,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
container:
|
||||
image: asterinas/asterinas:0.14.1-20250322
|
||||
image: asterinas/asterinas:0.14.1-20250326
|
||||
options: --device=/dev/kvm --privileged
|
||||
steps:
|
||||
- run: echo "Running in asterinas/asterinas:0.14.1-20250322"
|
||||
- run: echo "Running in asterinas/asterinas:0.14.1-20250326"
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@ -67,7 +67,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
container:
|
||||
image: asterinas/asterinas:0.14.1-20250322
|
||||
image: asterinas/asterinas:0.14.1-20250326
|
||||
options: --device=/dev/kvm --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
@ -85,7 +85,7 @@ jobs:
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
- run: echo "Running in asterinas/asterinas:0.14.1-20250322"
|
||||
- run: echo "Running in asterinas/asterinas:0.14.1-20250326"
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@ -142,7 +142,7 @@ jobs:
|
||||
runs-on: self-hosted
|
||||
timeout-minutes: 30
|
||||
container:
|
||||
image: asterinas/asterinas:0.14.1-20250322-tdx
|
||||
image: asterinas/asterinas:0.14.1-20250326-tdx
|
||||
options: --device=/dev/kvm --privileged
|
||||
env:
|
||||
# Need to set up proxy since the self-hosted CI server is located in China,
|
||||
@ -150,7 +150,7 @@ jobs:
|
||||
RUSTUP_DIST_SERVER: https://mirrors.ustc.edu.cn/rust-static
|
||||
RUSTUP_UPDATE_ROOT: https://mirrors.ustc.edu.cn/rust-static/rustup
|
||||
steps:
|
||||
- run: echo "Running in asterinas/asterinas:0.14.1-20250322-tdx"
|
||||
- run: echo "Running in asterinas/asterinas:0.14.1-20250326-tdx"
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up the environment
|
||||
run: |
|
||||
|
2
.github/workflows/test_asterinas_vsock.yml
vendored
2
.github/workflows/test_asterinas_vsock.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
run: |
|
||||
docker run \
|
||||
--privileged --network=host --device=/dev/kvm \
|
||||
-v ./:/root/asterinas asterinas/asterinas:0.14.1-20250322 \
|
||||
-v ./:/root/asterinas asterinas/asterinas:0.14.1-20250326 \
|
||||
make run AUTO_TEST=vsock ENABLE_KVM=0 SCHEME=microvm RELEASE_MODE=1 &
|
||||
- name: Run Vsock Client on Host
|
||||
id: host_vsock_client
|
||||
|
16
.github/workflows/test_osdk.yml
vendored
16
.github/workflows/test_osdk.yml
vendored
@ -21,9 +21,9 @@ jobs:
|
||||
timeout-minutes: 30
|
||||
strategy:
|
||||
matrix:
|
||||
# asterinas/asterinas:0.14.1-20250322 container is the developing container of asterinas,
|
||||
# asterinas/osdk:0.14.1-20250322 container is built with the intructions from Asterinas Book
|
||||
container: ['asterinas/asterinas:0.14.1-20250322', 'asterinas/osdk:0.14.1-20250322']
|
||||
# asterinas/asterinas:0.14.1-20250326 container is the developing container of asterinas,
|
||||
# asterinas/osdk:0.14.1-20250326 container is built with the intructions from Asterinas Book
|
||||
container: ['asterinas/asterinas:0.14.1-20250326', 'asterinas/osdk:0.14.1-20250326']
|
||||
fail-fast: false
|
||||
container: ${{ matrix.container }}
|
||||
steps:
|
||||
@ -33,7 +33,7 @@ jobs:
|
||||
|
||||
- name: Lint
|
||||
id: lint
|
||||
if: matrix.container == 'asterinas/asterinas:0.14.1-20250322'
|
||||
if: matrix.container == 'asterinas/asterinas:0.14.1-20250326'
|
||||
run: make check_osdk
|
||||
|
||||
# Github's actions/checkout@v4 will result in a new user (not root)
|
||||
@ -54,9 +54,9 @@ jobs:
|
||||
RUSTUP_UPDATE_ROOT: https://mirrors.ustc.edu.cn/rust-static/rustup
|
||||
strategy:
|
||||
matrix:
|
||||
# asterinas/asterinas:0.14.1-20250322-tdx container is the developing container of asterinas,
|
||||
# asterinas/osdk:0.14.1-20250322-tdx container is built with the intructions from Asterinas Book
|
||||
container: ['asterinas/asterinas:0.14.1-20250322-tdx', 'asterinas/osdk:0.14.1-20250322-tdx']
|
||||
# asterinas/asterinas:0.14.1-20250326-tdx container is the developing container of asterinas,
|
||||
# asterinas/osdk:0.14.1-20250326-tdx container is built with the intructions from Asterinas Book
|
||||
container: ['asterinas/asterinas:0.14.1-20250326-tdx', 'asterinas/osdk:0.14.1-20250326-tdx']
|
||||
fail-fast: false
|
||||
container:
|
||||
image: ${{ matrix.container }}
|
||||
@ -66,7 +66,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Lint
|
||||
id: lint
|
||||
if: matrix.container == 'asterinas/asterinas:0.14.1-20250322-tdx'
|
||||
if: matrix.container == 'asterinas/asterinas:0.14.1-20250326-tdx'
|
||||
run: make check_osdk
|
||||
# Github's actions/checkout@v4 will result in a new user (not root)
|
||||
# and thus not using the Rust environment we set up in the container.
|
||||
|
@ -54,7 +54,7 @@ git clone https://github.com/asterinas/asterinas
|
||||
2. Run a Docker container as the development environment.
|
||||
|
||||
```bash
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.14.1-20250322
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.14.1-20250326
|
||||
```
|
||||
|
||||
3. Inside the container, go to the project folder to build and run Asterinas.
|
||||
|
@ -49,7 +49,7 @@ git clone https://github.com/asterinas/asterinas
|
||||
2. 运行一个作为开发环境的Docker容器。
|
||||
|
||||
```bash
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.14.1-20250322
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.14.1-20250326
|
||||
```
|
||||
|
||||
3. 在容器内,进入项目文件夹构建并运行星绽。
|
||||
|
@ -45,7 +45,7 @@ git clone https://github.com/asterinas/asterinas
|
||||
2. 開発環境としてDockerコンテナを実行します。
|
||||
|
||||
```bash
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.14.1-20250322
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.14.1-20250326
|
||||
```
|
||||
|
||||
3. コンテナ内でプロジェクトフォルダに移動し、Asterinasをビルドして実行します。
|
||||
|
@ -48,7 +48,7 @@ docker run -it --privileged \
|
||||
--network=host \
|
||||
--device=/dev/kvm \
|
||||
-v $(pwd)/asterinas:/root/asterinas \
|
||||
asterinas/asterinas:0.14.1-20250322
|
||||
asterinas/asterinas:0.14.1-20250326
|
||||
```
|
||||
|
||||
3. Inside the container, go to the project folder to build and run Asterinas.
|
||||
|
@ -66,7 +66,7 @@ git clone https://github.com/asterinas/asterinas
|
||||
2. Run a Docker container as the development environment.
|
||||
|
||||
```bash
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.14.1-20250322-tdx
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.14.1-20250326-tdx
|
||||
```
|
||||
|
||||
3. Inside the container,
|
||||
|
Reference in New Issue
Block a user