Bumped Asterinas & OSDK version to 0.5.1

This commit is contained in:
Fabing Li 2024-06-26 17:36:45 +08:00 committed by Tate, Hongliang Tian
parent 18b11ec193
commit 4700ab71bc
16 changed files with 31 additions and 22 deletions

View File

@ -50,7 +50,7 @@ jobs:
- name: Generate Dockerfile for Intel TDX
run: |
pip install Jinja2
python3 ./tools/docker/gen_dockerfile.py
python3 ./tools/docker/gen_dockerfile.py --intel-tdx
- name: Build and push development image for Intel TDX
uses: docker/build-push-action@v4

View File

@ -10,9 +10,9 @@ jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 15
container: asterinas/asterinas:0.5.0
container: asterinas/asterinas:0.5.1
steps:
- run: echo "Running in asterinas/asterinas:0.5.0"
- run: echo "Running in asterinas/asterinas:0.5.1"
- uses: actions/checkout@v4
@ -23,9 +23,9 @@ jobs:
unit-test:
runs-on: ubuntu-latest
timeout-minutes: 15
container: asterinas/asterinas:0.5.0
container: asterinas/asterinas:0.5.1
steps:
- run: echo "Running in asterinas/asterinas:0.5.0"
- run: echo "Running in asterinas/asterinas:0.5.1"
- uses: actions/checkout@v4
@ -42,9 +42,9 @@ jobs:
integration-test:
runs-on: ubuntu-latest
timeout-minutes: 30
container: asterinas/asterinas:0.5.0
container: asterinas/asterinas:0.5.1
steps:
- run: echo "Running in asterinas/asterinas:0.5.0"
- run: echo "Running in asterinas/asterinas:0.5.1"
- uses: actions/checkout@v4

View File

@ -15,7 +15,7 @@ jobs:
osdk-publish:
runs-on: ubuntu-latest
timeout-minutes: 10
container: asterinas/asterinas:0.5.0
container: asterinas/asterinas:0.5.1
steps:
- uses: actions/checkout@v4

View File

@ -15,9 +15,9 @@ jobs:
osdk-test:
runs-on: ubuntu-latest
timeout-minutes: 30
container: asterinas/asterinas:0.5.0
container: asterinas/asterinas:0.5.1
steps:
- run: echo "Running in asterinas/asterinas:0.5.0"
- run: echo "Running in asterinas/asterinas:0.5.1"
- uses: actions/checkout@v4
@ -40,9 +40,9 @@ jobs:
osdk-doc-env-test:
runs-on: ubuntu-latest
timeout-minutes: 15
container: asterinas/osdk:0.5.0
container: asterinas/osdk:0.5.1
steps:
- run: echo "Running in asterinas/osdk:0.5.0"
- run: echo "Running in asterinas/osdk:0.5.1"
- uses: actions/checkout@v4

View File

@ -17,4 +17,4 @@ jobs:
uses: pxpm/github-tag-action@1.0.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
tag: v0.5.0
tag: v0.5.1

View File

@ -16,7 +16,7 @@ jobs:
build_and_upload:
runs-on: ubuntu-latest
timeout-minutes: 15
container: asterinas/asterinas:0.5.0
container: asterinas/asterinas:0.5.1
steps:
- uses: actions/checkout@v2

View File

@ -16,7 +16,7 @@ jobs:
build_and_deploy:
runs-on: ubuntu-latest
timeout-minutes: 15
container: asterinas/asterinas:0.5.0
container: asterinas/asterinas:0.5.1
steps:
- uses: actions/checkout@v2
with:

View File

@ -23,7 +23,7 @@ jobs:
run: |
docker run \
--privileged --network=host --device=/dev/kvm \
-v ./:/root/asterinas asterinas/asterinas:0.5.0 \
-v ./:/root/asterinas asterinas/asterinas:0.5.1 \
make run AUTO_TEST=vsock ENABLE_KVM=0 SCHEME=microvm RELEASE_MODE=1 &
- name: Run Vsock Client on Host
id: host_vsock_client

View File

@ -51,7 +51,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 ./asterinas:/root/asterinas asterinas/asterinas:0.5.0
docker run -it --privileged --network=host --device=/dev/kvm -v ./asterinas:/root/asterinas asterinas/asterinas:0.5.1
```
3. Inside the container, go to the project folder to build and run Asterinas.

View File

@ -48,7 +48,7 @@ git clone https://github.com/asterinas/asterinas
2. 运行一个作为开发环境的Docker容器。
```bash
docker run -it --privileged --network=host --device=/dev/kvm -v ./asterinas:/root/asterinas asterinas/asterinas:0.5.0
docker run -it --privileged --network=host --device=/dev/kvm -v ./asterinas:/root/asterinas asterinas/asterinas:0.5.1
```
3. 在容器内,进入项目文件夹构建并运行星绽。

View File

@ -1 +1 @@
0.5.0
0.5.1

View File

@ -44,7 +44,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 asterinas:/root/asterinas asterinas/asterinas:0.5.0
docker run -it --privileged --network=host --device=/dev/kvm -v asterinas:/root/asterinas asterinas/asterinas:0.5.1
```
3. Inside the container, go to the project folder to build and run Asterinas.

View File

@ -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 ./asterinas:/root/asterinas asterinas/asterinas:0.5.0_tdx
docker run -it --privileged --network=host --device=/dev/kvm -v ./asterinas:/root/asterinas asterinas/asterinas:0.5.1_tdx
```
3. Inside the container,

View File

@ -1,6 +1,6 @@
[package]
name = "cargo-osdk"
version = "0.5.0"
version = "0.5.1"
edition = "2021"
description = "Accelerate OS development with Asterinas OSDK"
license = "MPL-2.0"

View File

@ -85,6 +85,7 @@ validate_bump_type() {
exit 1
;;
esac
}
# Update tag version (`v{version}`) in file $1
update_tag_version() {

View File

@ -16,10 +16,18 @@ RUN apt update && apt-get install -y --no-install-recommends \
git-core \
gnupg \
libssl-dev \
jq \
python3-pip \
python-is-python3 \
wget
#= Download dependency =====================================================
WORKDIR /root/dependency
RUN wget https://raw.githubusercontent.com/asterinas/linux_vdso/2a6d2db/vdso64.so -O vdso64.so
RUN wget https://raw.githubusercontent.com/asterinas/linux_kernel/9e66d28/vmlinuz-5.15.0-105-generic \
-O vmlinuz
#= Build benchmark =========================================================
FROM build-base as build-benchmarks