tools/osbuilder/tests: Remove TRAVIS variable

The last remaining user of the TRAVIS variable in this repo is
tools/osbuilder/tests and it is only used to skip spinning up VMs. Travis
didn't support virtualization and the same is true for github actions hosted
runners. Replace the variable with KVM_MISSING and determine availability of
/dev/kvm at runtime.

TRAVIS is also used by '.ci/setup.sh' in kata-containers/tests to reduce the
set of dependencies that gets installed, but this is also in the process of
being removed.

Fixes: #3544
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
Jeremi Piotrowski
2023-03-03 11:19:38 +01:00
parent f31c79d210
commit 439ff9d4c4
2 changed files with 6 additions and 10 deletions

View File

@@ -19,7 +19,6 @@ jobs:
- "make test"
- "sudo -E PATH=\"$PATH\" make test"
env:
TRAVIS: "true"
RUST_BACKTRACE: "1"
target_branch: ${{ github.base_ref }}
steps: