From c66b96e0a95482a2ef6db3ff1837b6704cdc9668 Mon Sep 17 00:00:00 2001 From: Joseph Caiani Date: Thu, 24 Jan 2019 14:02:55 -0500 Subject: [PATCH] Combine all scripts to single e2e test script --- test-prow-e2e.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 test-prow-e2e.sh diff --git a/test-prow-e2e.sh b/test-prow-e2e.sh new file mode 100755 index 000000000000..a0589db7cc69 --- /dev/null +++ b/test-prow-e2e.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +set -exuo pipefail + +ARTIFACT_DIR=/tmp/artifacts +export ARTIFACT_DIR + +./build.sh + +oc login -u kubeadmin -p $(cat "${ARTIFACT_DIR}/installer/auth/kubeadmin-password") + +source ./contrib/oc-environment.sh + +kubectl create -f https://raw.githubusercontent.com/operator-framework/operator-lifecycle-manager/master/deploy/okd/manifests/0.8.0/0000_30_06-rh-operators.configmap.yaml +kubectl create -f https://raw.githubusercontent.com/operator-framework/operator-lifecycle-manager/master/deploy/okd/manifests/0.8.0/0000_30_09-rh-operators.catalogsource.yaml + +./test-gui.sh e2e + +cp -rv ./frontend/gui_test_screenshots "${ARTIFACT_DIR}/gui_test_screenshots"