-
Notifications
You must be signed in to change notification settings - Fork 84
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
Isolate GitLab app from infrastructure / daemons provisioning #114
Comments
So @brodock, it definitely needs cleaned up. Not sure this is the right approach, but it looks like you are proposing wrapping the base cookbook for different use cases. Omnibus Gitlab CE seems like it would be a good way forward for the base case. I have broken out the yum configuration for gitlab-ce into atomic-penguin/cookbook-yum-gitlab-ce as a starting point in reworking this into something more bite-sized. So then a base recipe ideally becomes (for EL-platform family):
|
This is a good way to do that for general use, but I still think the "source" way of installing can be useful for other scenarios. IMHO "base" recipe should enable both ways of installing: Omnibus and Source. Right now, generating an custom omnibus package takes a lot of time and requires specific setup and custom work, having "source" as an option makes it easy to manage an staging environment or deploying with custom changes. |
As things stand, the database recipes are a little strange. The mysql recipe installs a server whereas the postgres recipe does not. Both are written as though the database and user are being created remotely even though it makes more sense to do this locally, i.e. run the database cookbook on the database server, not on the application server. |
I propose we make the cookbook into more than one.
There should be one "base" cookbook that would deploy the app without provisioning any dependency deamon/infrastructure.
This is good in many ways as people have different opinions on how to provisioning things, and will make it more reusable.
Some ideas:
By refactoring it to this style, we can cleanup cookbook, and people can reuse it with their own infra-structure requirements.
The text was updated successfully, but these errors were encountered: