Skip to content

aerogearcatalog/mobile-developer-console-apb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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