add hypervisor tag for agents

By default we are now using the kvm hypervisor in tests.
This can be overritten for the entire pipeline at the pipeline
level by using the environment variable `AGENT_TAG_HYPERVISOR`.

Fixes: https://github.com/rust-vmm/rust-vmm-ci/issues/115

Signed-off-by: Andreea Florescu <fandree@amazon.com>
This commit is contained in:
Andreea Florescu
2022-11-30 11:10:07 +01:00
committed by Laura Loghin
parent e8c8fc32b0
commit 45443cc21e
2 changed files with 16 additions and 0 deletions

View File

@@ -74,6 +74,12 @@ variables.
https://github.com/buildkite-plugins/docker-buildkite-plugin.
- `TESTS_TO_SKIP`: specifies a list of tests to be skipped.
- `TIMEOUTS_MIN`: overrides the timeout value for specific tests.
- `DEFAULT_AGENT_TAG_HYPERVISOR`: sets the hypervisor on which all the tests in
the pipeline run. By default, the selected hypervisor is KVM because the
hosts running KVM at the time of this change showed better performance and
experienced timeouts less often. NOTE: This will not override the hypervisor
defined at the test step level. If a test already defines a hypervisor tag
that will remain intact.
The variable `TESTS_TO_SKIP` is specified as a JSON list with the names
of the tests to be skipped. The variable `TIMEOUTS_MIN` is a dictionary where