~esunar/charm-grafana:fix-functional-tests

Last commit made on 2023-04-25
Get this branch:
git clone -b fix-functional-tests https://git.launchpad.net/~esunar/charm-grafana
Only Erhan Sunar can upload to this branch. If you are Erhan Sunar please log in for upload directions.

Branch merges

Branch information

Name:
fix-functional-tests
Repository:
lp:~esunar/charm-grafana

Recent commits

23a29a3... by Erhan Sunar

fix build issue

the build issue wax caused by the changes in layer-basic
https://github.com/juju-solutions/layer-basic/issues/215

2d08546... by Chi Wai CHAN

Use `json` instead of `data` when performing `requests.post()` since it will set the correct content type automatically.

Reviewed-on: https://code.launchpad.net/~raychan96/charm-grafana/+git/charm-grafana/+merge/437600
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>
Reviewed-by: Ramesh Sattaru <email address hidden>

9631e9f... by Chi Wai CHAN

Fix lint error: removing json import.

dd95e23... by Chi Wai CHAN

Use json instead of data when performing requests.post() since it will set the correct content type automatically.

b07a93e... by Gabriel Cocenza

Changed GPG signing key in grafana-charm

Grafana Labs published a security note yesterday (Jan 12),
see https://grafana.com/blog/2023/01/12/grafana-labs-update-regarding-circleci-security-updates/,
that they have revoked their old APT repository GPG signing key and
generated a new one. The Grafana charm still encodes the old signing
key and needs to be updated as otherwise installation will fail.

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

fb836fa... by Gabriel Cocenza

- remove old grafana gpg key

e93f8c0... by Tianqi Xiao

Remove monitoring tag to deprioritize LMA charms in favor of COS

Reviewed-on: https://code.launchpad.net/~txiao/charm-grafana/+git/charm-grafana/+merge/435763
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: Gabriel Angelo Sgarbi Cocenza <email address hidden>

ef9778f... by Gabriel Cocenza

Changed GPG signing key in grafana-charm

Grafana Labs published a security note yesterday (Jan 12),
see https://grafana.com/blog/2023/01/12/grafana-labs-update-regarding-circleci-security-updates/,
that they have revoked their old APT repository GPG signing key and
generated a new one. The Grafana charm still encodes the old signing
key and needs to be updated as otherwise installation will fail.

1ca9337... by Tianqi Xiao

Remove monitoring tag to deprioritize LMA charms in favor of COS

bc64b22... 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.

Reviewed-on: https://code.launchpad.net/~llama-charmers/charm-grafana/+git/charm-grafana/+merge/435206
Reviewed-by: Ramesh Sattaru <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>
Reviewed-by: Eric Chen <email address hidden>