-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor datagov-deploy #297
Comments
John, Hareesh, and Skip will work on diagramming refactoring ideas for Datagov-Deploy and compare. |
Here are my thoughts on refactoring this repo:
In each repo structure accordingly using ansible role best practices so they can be pulled in using
|
@JJediny: The above is what I was generally thinking; however, how would you deal with the current/past and future situations, i.e., vagrant/virtualbox and docker respectively? The files necessary for each scenario due not entirely match. And with vagrant, each Vagrantfile must be in its own directory, although the Ansible within it could call into another part of the 'tree'. If both Vagrant and Docker were to call to the same Ansible directory, we would need to differentiate yaml files that were specific to each type, e.g., v-datagov-web.yml or d-datagov-web.yml. At present, all of the 'application' yaml files sit at the top Ansible level. Thoughts? |
@SkipKeats the current/past will need to be addressed with the use of |
I will look into the test-kitchen framework. |
https://github.com/neillturner/kitchen-ansible Example for Docker driver
|
Thank you. |
I have been looking at and experimenting with Chef Test-kitchen a bit, as well as looking at the assorted links above related to Ansible, Ansible Galaxy, etc. In my mind, I see a 3D cube of sorts per the refactoring, which consists of the following:
If I am missing an application, please let me know. The current roles, as currently construed, would be split across these divisions. I am still trying to figure out how to deal with both Vagrant and Docker in the same primary repository, because I have not found any documentation that says it is allowable. I would think that we would need a primary file, probably a kitchen.yml, that would differentiate between current and future via switches of some form when run. I just not certain how to do that at present. Thoughts would be appreciated. |
John and Hareesh: FIrst draft of repositories per refactoring. Just want to make certain we are on the same page. Services and like not included yet and, per John's suggestion, will not go into the refactoring process in first go, e.g., kibana, etc. |
Per John's request, a SVG version of the refactor diagram is contained in the attached zip file. The primary file is DDRP.svg, but all of the icons are separate files. |
All initial repositories are now created. |
Per discussion with Hyon and team, datagov-deploy will be refactored into, essentially, the present/past (Vagrant/VIrtualBox) and the future (Docker). The how is under discussion.
Parent to #301,
Parent to #302,
Parent to #303,
Parent to #304,
Parent to #305,
Parent to #306,
Parent to #307,
Parent to #308,
Parent to #309,
Parent to #310,
Parent to #311,
Parent to #312,
Parent to #313,
Parent to #314,
Parent to #315
The text was updated successfully, but these errors were encountered: