13f99c1cfa
This change updates the deploy-selenium playbook to install Selenium using pip 3. The shell scripts which call our selenium test python files have been updated to use python 3. Change-Id: I7fc82ecd830d460639c718614ce1cca9fd4d1953
17 lines
737 B
Bash
Executable File
17 lines
737 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -xe
|
|
|
|
export CHROMEDRIVER="${CHROMEDRIVER:="/etc/selenium/chromedriver"}"
|
|
export ARTIFACTS_DIR="${ARTIFACTS_DIR:="/tmp/artifacts/"}"
|
|
|
|
export KIBANA_USER="admin"
|
|
export KIBANA_PASSWORD="changeme"
|
|
export KIBANA_URI="kibana.osh-infra.svc.cluster.local"
|
|
|
|
export KERNEL_QUERY="discover?_g=()&_a=(columns:!(_source),index:'kernel-*',interval:auto,query:(match_all:()),sort:!('@timestamp',desc))"
|
|
export JOURNAL_QUERY="discover?_g=()&_a=(columns:!(_source),index:'journal-*',interval:auto,query:(match_all:()),sort:!('@timestamp',desc))"
|
|
export LOGSTASH_QUERY="discover?_g=()&_a=(columns:!(_source),index:'logstash-*',interval:auto,query:(match_all:()),sort:!('@timestamp',desc))"
|
|
|
|
python3 tools/gate/selenium/kibanaSelenium.py
|