TDP-Setup #83
Replies: 3 comments
-
I agree on the principle but not the content. The publication on pypi, npm, ansible galaxy is not a pre-requisite. Once we are comfortable with the installation, we can look for the publication. |
Beta Was this translation helpful? Give feedback.
-
TDP Manager uses Ansible to make installing TDP Manager components easier for the user. For me, it is important that the user understands the different components of TDP Manager and making a script that does everything for him does not go in that direction at all. I agree to script the configuration and initialization of TDP Manager but not prerequisites. The prerequisites are:
All of these prerequisites are related to how each user works. It will be difficult to make a generic script which corresponds to all the uses. For the rest, an Ansible role could do very well:
|
Beta Was this translation helpful? Give feedback.
-
I think the best way to start is to write a shell script and share it in a private repository. |
Beta Was this translation helpful? Give feedback.
-
TL;DR: Installing tdp-lib, collection is hard. We need a way to allow Users to use their own infrastructure through a tdp-lib installer.
TDP Stack 1.0 has been released, it has been followed by TDP Collection 0.1 and TDP-Manager (including lib, server and ui).
Now we are facing the issue of actually installing Collection and Manager. What I mean by that is:
As of today there are no easy way to "Install TDP-manager". The current procedure is kinda like:
hosts.ini
with the machines you are deploying to.pip install
ornpm install
.files
directory. You can use thetdp-releases-uris.txt
from getting-started. Create a symbolic from the collection to this directory.tdp_vars_default
and your overrides).tdp_vars
).The actively maintained
tdp-getting-started
do all of this with a combinaison of versioned files (e.g: overrides, use of vagrant), bash setup script (setup submodules, download releases) and tdp-lib'stdp init
(initialize database and tdp_vars).Git clone and checkout as well as doing 'pip install' are not appropriate ways of distributing tdp manager.
I think we need to provide final users (not active tdp maintainers) a way to bootstrap TDP for their environment.
I think the roadmap to achieve this is as follow:
tdp-setup
cli which is does most of the stuff listed above, but leverage distribution of packages on galaxy, pip and npmI think this feature can be named "TDP-setup" but I would like to consider using an arbitrary name, not related to
TDP-*
'. I think it needs to be a project on its own (it could be as simple as a bash script). Some features leverage features in tdp lib (such as init), but since TDP-lib has no knowledge of tdp server nor UI. I think having a dedicated TDP-Setup also allows to release the project as a whole since it includes TDP-Stack version (trough release file) and TDP-Manager version. I think the project might be further extended to manage upgrade both for the stack and the manager.Beta Was this translation helpful? Give feedback.
All reactions