[Container-tools] Proposing design for automating ADB Initialization

Budh Gurung bgurung at redhat.com
Fri Jun 10 12:51:22 UTC 2016


Hi,

Currently, we are setting up ADB environment for customized behaviors
through Vagrantfiles present in ADB repo [1] under "components/centos"
folder.

General flow for setting up any customized behavior like openshift in ADB
is as follows:

   - User go to ADB repo [1]
   - Navigate to “components/centos/centos-openshift-setup” folder
   - User open Vagrantfile in "raw" mode
   - Download and copy to desired location
   - User perform further Vagrant operations

Whole idea of this proposal is to automate this initial behavior of setting
up Vagrantfile in ADB.

### New Behavior

Through command line, user will fire only one command to setup Openshift.
Example:

   $ vagrant service-manager init projectatomic/adb --service openshift
>
>    $ ls
>       Vagrantfile                      # Vagrantfile for OpenShift


Same for Kubernetes and Meso-marathon.


### Points to note for proposed change

   -
   - This will be replacement for command "vagrant init projectatomic/adb".
   - User need not to download any Vagrantfile. Vagrantfile automatically
   generated as per user configurations.    (    Currently user need to
   download or git clone adb repo [1] and go to respective Vagrantfile    )
   - Vagrantfiles will be maintained in Vagrant service-manager repo [2]
    (    Currently, Vagrantfiles are maintained in ADB repo [1]    )
   - Documentation need to be updated for this change in ADB
   - Automate the initialization process. Open gate for other automation
   too.    (    Currently no automation    )
   - Better User experience


I would like to know more about what you think about this proposal.
Please feel free to give your valuable comments/suggestions.

[1] https://github.com/projectatomic/adb-atomic-developer-bundle
[2] https://github.com/projectatomic/vagrant-service-manager



Regards,
Budh Ram Gurung
Software Engineer - Dev Tools
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/container-tools/attachments/20160610/40865d8d/attachment.htm>


More information about the Container-tools mailing list