~txiao/charm-prometheus2:fix-func-test

Last commit made on 2023-10-04
Get this branch:
git clone -b fix-func-test https://git.launchpad.net/~txiao/charm-prometheus2
Only Tianqi Xiao can upload to this branch. If you are Tianqi Xiao please log in for upload directions.

Branch merges

Branch information

Name:
fix-func-test
Repository:
lp:~txiao/charm-prometheus2

Recent commits

7d41ef3... by Tianqi Xiao

Fix issues with test_prometheus_yml_scrape_configs method

- This test was async and never waited, so its tests
were not actually being run. Changed it to a sync.
- Use "model.get_lead_unit_ip" from zaza to get leader unit ip for
telegraf. For it to work properly, `ZAZA_FEATURE_BUG472` env need to
be set due to https://github.com/openstack-charmers/zaza/issues/472
- Cert files assertion was failing because wrong cert dir was specified
in test and hash was added to their path in runtime in code. Change to
regex matching for correct behavior.

93b8ff0... by Tianqi Xiao

Drop bionic support

be1f1ea... by Tianqi Xiao

Fix error in dependencies and functional test bundles

- Fix dependencies issues which causes install hook error
- Fix empty "vault" channel error in test bundles
- Remove deprecated "series" field in metadata.yaml

3bf7d3f... by Chi Wai CHAN

Add deprecation notice

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

4918ea8... by Chi Wai CHAN

Remove pin for zaza-openstack-tests since it's now causing built
dependency issue (2023-07-11).

dcfb659... by Chi Wai CHAN

Add deprecation notice.

4c824e1... by Chris Johnston

Clarify config description of rules-repo and rules-update-ssh-key.

Fixes: LP: #2018932, #2018933

Reviewed-on: https://code.launchpad.net/~cjohnston/charm-prometheus2/+git/charm-prometheus2/+merge/443139
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>

660df4a... by Chris Johnston

Clarify config description of rules-repo and rules-update-ssh-key. Fixes: LP: #2018932, #2018933

26c4a20... by Seyeong Kim

remove dup manual_job

Reviewed-on: https://code.launchpad.net/~seyeongkim/charm-prometheus2/+git/charm-prometheus2/+merge/434676
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>

ba2bdf6... by Seyeong Kim

remove dup manual_job