Skip to content

Commit

Permalink
conformance: set KUBEVIRT_PROVIDER in sonobuoy_args
Browse files Browse the repository at this point in the history
Set the environmental variable KUBEVIRT_PROVIDER in sonobuoy_args
to make the function `skipNetworkPolicyRunningOnKindInfra` works

Signed-off-by: howard zhang <[email protected]>
  • Loading branch information
zhlhahaha committed Oct 24, 2023
1 parent 4359917 commit 32f8fb5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hack/conformance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ if [[ ! -z "$SKIP_OUTSIDE_CONN_TESTS" ]]; then
sonobuoy_args="${sonobuoy_args} --plugin-env kubevirt-conformance.E2E_SKIP=\[outside_connectivity\]"
fi

if [[ ! -z "$KUBEVIRT_PROVIDER" ]]; then
sonobuoy_args="${sonobuoy_args} --plugin-env kubevirt-conformance.KUBEVIRT_PROVIDER=${KUBEVIRT_PROVIDER}"
fi

echo 'Executing conformance tests and wait for them to finish'
sonobuoy run ${sonobuoy_args}

Expand Down

0 comments on commit 32f8fb5

Please sign in to comment.