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:
parent
0e50cc320e
commit
3cf310229c
2 changed files with 3 additions and 15 deletions
4
.github/workflows/mshv-infra.yaml
vendored
4
.github/workflows/mshv-infra.yaml
vendored
|
|
@ -43,9 +43,7 @@ concurrency:
|
|||
jobs:
|
||||
infra-setup:
|
||||
name: ${{ inputs.ARCH }} VM Provision
|
||||
runs-on:
|
||||
- self-hosted
|
||||
- Linux
|
||||
runs-on: mshv
|
||||
outputs:
|
||||
PRIVATE_IP: ${{ steps.get-vm-ip.outputs.PRIVATE_IP }}
|
||||
steps:
|
||||
|
|
|
|||
14
.github/workflows/mshv-integration.yaml
vendored
14
.github/workflows/mshv-integration.yaml
vendored
|
|
@ -4,12 +4,6 @@ on:
|
|||
branches:
|
||||
- test_mshv_ci
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
branch:
|
||||
description: 'Branch to run integration tests on'
|
||||
required: true
|
||||
default: 'main'
|
||||
|
||||
jobs:
|
||||
infra-setup:
|
||||
|
|
@ -32,9 +26,7 @@ jobs:
|
|||
name: Integration Tests
|
||||
needs: infra-setup
|
||||
if: ${{ always() && needs.infra-setup.result == 'success' }}
|
||||
runs-on:
|
||||
- self-hosted
|
||||
- Linux
|
||||
runs-on: mshv
|
||||
steps:
|
||||
- name: Determine branch to build
|
||||
run: |
|
||||
|
|
@ -94,9 +86,7 @@ jobs:
|
|||
name: Cleanup
|
||||
needs: run-tests
|
||||
if: always()
|
||||
runs-on:
|
||||
- self-hosted
|
||||
- Linux
|
||||
runs-on: mshv
|
||||
steps:
|
||||
- name: Delete RG
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue