mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
ci: consolidate mshv integration tests into ci.yaml
Migrate the MSHV integration tests to run natively on the self-hosted runner instead of spinning up a separate VM. This simplifies the workflow pipeline & mitigates Azure capacity issues. Signed-off-by: Aastha Rawat <aastharawat@microsoft.com>
This commit is contained in:
committed by
Rob Bradford
parent
b72a1cd6b4
commit
efedfb47e9
23
.github/workflows/ci.yaml
vendored
23
.github/workflows/ci.yaml
vendored
@@ -711,6 +711,28 @@ jobs:
|
|||||||
- name: Run Windows guest integration tests for musl
|
- name: Run Windows guest integration tests for musl
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
run: scripts/dev_cli.sh tests --integration-windows --libc musl
|
run: scripts/dev_cli.sh tests --integration-windows --libc musl
|
||||||
|
integration-mshv-x86-64:
|
||||||
|
name: integration-mshv-x86-64
|
||||||
|
needs: [preflight, dco, quality, build]
|
||||||
|
if: >-
|
||||||
|
needs.preflight.outputs.full == 'true' && needs.dco.result == 'success' && needs.quality.result == 'success' && needs.build.result == 'success'
|
||||||
|
timeout-minutes: 35
|
||||||
|
runs-on: mshv
|
||||||
|
steps:
|
||||||
|
# mshv runner user is "lsgunner"
|
||||||
|
- name: Fix workspace and Docker socket permissions
|
||||||
|
run: |
|
||||||
|
sudo chown -R lsgrunner:lsgrunner ${GITHUB_WORKSPACE}
|
||||||
|
sudo chmod 666 /var/run/docker.sock
|
||||||
|
- name: Code checkout
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Prepare for VDPA
|
||||||
|
run: scripts/prepare_vdpa.sh
|
||||||
|
- name: Run integration tests
|
||||||
|
timeout-minutes: 30
|
||||||
|
run: scripts/dev_cli.sh tests --integration
|
||||||
# Rate-limiter host is not available
|
# Rate-limiter host is not available
|
||||||
# integration-rate-limiter:
|
# integration-rate-limiter:
|
||||||
# name: integration-rate-limiter
|
# name: integration-rate-limiter
|
||||||
@@ -789,6 +811,7 @@ jobs:
|
|||||||
- integration-sev-snp
|
- integration-sev-snp
|
||||||
# VFIO worker is failing #8160
|
# VFIO worker is failing #8160
|
||||||
# - integration-vfio
|
# - integration-vfio
|
||||||
|
- integration-mshv-x86-64
|
||||||
- integration-windows
|
- integration-windows
|
||||||
- integration-x86-64-mq
|
- integration-x86-64-mq
|
||||||
- integration-x86-64-pr
|
- integration-x86-64-pr
|
||||||
|
|||||||
Reference in New Issue
Block a user