If you want to test the changes made to this repo, you can do it by simply running apb test
The test does the following:
- Builds the APB
- Creates the project in currently targeted OpenShift instance
- Runs the
provision
role - Runs the
test-provision
role which checks that- Grafana and Prometheus routes are accessible
- we're getting successful response from OpenShift auth proxy server
- Runs
deprovision
role - Runs
deprovision-test
role which checks that all objects (routes, pods, services) were deprovisioned successfully
If the test ends successfully, you should see the message Pod phase Succeeded without returning test results
in your console output.
For more information about testing of APBs, check ansible-playbook-bundle documentation.