Skip to content

Commit

Permalink
Combine all scripts to single e2e test script
Browse files Browse the repository at this point in the history
  • Loading branch information
jcaianirh committed Jan 28, 2019
1 parent 21d0a9d commit c66b96e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions test-prow-e2e.sh
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit c66b96e

Please sign in to comment.