Public Access
41 lines
1.3 KiB
YAML
41 lines
1.3 KiB
YAML
name: Existing Docker-host KVM diagnostic
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
existing-kvm-diagnostic:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
env:
|
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1"
|
|
DOTNET_NOLOGO: "1"
|
|
steps:
|
|
- name: Checkout diagnostic source
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Setup .NET for the diagnostic helper
|
|
uses: actions/setup-dotnet@v6
|
|
with:
|
|
dotnet-version: "10.0.x"
|
|
|
|
- name: Test only the existing Docker-host KVM device
|
|
run: dotnet run --file tools/ci/ExistingKvmDiagnostic.cs -- --run --output artifacts/existing-kvm
|
|
|
|
- name: Always retry cleanup of this diagnostic's owned container
|
|
if: always()
|
|
run: dotnet run --file tools/ci/ExistingKvmDiagnostic.cs -- --cleanup --output artifacts/existing-kvm
|
|
|
|
- name: Remove only run 4165's unused inherited anonymous volume
|
|
if: always()
|
|
run: dotnet run --file tools/ci/ExistingKvmDiagnostic.cs -- --cleanup-run4165-volume --output artifacts/existing-kvm/run4165-volume-cleanup
|
|
|
|
- name: Preserve KVM diagnostic evidence
|
|
if: always()
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: existing-docker-host-kvm-diagnostic
|
|
path: artifacts/existing-kvm/
|
|
if-no-files-found: error
|
|
retention-days: 7
|