Skip to content

Commit efc2f71

Browse files
committed
Add observe_chargeback role
1 parent 8b4dd89 commit efc2f71

6 files changed

Lines changed: 7 additions & 8 deletions

File tree

ci/run_chargeback_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@
5858

5959
- name: "Verify cloudkitty deployment"
6060
ansible.builtin.import_role:
61-
name: observe_chargeback
61+
name: telemetry_chargeback
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
observe_chargeback
1+
telemetry_chargeback
22
=========
3-
The **`observe_chargeback`** role is designed to test the **RHOSO Cloudkitty** feature. These tests are specific to the Cloudkitty feature. Tests that are not specific to this feature (e.g., standard OpenStack deployment validation, basic networking) should be added to a common role.
3+
The **`telemetry_chargeback`** role is designed to test the **RHOSO Cloudkitty** feature. These tests are specific to the Cloudkitty feature. Tests that are not specific to this feature (e.g., standard OpenStack deployment validation, basic networking) should be added to a common role.
44

55
Requirements
66
------------
@@ -40,8 +40,8 @@ Each tasks/playbook.yml should be called independently via "ansible.builtin.impo
4040
tasks:
4141
- name: "Run chargeback specific tests"
4242
ansible.builtin.import_role:
43-
name: observe_chargeback
44-
``` # <---
43+
name: telemetry_chargeback
44+
```
4545
4646
Author Information
4747
------------------
File renamed without changes.

roles/observe_chargeback/tasks/chargeback_tests.yml renamed to roles/telemetry_chargeback/tasks/chargeback_tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@
2929
- name: TEST Validate CloudKitty module states
3030
ansible.builtin.assert:
3131
that:
32-
- "'noop' in module_list.stdout and 'True' in (module_list.stdout_lines | select('search', 'noop') | first)"
3332
- "'hashmap' in module_list.stdout and 'True' in (module_list.stdout_lines | select('search', 'hashmap') | first)"
3433
fail_msg: "FAILED: CloudKitty module validation failed . Module states are not as expected."
35-
success_msg: "SUCCESS: CloudKitty modules (noop=True, hashmap=True) are configured correctly."
34+
success_msg: "SUCCESS: CloudKitty modules (hashmap=True) are configured correctly."
3635

3736
- name: TEST Set priority for CloudKitty hashmap module
3837
ansible.builtin.assert:
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
2-
- name: "Validate ChargeBack Feature"
2+
- name: "Validate Chargeback Feature"
33
ansible.builtin.include_tasks: "chargeback_tests.yml"

0 commit comments

Comments
 (0)