Bump docker-ref to 0.17.0
This commit is contained in:
parent
92be068d70
commit
37f5d1db87
|
|
@ -107,7 +107,7 @@ jobs:
|
||||||
max-parallel: 1
|
max-parallel: 1
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
container:
|
container:
|
||||||
image: asterinas/asterinas:0.16.2-20251211
|
image: asterinas/asterinas:0.17.0-20251213
|
||||||
options: --device=/dev/kvm --privileged
|
options: --device=/dev/kvm --privileged
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@ jobs:
|
||||||
max-parallel: 1
|
max-parallel: 1
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
container:
|
container:
|
||||||
image: asterinas/asterinas:0.16.2-20251211
|
image: asterinas/asterinas:0.17.0-20251213
|
||||||
options: --device=/dev/kvm --privileged
|
options: --device=/dev/kvm --privileged
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
check_api_docs:
|
check_api_docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
container: asterinas/asterinas:0.16.2-20251211
|
container: asterinas/asterinas:0.17.0-20251213
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ jobs:
|
||||||
push-cachix:
|
push-cachix:
|
||||||
runs-on: ubuntu-4-cores-150GB-ssd
|
runs-on: ubuntu-4-cores-150GB-ssd
|
||||||
container:
|
container:
|
||||||
image: asterinas/asterinas:0.16.2-20251209
|
image: asterinas/asterinas:0.17.0-20251213
|
||||||
options: -v /dev:/dev --privileged
|
options: -v /dev:/dev --privileged
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -83,7 +83,7 @@ jobs:
|
||||||
- name: Build ISO
|
- name: Build ISO
|
||||||
uses: addnab/docker-run-action@v3
|
uses: addnab/docker-run-action@v3
|
||||||
with:
|
with:
|
||||||
image: asterinas/asterinas:0.16.2-20251209
|
image: asterinas/asterinas:0.17.0-20251213
|
||||||
options: --privileged -v /dev:/dev -v ${{ github.workspace }}:/root/asterinas
|
options: --privileged -v /dev:/dev -v ${{ github.workspace }}:/root/asterinas
|
||||||
run: |
|
run: |
|
||||||
make iso RELEASE=1 AUTO_INSTALL=false ARCH=${{ matrix.arch }}
|
make iso RELEASE=1 AUTO_INSTALL=false ARCH=${{ matrix.arch }}
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
container: asterinas/asterinas:0.16.2-20251211
|
container: asterinas/asterinas:0.17.0-20251213
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ jobs:
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
container: asterinas/asterinas:0.16.2-20251211
|
container: asterinas/asterinas:0.17.0-20251213
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,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.16.2-20251211
|
container: asterinas/asterinas:0.17.0-20251213
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
push-pkgs:
|
push-pkgs:
|
||||||
runs-on: ubuntu-4-cores-150GB-ssd
|
runs-on: ubuntu-4-cores-150GB-ssd
|
||||||
container:
|
container:
|
||||||
image: asterinas/asterinas:0.16.2-20251209
|
image: asterinas/asterinas:0.17.0-20251213
|
||||||
options: -v /dev:/dev --privileged
|
options: -v /dev:/dev --privileged
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
|
|
@ -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.16.2-20251211 \
|
-v ./:/root/asterinas asterinas/asterinas:0.17.0-20251213 \
|
||||||
make run_kernel AUTO_TEST=vsock ENABLE_KVM=0 SCHEME=microvm RELEASE_MODE=1 &
|
make run_kernel 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
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
iso-test:
|
iso-test:
|
||||||
runs-on: ubuntu-4-cores-150GB-ssd
|
runs-on: ubuntu-4-cores-150GB-ssd
|
||||||
container:
|
container:
|
||||||
image: asterinas/asterinas:0.16.2-20251211
|
image: asterinas/asterinas:0.17.0-20251213
|
||||||
options: -v /dev:/dev --privileged
|
options: -v /dev:/dev --privileged
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ jobs:
|
||||||
basic-test:
|
basic-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: asterinas/asterinas:0.16.2-20251211
|
image: asterinas/asterinas:0.17.0-20251213
|
||||||
options: --device=/dev/kvm --privileged
|
options: --device=/dev/kvm --privileged
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ jobs:
|
||||||
full-nixos-test:
|
full-nixos-test:
|
||||||
runs-on: ubuntu-4-cores-150GB-ssd
|
runs-on: ubuntu-4-cores-150GB-ssd
|
||||||
container:
|
container:
|
||||||
image: asterinas/asterinas:0.16.2-20251211
|
image: asterinas/asterinas:0.17.0-20251213
|
||||||
options: -v /dev:/dev --privileged
|
options: -v /dev:/dev --privileged
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -56,7 +56,7 @@ jobs:
|
||||||
podman-test:
|
podman-test:
|
||||||
runs-on: ubuntu-4-cores-150GB-ssd
|
runs-on: ubuntu-4-cores-150GB-ssd
|
||||||
container:
|
container:
|
||||||
image: asterinas/asterinas:0.16.2-20251211
|
image: asterinas/asterinas:0.17.0-20251213
|
||||||
options: -v /dev:/dev --privileged
|
options: -v /dev:/dev --privileged
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ jobs:
|
||||||
- name: Run a Hello World program on AsterNixOS
|
- name: Run a Hello World program on AsterNixOS
|
||||||
uses: addnab/docker-run-action@v3
|
uses: addnab/docker-run-action@v3
|
||||||
with:
|
with:
|
||||||
image: asterinas/asterinas:0.16.2-20251211
|
image: asterinas/asterinas:0.17.0-20251213
|
||||||
options: --privileged -v /dev:/dev -v ${{ github.workspace }}:/root/asterinas
|
options: --privileged -v /dev:/dev -v ${{ github.workspace }}:/root/asterinas
|
||||||
run: |
|
run: |
|
||||||
make nixos NIXOS_DISK_SIZE_IN_MB=6144 NIXOS_TEST_COMMAND='hello-asterinas' || true
|
make nixos NIXOS_DISK_SIZE_IN_MB=6144 NIXOS_TEST_COMMAND='hello-asterinas' || true
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ jobs:
|
||||||
basic-test:
|
basic-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: asterinas/asterinas:0.16.2-20251211
|
image: asterinas/asterinas:0.17.0-20251213
|
||||||
options: --device=/dev/kvm --privileged
|
options: --device=/dev/kvm --privileged
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
integration-test:
|
integration-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: asterinas/asterinas:0.16.2-20251211
|
image: asterinas/asterinas:0.17.0-20251213
|
||||||
options: --device=/dev/kvm --privileged
|
options: --device=/dev/kvm --privileged
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ jobs:
|
||||||
basic-test:
|
basic-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: asterinas/asterinas:0.16.2-20251211
|
image: asterinas/asterinas:0.17.0-20251213
|
||||||
options: --device=/dev/kvm --privileged
|
options: --device=/dev/kvm --privileged
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
integration-test:
|
integration-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: asterinas/asterinas:0.16.2-20251211
|
image: asterinas/asterinas:0.17.0-20251213
|
||||||
options: --device=/dev/kvm --privileged
|
options: --device=/dev/kvm --privileged
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -113,7 +113,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
image: ['asterinas/asterinas:0.16.2-20251211', 'asterinas/osdk:0.16.2-20251211']
|
image: ['asterinas/asterinas:0.17.0-20251213', 'asterinas/osdk:0.17.0-20251213']
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
container:
|
container:
|
||||||
image: ${{ matrix.image }}
|
image: ${{ matrix.image }}
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ jobs:
|
||||||
integration-test:
|
integration-test:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
container:
|
container:
|
||||||
image: asterinas/asterinas:0.16.2-20251211
|
image: asterinas/asterinas:0.17.0-20251213
|
||||||
options: --device=/dev/kvm --privileged
|
options: --device=/dev/kvm --privileged
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -58,7 +58,7 @@ jobs:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
image: ['asterinas/asterinas:0.16.2-20251211', 'asterinas/osdk:0.16.2-20251211']
|
image: ['asterinas/asterinas:0.17.0-20251213', 'asterinas/osdk:0.17.0-20251213']
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
container:
|
container:
|
||||||
image: ${{ matrix.image }}
|
image: ${{ matrix.image }}
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
validate_scmls:
|
validate_scmls:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
container: asterinas/asterinas:0.16.2-20251211
|
container: asterinas/asterinas:0.17.0-20251213
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Validate SCML files with sctrace
|
- name: Validate SCML files with sctrace
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ Follow the steps below to get Asterinas up and running.
|
||||||
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 -v /dev:/dev -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.16.2-20251211
|
docker run -it --privileged --network=host -v /dev:/dev -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.17.0-20251213
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Inside the container,
|
3. Inside the container,
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ Follow the three simple steps below to get Asterinas up and running.
|
||||||
--network=host \
|
--network=host \
|
||||||
--device=/dev/kvm \
|
--device=/dev/kvm \
|
||||||
-v $(pwd)/asterinas:/root/asterinas \
|
-v $(pwd)/asterinas:/root/asterinas \
|
||||||
asterinas/asterinas:0.16.2-20251211
|
asterinas/asterinas:0.17.0-20251213
|
||||||
```
|
```
|
||||||
|
|
||||||
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 @@ The following result is an example:
|
||||||
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 $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.16.2-20251211
|
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.17.0-20251213
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Inside the container,
|
3. Inside the container,
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ Therefore, it is recommended to use a Docker image to deploy the environment.
|
||||||
Run a TDX Docker container:
|
Run a TDX Docker container:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it --privileged --network=host --device=/dev/kvm asterinas/osdk:0.16.2-20251211
|
docker run -it --privileged --network=host --device=/dev/kvm asterinas/osdk:0.17.0-20251213
|
||||||
```
|
```
|
||||||
|
|
||||||
## Edit `OSDK.toml` for Intel TDX support
|
## Edit `OSDK.toml` for Intel TDX support
|
||||||
|
|
|
||||||
|
|
@ -124,7 +124,7 @@ update_all_docker_version_refs() {
|
||||||
|
|
||||||
# Update Docker image versions in the Book
|
# Update Docker image versions in the Book
|
||||||
update_image_versions ${BOOK_DIR}/src/kernel/README.md
|
update_image_versions ${BOOK_DIR}/src/kernel/README.md
|
||||||
update_image_versions ${BOOK_DIR}/src/kernel/intel_tdx.md
|
update_image_versions ${BOOK_DIR}/src/kernel/intel-tdx.md
|
||||||
update_image_versions ${BOOK_DIR}/src/osdk/guide/intel-tdx.md
|
update_image_versions ${BOOK_DIR}/src/osdk/guide/intel-tdx.md
|
||||||
|
|
||||||
# Update Docker image versions in workflows
|
# Update Docker image versions in workflows
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue