*What*
Add a form
Add a new bind playbook to create an Android build and make it available from the aerogear digger apb \[1\] Android Mobile Client view (If the Mobile CI/CD service is provisioned) . The bind action form should do the following and input for configuration where required :
* Generate a Build Config that uses the pipeline strategy \[2\] * Create secret with credentials for the android build. Input for file upload of the android keystore file and save as base64 encoded string in a secret. * Create a build config with the git source. Input for a publicly accessible git repo URL. * Create a secret with the credentials for the git repo (if private). Input for credentials.
Where/If possible we should reuse OpenShift components as much as possible for all of the above, in particular the pipeline view currently asks for much of the info we require. The Jenkinsfile should be present in the source as this is where we will initially expect to find it. It will be left up to the developer to add this and the build config created will Reference to Git Repository for the Jeninsfile \[ 2\] Any resources created by this form should have the mobile-client-build label added to allow searching during de-provision of the Mobile CI/CD service.
The "Create Build" option should be added to the Mobile Client view which will open the new form in the context of the current app\[ 1\]
\[1\] https:// github redhat . invisionapp. com/ aerogearcatalog share / aerogear-digger-apb 3METBQE2D#/screens/293206591 \[2\] https://docs.openshift.org/latest/dev_guide/builds/build_strategies.html#pipeline-strategy-options |
|