charm-grafana:func-fix

Last commit made on 2023-01-06
Get this branch:
git clone -b func-fix https://git.launchpad.net/charm-grafana
Members of Llama (LMA) Charmers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
func-fix
Repository:
lp:charm-grafana

Recent commits

d702fa1... by Gabriel Cocenza

fix func-tests

- unit(s) can be idle before the file has changed. Using
  block_until_file_has_contents fix this issue.

- units(s) can take longer to erase files. Using
  block_until_file_missing fix the issue.

- add set_final_status to config_changed to be sure that
  the unit status will be set properly for func-tests.

cf04344... by Mert Kirpici

Drop bionic support

Reviewed-on: https://code.launchpad.net/~mertkirpici/charm-grafana/+git/charm-grafana/+merge/433866
Reviewed-by: Erhan Sunar <email address hidden>
Reviewed-by: Eric Chen <email address hidden>

e465547... by Mert Kirpici

charm: drop bionic support

Signed-off-by: Mert Kırpıcı <email address hidden>

195e940... by Mert Kirpici

charm: pin Jinja2, setuptools and pyopenssl

Signed-off-by: Mert Kırpıcı <email address hidden>

78bec2e... by Sudeep Bhandari

Update Readme and metadata.yaml

Reviewed-on: https://code.launchpad.net/~sudeephb/charm-grafana/+git/charm-grafana/+merge/429872
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>
Reviewed-by: Robert Gildein <email address hidden>

c855750... by Sudeep Bhandari

Applied suggestions

20b5a45... by Sudeep Bhandari

Added retries in some functional tests

9d6352f... by Sudeep Bhandari

Minor fixes in Readme and metadata.yaml

22ccaf7... by Mustafa Kemal Gilor

dashboards_backup script compatibility update for Grafana version >=8:

The dashboards_backup script was using Slug API for retrieving the
dashboards, which is deprecated in Grafana version '5.4.0' in favor
of UID API, and removed in version '8.0.0'. Due to that, the backup
script was failing to generate backups in version 8.0.0 and above.

This fix introduces an API switch mechanism between Slug API and
UID API, which allows the script to behave as before for Grafana
(< 8.0.0) and use UID API for Grafana version (>= 8.0.0).

Fixes LP issue #1983814

Reviewed-on: https://code.launchpad.net/~mustafakemalgilor/charm-grafana/+git/charm-grafana/+merge/428028
Reviewed-by: Giuseppe Petralia <email address hidden>
Reviewed-by: Robert Gildein <email address hidden>

705dbcf... by Mustafa Kemal Gilor

dashboard_backup compat update (2):

Added unit tests for dashboards_backup script, made linter & formatter happy