Anybody uses custom deploy.sh scripts within application cookbook to
deploy over ssh ?
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:
- apt cache /var/cache/apt/archives mount in container
- cache remote_files on the other filesystem, which is not recreating
when I am delete container
- using custom squid_deb_proxy recipe to setup container os for use our
May be you can advice another useful examples ?
How I can cache rvm installing and gems ?
CVision Lab System Administrator