Merge "Update Grafana version and Selenium script"

This commit is contained in:
Zuul 2021-05-19 15:44:11 +00:00 committed by Gerrit Code Review
commit 9111ae750e
4 changed files with 5 additions and 4 deletions

View File

@ -12,10 +12,10 @@
---
apiVersion: v1
appVersion: v7.3.6
appVersion: v7.4.5
description: OpenStack-Helm Grafana
name: grafana
version: 0.1.6
version: 0.1.7
home: https://grafana.com/
sources:
- https://github.com/grafana/grafana

View File

@ -73,7 +73,7 @@ logger.info("Attempting to log into Grafana dashboard")
try:
browser.find_element_by_name('user').send_keys(username)
browser.find_element_by_name('password').send_keys(password)
browser.find_element_by_class_name('css-6ntnx5-button').click()
browser.find_element_by_css_selector('[aria-label="Login button"]').click()
logger.info("Successfully logged in to Grafana")
except NoSuchElementException:
logger.error("Failed to log in to Grafana")

View File

@ -17,7 +17,7 @@
---
images:
tags:
grafana: docker.io/grafana/grafana:7.3.6
grafana: docker.io/grafana/grafana:7.4.5
dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
db_init: docker.io/openstackhelm/heat:stein-ubuntu_bionic
grafana_db_session_sync: docker.io/openstackhelm/heat:stein-ubuntu_bionic

View File

@ -7,4 +7,5 @@ grafana:
- 0.1.4 Enable TLS for Grafana
- 0.1.5 Enable TLS between Grafana and Prometheus
- 0.1.6 Enable TLS for Grafana ingress path
- 0.1.7 Update Grafana version and Selenium script
...