forked from openshift/kubernetes-nmstate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPSTREAM: <carry>: Add make target to run operator e2e tests against ocp
Signed-off-by: Christoph Stäbler <cstabler@redhat.com> (cherry picked from commit 6a8591b) (cherry picked from commit ded6769)
- Loading branch information
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
# Make sure to set the IMAGE_REPO env variable to your quay.io username | ||
# before running this script. | ||
|
||
# Additionally, the e2e tests rely on extra nics being configured on the | ||
# node. If running from dev-scripts, it will be necessary to configure it to | ||
# deploy the extra nics. | ||
# See https://github.com/openshift-metal3/dev-scripts/pull/1286 for an example. | ||
|
||
set -ex | ||
|
||
export KUBEVIRT_PROVIDER=external | ||
export IMAGE_BUILDER=podman | ||
export DEV_IMAGE_REGISTRY=quay.io | ||
export KUBEVIRTCI_RUNTIME=podman | ||
|
||
make cluster-sync-operator | ||
make test-e2e-operator |