~mustafakemalgilor/charm-grafana:bug/1983814

Last commit made on 2022-08-10
Get this branch:
git clone -b bug/1983814 https://git.launchpad.net/~mustafakemalgilor/charm-grafana
Only Mustafa Kemal Gilor can upload to this branch. If you are Mustafa Kemal Gilor please log in for upload directions.

Branch merges

Branch information

Name:
bug/1983814
Repository:
lp:~mustafakemalgilor/charm-grafana

Recent commits

705dbcf... by Mustafa Kemal Gilor

dashboard_backup compat update (2):

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

d27d80c... 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 script to behave as before for Grafana
(< 8.0.0) and use UID API for Grafana version (>= 8.0.0).

Fixes LP issue #1983814

29f5405... by Alvaro Uria

LP#1975622 LDAP config rendered non-string values with quotes

Reviewed-on: https://code.launchpad.net/~aluria/charm-grafana/+git/grafana-charm-1/+merge/423367
Reviewed-by: Peter Sabaini <email address hidden>

1c4d877... by Alvaro Uria

FIX: More than one FunctionalTestMarker dashboard

In order to test that upgraded telegraf charms propagate changes in the
dashboard templates to Grafana, the functional tests verify that a
single dashboard exists with the keyword "FunctionalTestMarker".
However, in recent changes, the template is now rendered twice (metrics
by application and metrics by host).

The assert on test_11_dashboard_upgrade now reflects "one or more"
instead of "one".

63062e9... by Alvaro Uria

LP#1975622 LDAP config rendered non-string values with quotes

692d0fc... by Xav Paice

Render ldap config owned by daemon user

    When installed as a snap, the LDAP config needs to be owned by root as
    the grafana user does not exist.

    Fixes-bug: LP: #1964725

Reviewed-on: https://code.launchpad.net/~xavpaice/charm-grafana/+git/grafana-charm/+merge/416778
Reviewed-by: James Troup <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>

d396f82... by Xav Paice

Reduce functests to a manageable set, with a smaller bundle.

Additionally improve Makefile and charmcraft.yaml.

Reviewed-on: https://code.launchpad.net/~xavpaice/charm-grafana/+git/grafana-charm/+merge/416772
Reviewed-by: James Troup <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>

5037302... by Xav Paice

Render ldap config owned by daemon user

When installed as a snap, the LDAP config needs to be owned by root as
the grafana user does not exist.

Fixes-bug: LP: #1964725

d00e005... by Xav Paice

reduce functest bundles

e742167... by Xav Paice

reduce test bundles for functests