lp:~guoqiao/charm-grafana

Owned by Joe Guo
Get this repository:
git clone https://git.launchpad.net/~guoqiao/charm-grafana
Only Joe Guo can upload to this repository. If you are Joe Guo please log in for upload directions.

Branches

Name Last Modified Last Commit
1835093-get-admin-password 2020-03-26 04:20:26 UTC
Fix get_admin_password action

Author: Joe Guo
Author Date: 2020-03-23 01:50:12 UTC

Fix get_admin_password action

1. add @when('grafana.admin_password.set') decorator to configure_sources.

This will ensure `configure_sources` always run after `check_adminuser` and
admin_password is either configured or generated.

2. change get_admin_password logic order: read from config first, fall back to kv if not set.

The unitdata.kv() grafana.admin_password value is created as a fallback when
admin_password is not set in the juju config. The original logic is opposite.
Simplify code by the way.

3. reuse get_admin_password in configure_sources
since the logic is the same now

LP: #1835093

Signed-off-by: Joe Guo <joe.guo@canonical.com>

LP1702957-install-file-change 2020-03-24 07:43:57 UTC
add unit tests and update Makefile

Author: Joe Guo
Author Date: 2020-03-24 07:26:52 UTC

add unit tests and update Makefile

Signed-off-by: Joe Guo <joe.guo@canonical.com>

1685179-hardcoded-org-id 2020-03-23 02:17:57 UTC
get org id from api instead of hardcode

Author: Joe Guo
Author Date: 2020-03-23 02:15:20 UTC

get org id from api instead of hardcode

Signed-off-by: Joe Guo <joe.guo@canonical.com>

1747937-backup-script-update 2020-03-20 00:48:38 UTC
trigger backup configure for upgrade-charm

Author: Joe Guo
Author Date: 2020-03-20 00:37:09 UTC

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 <joe.guo@canonical.com>

LPBug-1685179-hardcoded-sqlite-id 2020-01-13 11:13:24 UTC
add .gitignore to ignore __pycache__

Author: Joe Guo
Author Date: 2020-01-13 11:13:24 UTC

add .gitignore to ignore __pycache__

Signed-off-by: Joe Guo <joe.guo@canonical.com>

15 of 5 results
This repository contains Public information 
Everyone can see this information.

Subscribers