Bump version to 0.6.0

This commit is contained in:
Jianfeng Jiang 2024-06-28 12:52:48 +00:00 committed by Tate, Hongliang Tian
parent f675552c5a
commit f51e002bb2
15 changed files with 25 additions and 25 deletions

View File

@ -15,7 +15,7 @@ jobs:
fail-fast: false
timeout-minutes: 60
container:
image: asterinas/asterinas:0.5.1
image: asterinas/asterinas:0.6.0
options: --device=/dev/kvm
env:
# Need to set up proxy since the self-hosted CI server is located in China,

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -23,7 +23,7 @@ jobs:
run: |
docker run \
--privileged --network=host --device=/dev/kvm \
-v ./:/root/asterinas asterinas/asterinas:0.5.1 \
-v ./:/root/asterinas asterinas/asterinas:0.6.0 \
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

@ -17,9 +17,9 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
# asterinas/asterinas:0.5.1 container is the developing container of asterinas,
# asterinas/osdk:0.5.1 container is built with the intructions from Asterinas Book
container: ['asterinas/asterinas:0.5.1', 'asterinas/osdk:0.5.1']
# asterinas/asterinas:0.6.0 container is the developing container of asterinas,
# asterinas/osdk:0.6.0 container is built with the intructions from Asterinas Book
container: ['asterinas/asterinas:0.6.0', 'asterinas/osdk:0.6.0']
container: ${{ matrix.container }}
steps:
- run: echo "Running in ${{ matrix.container }}"
@ -28,7 +28,7 @@ jobs:
- name: Lint
id: lint
if: matrix.container == 'asterinas/asterinas:0.5.1'
if: matrix.container == 'asterinas/asterinas:0.6.0'
run: make check_osdk
# Github's actions/checkout@v4 will result in a new user (not root)

View File

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

View File

@ -49,7 +49,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.1
docker run -it --privileged --network=host --device=/dev/kvm -v ./asterinas:/root/asterinas asterinas/asterinas:0.6.0
```
3. 在容器内,进入项目文件夹构建并运行星绽。

View File

@ -1 +1 @@
0.5.1
0.6.0

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

View File

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

View File

@ -96,7 +96,7 @@ update_tag_version() {
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
ASTER_SRC_DIR=${SCRIPT_DIR}/..
DOCS_DIR=${ASTER_SRC_DIR}/docs
CARGO_TOML_PATH=${ASTER_SRC_DIR}/Cargo.toml
OSTD_CARGO_TOML_PATH=${ASTER_SRC_DIR}/Cargo.toml
OSDK_CARGO_TOML_PATH=${ASTER_SRC_DIR}/osdk/Cargo.toml
VERSION_PATH=${ASTER_SRC_DIR}/VERSION
@ -112,7 +112,7 @@ validate_bump_type
new_version=$(bump_version ${current_version})
# Update the package version in Cargo.toml
update_package_version ${CARGO_TOML_PATH}
update_package_version ${OSTD_CARGO_TOML_PATH}
update_package_version ${OSDK_CARGO_TOML_PATH}
# Automatically bump Cargo.lock file
@ -131,7 +131,7 @@ for workflow in $WORKFLOWS; do
done
# Update tag version in release_tag workflow
RELEASE_TAG_WORKFLOW=${ASTER_SRC_DIR}/.github/workflows/release_tag.yml
RELEASE_TAG_WORKFLOW=${ASTER_SRC_DIR}/.github/workflows/push_git_tag.yml
update_tag_version $RELEASE_TAG_WORKFLOW
# Update Docker image versions in the documentation