Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Should OCA unify all snippets in one module (i.e. website_snippets_extra), or make one for each one?
Have you already develop Odoo Mobile from Odoo Mobile Framework?
Docker :: Distributed Deployment Wheelhouse
by
dar@devco.co
Hi
I wanted to share with you a pattern for rather easily achieving a distributed deployment wheelhouse on your distributed CI runners on your docker infrastructure with the purpose of saving bandwidth and pushing speed.
Step 1: Make a pre-build Dockerfile which prepares wheels and other stuff such as odoo.zips and webserver binaries.
Step 2: on docker run copy those to a bindmounted shared volume
Step 3: run a uhttp (ej. fnichol/uhttpd) with volumes_from
Step 4: access your ephemeral, but cached (by docker build stack), webserver from your other dockers via the host gateway and the exposed port [ej. $(ip route get 8.8.8.8 | grep -Eo 'via \S+' | awk '{print $2}')]
Enjoy the speed up, even more so on slow network connection (or just save on your bandwith)
Best David
Follow-Ups
-
Re: Docker :: Distributed Deployment Wheelhouse
byVauxoo, Moisés López Calderón -
Re: Docker :: Distributed Deployment Wheelhouse
byEska Yazilim, Levent Karakaş