Switch to a new Docker image 0.17.0-20260114
This commit is contained in:
parent
bd72728e04
commit
815cbf061b
|
|
@ -107,7 +107,7 @@ jobs:
|
|||
max-parallel: 1
|
||||
timeout-minutes: 60
|
||||
container:
|
||||
image: asterinas/asterinas:0.17.0-20251228
|
||||
image: asterinas/asterinas:0.17.0-20260114
|
||||
options: --device=/dev/kvm --privileged
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ jobs:
|
|||
max-parallel: 1
|
||||
timeout-minutes: 60
|
||||
container:
|
||||
image: asterinas/asterinas:0.17.0-20251228
|
||||
image: asterinas/asterinas:0.17.0-20260114
|
||||
options: --device=/dev/kvm --privileged
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ jobs:
|
|||
check_api_docs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
container: asterinas/asterinas:0.17.0-20251228
|
||||
container: asterinas/asterinas:0.17.0-20260114
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
push-cachix:
|
||||
runs-on: ubuntu-4-cores-150GB-ssd
|
||||
container:
|
||||
image: asterinas/asterinas:0.17.0-20251228
|
||||
image: asterinas/asterinas:0.17.0-20260114
|
||||
options: -v /dev:/dev --privileged
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
|
|
@ -93,7 +93,7 @@ jobs:
|
|||
- name: Build ISO
|
||||
uses: addnab/docker-run-action@v3
|
||||
with:
|
||||
image: asterinas/asterinas:0.17.0-20251228
|
||||
image: asterinas/asterinas:0.17.0-20260114
|
||||
options: --privileged -v /dev:/dev -v ${{ github.workspace }}:/root/asterinas
|
||||
run: |
|
||||
export ASTER_BUILD_TIMESTAMP=`date '+%a %b %e %H:%M:%S %Z %Y'`
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
container: asterinas/asterinas:0.17.0-20251228
|
||||
container: asterinas/asterinas:0.17.0-20260114
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
container: asterinas/asterinas:0.17.0-20251228
|
||||
container: asterinas/asterinas:0.17.0-20260114
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
build_and_deploy:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
container: asterinas/asterinas:0.17.0-20251228
|
||||
container: asterinas/asterinas:0.17.0-20260114
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
push-pkgs:
|
||||
runs-on: ubuntu-4-cores-150GB-ssd
|
||||
container:
|
||||
image: asterinas/asterinas:0.17.0-20251228
|
||||
image: asterinas/asterinas:0.17.0-20260114
|
||||
options: -v /dev:/dev --privileged
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
run: |
|
||||
docker run \
|
||||
--privileged --network=host --device=/dev/kvm \
|
||||
-v ./:/root/asterinas asterinas/asterinas:0.17.0-20251228 \
|
||||
-v ./:/root/asterinas asterinas/asterinas:0.17.0-20260114 \
|
||||
make run_kernel AUTO_TEST=vsock ENABLE_KVM=0 SCHEME=microvm RELEASE_MODE=1 &
|
||||
- name: Run Vsock Client on Host
|
||||
id: host_vsock_client
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
iso-test:
|
||||
runs-on: ubuntu-4-cores-150GB-ssd
|
||||
container:
|
||||
image: asterinas/asterinas:0.17.0-20251228
|
||||
image: asterinas/asterinas:0.17.0-20260114
|
||||
options: -v /dev:/dev --privileged
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
basic-test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: asterinas/asterinas:0.17.0-20251228
|
||||
image: asterinas/asterinas:0.17.0-20260114
|
||||
options: --device=/dev/kvm --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
full-nixos-test:
|
||||
runs-on: ubuntu-4-cores-150GB-ssd
|
||||
container:
|
||||
image: asterinas/asterinas:0.17.0-20251228
|
||||
image: asterinas/asterinas:0.17.0-20260114
|
||||
options: -v /dev:/dev --privileged
|
||||
|
||||
strategy:
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ jobs:
|
|||
timeout-minutes: 30
|
||||
uses: addnab/docker-run-action@v3
|
||||
with:
|
||||
image: asterinas/asterinas:0.17.0-20251228
|
||||
image: asterinas/asterinas:0.17.0-20260114
|
||||
options: --privileged -v /dev:/dev -v ${{ github.workspace }}:/root/asterinas
|
||||
run: |
|
||||
make nixos NIXOS_TEST_SUITE=hello NIXOS_DISK_SIZE_IN_MB=6144
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
basic-test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: asterinas/asterinas:0.17.0-20251228
|
||||
image: asterinas/asterinas:0.17.0-20260114
|
||||
options: --device=/dev/kvm --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
integration-test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: asterinas/asterinas:0.17.0-20251228
|
||||
image: asterinas/asterinas:0.17.0-20260114
|
||||
options: --device=/dev/kvm --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
basic-test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: asterinas/asterinas:0.17.0-20251228
|
||||
image: asterinas/asterinas:0.17.0-20260114
|
||||
options: --device=/dev/kvm --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
integration-test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: asterinas/asterinas:0.17.0-20251228
|
||||
image: asterinas/asterinas:0.17.0-20260114
|
||||
options: --device=/dev/kvm --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
@ -113,7 +113,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
image: ['asterinas/asterinas:0.17.0-20251228', 'asterinas/osdk:0.17.0-20251228']
|
||||
image: ['asterinas/asterinas:0.17.0-20260114', 'asterinas/osdk:0.17.0-20260114']
|
||||
fail-fast: false
|
||||
container:
|
||||
image: ${{ matrix.image }}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
integration-test:
|
||||
runs-on: self-hosted
|
||||
container:
|
||||
image: asterinas/asterinas:0.17.0-20251228
|
||||
image: asterinas/asterinas:0.17.0-20260114
|
||||
options: --device=/dev/kvm --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
@ -58,7 +58,7 @@ jobs:
|
|||
runs-on: self-hosted
|
||||
strategy:
|
||||
matrix:
|
||||
image: ['asterinas/asterinas:0.17.0-20251228', 'asterinas/osdk:0.17.0-20251228']
|
||||
image: ['asterinas/asterinas:0.17.0-20260114', 'asterinas/osdk:0.17.0-20260114']
|
||||
fail-fast: false
|
||||
container:
|
||||
image: ${{ matrix.image }}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
validate_scmls:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
container: asterinas/asterinas:0.17.0-20251228
|
||||
container: asterinas/asterinas:0.17.0-20260114
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Validate SCML files with sctrace
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ Follow the steps below to get Asterinas up and running.
|
|||
2. Run a Docker container as the development environment:
|
||||
|
||||
```bash
|
||||
docker run -it --privileged --network=host -v /dev:/dev -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.17.0-20251228
|
||||
docker run -it --privileged --network=host -v /dev:/dev -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.17.0-20260114
|
||||
```
|
||||
|
||||
3. Inside the container,
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ Follow the three simple steps below to get Asterinas up and running.
|
|||
--network=host \
|
||||
--device=/dev/kvm \
|
||||
-v $(pwd)/asterinas:/root/asterinas \
|
||||
asterinas/asterinas:0.17.0-20251228
|
||||
asterinas/asterinas:0.17.0-20260114
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
```bash
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.17.0-20251228
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.17.0-20260114
|
||||
```
|
||||
|
||||
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:
|
||||
|
||||
```bash
|
||||
docker run -it --privileged --network=host --device=/dev/kvm asterinas/osdk:0.17.0-20251228
|
||||
docker run -it --privileged --network=host --device=/dev/kvm asterinas/osdk:0.17.0-20260114
|
||||
```
|
||||
|
||||
## Edit `OSDK.toml` for Intel TDX support
|
||||
|
|
|
|||
Loading…
Reference in New Issue