diff --git a/data-plane/kiali/.gitignore b/data-plane/kiali/.gitignore new file mode 100644 index 0000000..7fb8751 --- /dev/null +++ b/data-plane/kiali/.gitignore @@ -0,0 +1,3 @@ + +# ignore kiali repository content +kiali diff --git a/data-plane/kiali/run.sh b/data-plane/kiali/run.sh new file mode 100755 index 0000000..aaca1fc --- /dev/null +++ b/data-plane/kiali/run.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +git clone https://github.com/kiali/kiali.git +cd kiali +npm install cypress --save-dev +yarn add cypress --dev +cd frontend +npm install cypress --save-dev +yarn add cypress --dev +cd .. + +KIALI_ROUTE=$(oc get route kiali -n ${SMCP_NAMESPACE} -o=jsonpath='{.spec.host}') +export CYPRESS_BASE_URL="https://${KIALI_ROUTE}" +export CYPRESS_USERNAME=${OCP_CRED_USR} +export CYPRESS_PASSWD=${OCP_CRED_PSW} +export CYPRESS_AUTH_PROVIDER="kube:admin" + + +chmod +x hack/run-performance-tests.sh + +./hack/run-performance-tests.sh