Refactor Grafana to Gluon 0.4.8
copied from link in mattermost group chat:
Instructions for refactoring/validation:
- Delete the cypress.config.js file and replace any occurrences of the following items in the package's cypress test with the shared commands now stored in gluon repo:
- Keycloak Login
- Grafana Login
- Prometheus target validation
- Grafana dashboard loading
- Minio Login
Rename the cypress test file to have 01 prepended to it. This should help users control the order in which their custom scripts can run.
- Update gluon to 0.4.8 and run a helm dep update on the package.
- Run helm test on your package to validate the tests run successfully.
** Note: The pod itself will fail as it can't upload the videos, but you should see that the tests themselves run by looking at the logs.
- If the package had a keycloak login, validate by creating a new branch on big bang repo and enabling SSO in that pipeline. If the package had no keycloak login, this step can be skipped. Refer to this MR as a guide for this: big-bang/bigbang!3663 (diffs). Close MR and delete the branch after validation.
For steps 1 - 5 refer to this as an example: tempo!73 (merged) ( REMOVED STEP 2-3 )