~guoqiao/charm-grafana:LP1702957-install-file-change

Last commit made on 2020-03-24
Get this branch:
git clone -b LP1702957-install-file-change https://git.launchpad.net/~guoqiao/charm-grafana
Only Joe Guo can upload to this branch. If you are Joe Guo please log in for upload directions.

Branch merges

Branch information

Name:
LP1702957-install-file-change
Repository:
lp:~guoqiao/charm-grafana

Recent commits

222b45c... by Joe Guo

add unit tests and update Makefile

Signed-off-by: Joe Guo <email address hidden>

3f50754... by Joe Guo

reactive/grafana.py: compare versions while install_file changed

Compare version to install with local installed version. If downgrade, block.

LP: #1702957

Signed-off-by: Joe Guo <email address hidden>

ada7d17... by Joe Guo

lib/charms/layer/grafana.py: add util functions

Signed-off-by: Joe Guo <email address hidden>

8a128ed... by Joe Guo

trigger backup configure for upgrade-charm

in upgrade-charm hook, remove flag `granfana.backup.configured`.
So the `setup_backup_schedule` func will be triggerd to update `dashboard_backup` script.

LP: #1747937

Reviewed-on: https://code.launchpad.net/~guoqiao/charm-grafana/+git/charm-grafana/+merge/380930
Reviewed-by: Paul Goins <email address hidden>
Reviewed-by: Jose Guedez <email address hidden>

ec186b4... by Joe Guo

trigger backup configure for upgrade-charm

in upgrade-charm hook, remove flag `granfana.backup.configured`.
So the `setup_backup_schedule` func will be triggered to update `dashboard_backup` script.

LP: #1747937

Signed-off-by: Joe Guo <email address hidden>

2c87af7... by Alvaro Uria

Remove trusty support

8027521... by Alvaro Uria

LP#1858490: Template/Stored dashboard comparison never matched

Reviewed-on: https://code.launchpad.net/~canonical-is-bootstack/charm-grafana/+git/charm-grafana/+merge/379731
Reviewed-by: Paul Goins <email address hidden>

aa807b9... by Alvaro Uria

LP#1858490: Template/Stored dashboard comparison never matched

93a72a9... by Alvaro Uria

Functional tests support on multiple versions

* OpenStack: Xenial-Queens, Bionic-Queens and Bionic-Stein
* Ubuntu series in Grafana: Xenial and Bionic
* Install methods: apt, snap and random wrong method
* Checks: Juju status messages, and imported dashboards exist

Reviewed-on: https://code.launchpad.net/~canonical-is-bootstack/charm-grafana/+git/charm-grafana/+merge/379659
Reviewed-by: Paul Goins <email address hidden>

5c70326... by Alvaro Uria

Remove unused custom fixtures