mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-08 21:06:48 +00:00
Bump version to 0.6.0
This commit is contained in:
parent
f675552c5a
commit
f51e002bb2
2
.github/workflows/benchmark_asterinas.yml
vendored
2
.github/workflows/benchmark_asterinas.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
container:
|
container:
|
||||||
image: asterinas/asterinas:0.5.1
|
image: asterinas/asterinas:0.6.0
|
||||||
options: --device=/dev/kvm
|
options: --device=/dev/kvm
|
||||||
env:
|
env:
|
||||||
# Need to set up proxy since the self-hosted CI server is located in China,
|
# Need to set up proxy since the self-hosted CI server is located in China,
|
||||||
|
2
.github/workflows/publish_api_docs.yml
vendored
2
.github/workflows/publish_api_docs.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
build_and_upload:
|
build_and_upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
container: asterinas/asterinas:0.5.1
|
container: asterinas/asterinas:0.6.0
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
2
.github/workflows/publish_osdk.yml
vendored
2
.github/workflows/publish_osdk.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
osdk-publish:
|
osdk-publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
container: asterinas/asterinas:0.5.1
|
container: asterinas/asterinas:0.6.0
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
2
.github/workflows/publish_website.yml
vendored
2
.github/workflows/publish_website.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
build_and_deploy:
|
build_and_deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
container: asterinas/asterinas:0.5.1
|
container: asterinas/asterinas:0.6.0
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
2
.github/workflows/push_git_tag.yml
vendored
2
.github/workflows/push_git_tag.yml
vendored
@ -17,4 +17,4 @@ jobs:
|
|||||||
uses: pxpm/github-tag-action@1.0.1
|
uses: pxpm/github-tag-action@1.0.1
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
tag: v0.5.1
|
tag: v0.6.0
|
||||||
|
12
.github/workflows/test_asterinas.yml
vendored
12
.github/workflows/test_asterinas.yml
vendored
@ -10,9 +10,9 @@ jobs:
|
|||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
container: asterinas/asterinas:0.5.1
|
container: asterinas/asterinas:0.6.0
|
||||||
steps:
|
steps:
|
||||||
- run: echo "Running in asterinas/asterinas:0.5.1"
|
- run: echo "Running in asterinas/asterinas:0.6.0"
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
@ -23,9 +23,9 @@ jobs:
|
|||||||
unit-test:
|
unit-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
container: asterinas/asterinas:0.5.1
|
container: asterinas/asterinas:0.6.0
|
||||||
steps:
|
steps:
|
||||||
- run: echo "Running in asterinas/asterinas:0.5.1"
|
- run: echo "Running in asterinas/asterinas:0.6.0"
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
@ -42,9 +42,9 @@ jobs:
|
|||||||
integration-test:
|
integration-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
container: asterinas/asterinas:0.5.1
|
container: asterinas/asterinas:0.6.0
|
||||||
steps:
|
steps:
|
||||||
- run: echo "Running in asterinas/asterinas:0.5.1"
|
- run: echo "Running in asterinas/asterinas:0.6.0"
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
2
.github/workflows/test_asterinas_vsock.yml
vendored
2
.github/workflows/test_asterinas_vsock.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker run \
|
docker run \
|
||||||
--privileged --network=host --device=/dev/kvm \
|
--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 &
|
make run AUTO_TEST=vsock ENABLE_KVM=0 SCHEME=microvm RELEASE_MODE=1 &
|
||||||
- name: Run Vsock Client on Host
|
- name: Run Vsock Client on Host
|
||||||
id: host_vsock_client
|
id: host_vsock_client
|
||||||
|
8
.github/workflows/test_osdk.yml
vendored
8
.github/workflows/test_osdk.yml
vendored
@ -17,9 +17,9 @@ jobs:
|
|||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# asterinas/asterinas:0.5.1 container is the developing container of asterinas,
|
# asterinas/asterinas:0.6.0 container is the developing container of asterinas,
|
||||||
# asterinas/osdk:0.5.1 container is built with the intructions from Asterinas Book
|
# asterinas/osdk:0.6.0 container is built with the intructions from Asterinas Book
|
||||||
container: ['asterinas/asterinas:0.5.1', 'asterinas/osdk:0.5.1']
|
container: ['asterinas/asterinas:0.6.0', 'asterinas/osdk:0.6.0']
|
||||||
container: ${{ matrix.container }}
|
container: ${{ matrix.container }}
|
||||||
steps:
|
steps:
|
||||||
- run: echo "Running in ${{ matrix.container }}"
|
- run: echo "Running in ${{ matrix.container }}"
|
||||||
@ -28,7 +28,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
id: lint
|
id: lint
|
||||||
if: matrix.container == 'asterinas/asterinas:0.5.1'
|
if: matrix.container == 'asterinas/asterinas:0.6.0'
|
||||||
run: make check_osdk
|
run: make check_osdk
|
||||||
|
|
||||||
# Github's actions/checkout@v4 will result in a new user (not root)
|
# Github's actions/checkout@v4 will result in a new user (not root)
|
||||||
|
@ -52,7 +52,7 @@ git clone https://github.com/asterinas/asterinas
|
|||||||
2. Run a Docker container as the development environment.
|
2. Run a Docker container as the development environment.
|
||||||
|
|
||||||
```bash
|
```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.
|
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容器。
|
2. 运行一个作为开发环境的Docker容器。
|
||||||
|
|
||||||
```bash
|
```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. 在容器内,进入项目文件夹构建并运行星绽。
|
3. 在容器内,进入项目文件夹构建并运行星绽。
|
||||||
|
@ -44,7 +44,7 @@ git clone https://github.com/asterinas/asterinas
|
|||||||
2. Run a Docker container as the development environment.
|
2. Run a Docker container as the development environment.
|
||||||
|
|
||||||
```bash
|
```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.
|
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.
|
2. Run a Docker container as the development environment.
|
||||||
|
|
||||||
```bash
|
```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,
|
3. Inside the container,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "cargo-osdk"
|
name = "cargo-osdk"
|
||||||
version = "0.5.1"
|
version = "0.6.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Accelerate OS development with Asterinas OSDK"
|
description = "Accelerate OS development with Asterinas OSDK"
|
||||||
license = "MPL-2.0"
|
license = "MPL-2.0"
|
||||||
|
@ -96,7 +96,7 @@ update_tag_version() {
|
|||||||
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||||
ASTER_SRC_DIR=${SCRIPT_DIR}/..
|
ASTER_SRC_DIR=${SCRIPT_DIR}/..
|
||||||
DOCS_DIR=${ASTER_SRC_DIR}/docs
|
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
|
OSDK_CARGO_TOML_PATH=${ASTER_SRC_DIR}/osdk/Cargo.toml
|
||||||
VERSION_PATH=${ASTER_SRC_DIR}/VERSION
|
VERSION_PATH=${ASTER_SRC_DIR}/VERSION
|
||||||
|
|
||||||
@ -112,7 +112,7 @@ validate_bump_type
|
|||||||
new_version=$(bump_version ${current_version})
|
new_version=$(bump_version ${current_version})
|
||||||
|
|
||||||
# Update the package version in Cargo.toml
|
# 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}
|
update_package_version ${OSDK_CARGO_TOML_PATH}
|
||||||
|
|
||||||
# Automatically bump Cargo.lock file
|
# Automatically bump Cargo.lock file
|
||||||
@ -131,7 +131,7 @@ for workflow in $WORKFLOWS; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Update tag version in release_tag workflow
|
# 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_tag_version $RELEASE_TAG_WORKFLOW
|
||||||
|
|
||||||
# Update Docker image versions in the documentation
|
# Update Docker image versions in the documentation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user