Pass through docker prefix and tag for vms-generator
In oder to work for other image registries pointed at by
`--utility-container-prefix` and `--container-tag` when testing
we need to pass through that test flag to the vms-generator
which is used in the tests.
@@ -37,6 +37,8 @@ import (
"kubevirt.io/kubevirt/tests"
qe_reporters "kubevirt.io/qe-tools/pkg/ginkgo-reporters"
+ vmsgeneratorutils "kubevirt.io/kubevirt/tools/vms-generator/utils"
+
_ "kubevirt.io/kubevirt/tests/launchsecurity"
_ "kubevirt.io/kubevirt/tests/monitoring"
_ "kubevirt.io/kubevirt/tests/network"
@@ -76,6 +78,9 @@ func TestTests(t *testing.T) {
reporters = append(reporters, &qe_reporters.Polarion)
}
+ vmsgeneratorutils.DockerPrefix = flags.KubeVirtUtilityRepoPrefix
+ vmsgeneratorutils.DockerTag = flags.KubeVirtVersionTag
+
RunSpecsWithDefaultAndCustomReporters(t, "Tests Suite", reporters)
}
