This APB sets up the Mobile Developer Console for OpenShift.
- OpenShift Origin development environment for APB development.
- Install apb tool
Edit Makefile to point to your docker hub account
run apb build; apb push
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- MDC route is 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 etc) were deprovisioned (removed from namespace) 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