Update Zuul Selenium to use Python3
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
This commit is contained in:
parent
56a743e061
commit
13f99c1cfa
@ -31,6 +31,7 @@
|
||||
pip:
|
||||
name: selenium
|
||||
state: latest
|
||||
executable: pip3
|
||||
|
||||
- name: Get selenium chrome driver
|
||||
shell: |-
|
||||
|
@ -9,4 +9,4 @@ export GRAFANA_USER="admin"
|
||||
export GRAFANA_PASSWORD="password"
|
||||
export GRAFANA_URI="grafana.osh-infra.svc.cluster.local"
|
||||
|
||||
python tools/gate/selenium/grafanaSelenium.py
|
||||
python3 tools/gate/selenium/grafanaSelenium.py
|
||||
|
@ -13,4 +13,4 @@ export KERNEL_QUERY="discover?_g=()&_a=(columns:!(_source),index:'kernel-*',inte
|
||||
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))"
|
||||
|
||||
python tools/gate/selenium/kibanaSelenium.py
|
||||
python3 tools/gate/selenium/kibanaSelenium.py
|
||||
|
@ -9,4 +9,4 @@ export NAGIOS_USER="nagiosadmin"
|
||||
export NAGIOS_PASSWORD="password"
|
||||
export NAGIOS_URI="nagios.osh-infra.svc.cluster.local"
|
||||
|
||||
python tools/gate/selenium/nagiosSelenium.py
|
||||
python3 tools/gate/selenium/nagiosSelenium.py
|
||||
|
@ -9,4 +9,4 @@ export PROMETHEUS_USER="admin"
|
||||
export PROMETHEUS_PASSWORD="changeme"
|
||||
export PROMETHEUS_URI="prometheus.osh-infra.svc.cluster.local"
|
||||
|
||||
python tools/gate/selenium/prometheusSelenium.py
|
||||
python3 tools/gate/selenium/prometheusSelenium.py
|
||||
|
Loading…
Reference in New Issue
Block a user