mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
ci: add tag for mshv runner
Use mshv runner for mshv workflows. Disable manual trigger. Signed-off-by: AASTHA RAWAT <aastharawat@microsoft.com>
This commit is contained in:
committed by
Rob Bradford
parent
0e50cc320e
commit
3cf310229c
@@ -43,9 +43,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
infra-setup:
|
infra-setup:
|
||||||
name: ${{ inputs.ARCH }} VM Provision
|
name: ${{ inputs.ARCH }} VM Provision
|
||||||
runs-on:
|
runs-on: mshv
|
||||||
- self-hosted
|
|
||||||
- Linux
|
|
||||||
outputs:
|
outputs:
|
||||||
PRIVATE_IP: ${{ steps.get-vm-ip.outputs.PRIVATE_IP }}
|
PRIVATE_IP: ${{ steps.get-vm-ip.outputs.PRIVATE_IP }}
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -4,12 +4,6 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- test_mshv_ci
|
- test_mshv_ci
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
branch:
|
|
||||||
description: 'Branch to run integration tests on'
|
|
||||||
required: true
|
|
||||||
default: 'main'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
infra-setup:
|
infra-setup:
|
||||||
@@ -32,9 +26,7 @@ jobs:
|
|||||||
name: Integration Tests
|
name: Integration Tests
|
||||||
needs: infra-setup
|
needs: infra-setup
|
||||||
if: ${{ always() && needs.infra-setup.result == 'success' }}
|
if: ${{ always() && needs.infra-setup.result == 'success' }}
|
||||||
runs-on:
|
runs-on: mshv
|
||||||
- self-hosted
|
|
||||||
- Linux
|
|
||||||
steps:
|
steps:
|
||||||
- name: Determine branch to build
|
- name: Determine branch to build
|
||||||
run: |
|
run: |
|
||||||
@@ -94,9 +86,7 @@ jobs:
|
|||||||
name: Cleanup
|
name: Cleanup
|
||||||
needs: run-tests
|
needs: run-tests
|
||||||
if: always()
|
if: always()
|
||||||
runs-on:
|
runs-on: mshv
|
||||||
- self-hosted
|
|
||||||
- Linux
|
|
||||||
steps:
|
steps:
|
||||||
- name: Delete RG
|
- name: Delete RG
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user