- From: Vladimir Skubriev <
>
- To:
- Subject: [chef] Anybody uses custom deploy.sh scripts within application cookbook to deploy over ssh ?
- Date: Tue, 19 Nov 2013 20:04:33 +0400
Anybody uses custom deploy.sh scripts within application cookbook to
deploy over ssh ?
For example:
You using chef solo and you have a git repo which is an application
cookbook of one server.
This cookbook has a deploy.sh script, which is connecting to server,
creating a container, bootstrap it with a chef-solo, install all prereqs
and setup you application.
If this is a normal practice ? Or may be this is not a deploy.sh or
somthing else. Please give me an advice.
How to assing server hostname, port, password. How to store them ? And
where to store them ?
Sometimes that deploy can take a long time.
How you save time in this use case?
I' am using:
1. apt cache /var/cache/apt/archives mount in container
2. cache remote_files on the other filesystem, which is not recreating
when I am delete container
3. using custom squid_deb_proxy recipe to setup container os for use our
proxy server.
May be you can advice another useful examples ?
How I can cache rvm installing and gems ?
--
Best regards,
CVision Lab System Administrator
Vladmir Skubriev
- [chef] Anybody uses custom deploy.sh scripts within application cookbook to deploy over ssh ?, Vladimir Skubriev, 11/19/2013
Archive powered by MHonArc 2.6.16.