Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.46 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.46 KB

mobile-developer-console-apb

This APB sets up the Mobile Developer Console for OpenShift.

Local Development

Requirements

Process

Edit Makefile to point to your docker hub account

run apb build; apb push

Testing

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:

  1. Builds the APB
  2. Creates the project in currently targeted OpenShift instance
  3. Runs the provision role
  4. Runs the test-provision role which checks that
    • MDC route is accessible
    • we're getting successful response from OpenShift auth proxy server
  5. Runs deprovision role
  6. 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