Bump docker-ref to 0.17.0
This commit is contained in:
parent
92be068d70
commit
37f5d1db87
|
|
@ -107,7 +107,7 @@ jobs:
|
|||
max-parallel: 1
|
||||
timeout-minutes: 60
|
||||
container:
|
||||
image: asterinas/asterinas:0.16.2-20251211
|
||||
image: asterinas/asterinas:0.17.0-20251213
|
||||
options: --device=/dev/kvm --privileged
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ jobs:
|
|||
max-parallel: 1
|
||||
timeout-minutes: 60
|
||||
container:
|
||||
image: asterinas/asterinas:0.16.2-20251211
|
||||
image: asterinas/asterinas:0.17.0-20251213
|
||||
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.16.2-20251211
|
||||
container: asterinas/asterinas:0.17.0-20251213
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
push-cachix:
|
||||
runs-on: ubuntu-4-cores-150GB-ssd
|
||||
container:
|
||||
image: asterinas/asterinas:0.16.2-20251209
|
||||
image: asterinas/asterinas:0.17.0-20251213
|
||||
options: -v /dev:/dev --privileged
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
|
|
@ -83,7 +83,7 @@ jobs:
|
|||
- name: Build ISO
|
||||
uses: addnab/docker-run-action@v3
|
||||
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
|
||||
run: |
|
||||
make iso RELEASE=1 AUTO_INSTALL=false ARCH=${{ matrix.arch }}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
container: asterinas/asterinas:0.16.2-20251211
|
||||
container: asterinas/asterinas:0.17.0-20251213
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
container: asterinas/asterinas:0.16.2-20251211
|
||||
container: asterinas/asterinas:0.17.0-20251213
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
build_and_deploy:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
container: asterinas/asterinas:0.16.2-20251211
|
||||
container: asterinas/asterinas:0.17.0-20251213
|
||||
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.16.2-20251209
|
||||
image: asterinas/asterinas:0.17.0-20251213
|
||||
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.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 &
|
||||
- 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.16.2-20251211
|
||||
image: asterinas/asterinas:0.17.0-20251213
|
||||
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.16.2-20251211
|
||||
image: asterinas/asterinas:0.17.0-20251213
|
||||
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.16.2-20251211
|
||||
image: asterinas/asterinas:0.17.0-20251213
|
||||
options: -v /dev:/dev --privileged
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
|
|
@ -56,7 +56,7 @@ jobs:
|
|||
podman-test:
|
||||
runs-on: ubuntu-4-cores-150GB-ssd
|
||||
container:
|
||||
image: asterinas/asterinas:0.16.2-20251211
|
||||
image: asterinas/asterinas:0.17.0-20251213
|
||||
options: -v /dev:/dev --privileged
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
- name: Run a Hello World program on AsterNixOS
|
||||
uses: addnab/docker-run-action@v3
|
||||
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
|
||||
run: |
|
||||
make nixos NIXOS_DISK_SIZE_IN_MB=6144 NIXOS_TEST_COMMAND='hello-asterinas' || true
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
basic-test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: asterinas/asterinas:0.16.2-20251211
|
||||
image: asterinas/asterinas:0.17.0-20251213
|
||||
options: --device=/dev/kvm --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
integration-test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: asterinas/asterinas:0.16.2-20251211
|
||||
image: asterinas/asterinas:0.17.0-20251213
|
||||
options: --device=/dev/kvm --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
basic-test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: asterinas/asterinas:0.16.2-20251211
|
||||
image: asterinas/asterinas:0.17.0-20251213
|
||||
options: --device=/dev/kvm --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
integration-test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: asterinas/asterinas:0.16.2-20251211
|
||||
image: asterinas/asterinas:0.17.0-20251213
|
||||
options: --device=/dev/kvm --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
@ -113,7 +113,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
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
|
||||
container:
|
||||
image: ${{ matrix.image }}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
integration-test:
|
||||
runs-on: self-hosted
|
||||
container:
|
||||
image: asterinas/asterinas:0.16.2-20251211
|
||||
image: asterinas/asterinas:0.17.0-20251213
|
||||
options: --device=/dev/kvm --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
@ -58,7 +58,7 @@ jobs:
|
|||
runs-on: self-hosted
|
||||
strategy:
|
||||
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
|
||||
container:
|
||||
image: ${{ matrix.image }}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
validate_scmls:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
container: asterinas/asterinas:0.16.2-20251211
|
||||
container: asterinas/asterinas:0.17.0-20251213
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- 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:
|
||||
|
||||
```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,
|
||||
|
|
|
|||
|
|
@ -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.16.2-20251211
|
||||
asterinas/asterinas:0.17.0-20251213
|
||||
```
|
||||
|
||||
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.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,
|
||||
|
|
|
|||
|
|
@ -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.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
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ update_all_docker_version_refs() {
|
|||
|
||||
# Update Docker image versions in the Book
|
||||
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 Docker image versions in workflows
|
||||
|
|
|
|||
Loading…
Reference in New Issue