Contributors mailing list archives

contributors@odoo-community.org

Re: Runbot long term to install packages and other features

by
Acsone SA, Laurent Mignon
- 09/08/2016 07:08:03

We can resolve this dependency issue by pip installing the addons to test. It's what we do to test our new projects with buildbot at ACSONE.

Regards,

lmi


Le 9 août 2016 08:39, "Eric Caudal" <eric.caudal@elico-corp.com> a écrit :

You can reduce that amount if you share PG in one separate docker.

--
Eric Caudal [Founder and CEO]
Skype: elico.corp. Phone: + 86 186 2136 1670 (Cell), + 86 21 6211 8017/27/37 (Office)
Elico Shanghai (Hong Kong/Shenzhen/Singapore) Odoo Gold Partner, best Odoo Partner 2014 for APAC
On 08/09/2016 01:38 PM, Moises Lopez wrote:
<blockquote cite="mid:CAGro9RVJTiNVbWAadEubPU8XyadSNLN5M9UO-eLUEOvrJwcPaw@mail.gmail.com" type="cite">
The image base has 1.7 GB with odoo download to cache removing all history, with many packages installed to faster builds (postgresql, python-lxml, odoo requirements.txt, webkit...)

But is important comment that using AUFS you could create 10 container based on the same image without use 17 Gb in total for all containers.

AUFS re-use auto-magically the files unchanged from base image in each container (common files) and the custom changes of each container create a diff (similar to a git but for Virtual Environments)

You can found more info here:

If you use "docker images" command you will see the "big" size of each image, but it is not the real size on hard disk.
E.g. Executing command:
$ docker images
imageBase -> 1GB
ImageA (Based on ImageBase) -> 1.5GB

The total disk used isn't 2.5 Gb (because docker re-use files with aufs like a charm).


I don't know if the current runbot module on oca server have compatibility with other ones, maybe we could use just one repository like as a Proof Of Concept.


2016-08-08 22:38 GMT-05:00 Eric Caudal <eric.caudal@elico-corp.com>:

About the size, we achieved standard Odoo docker image around 1.3 Gb but removing all git history... Not sure this is feasible her

--
Eric Caudal [Founder and CEO]
Skype: elico.corp. Phone: + 86 186 2136 1670 (Cell), + 86 21 6211 8017/27/37 (Office)
Elico Shanghai (Hong Kong/Shenzhen/Singapore) Odoo Gold Partner, best Odoo Partner 2014 for APAC
On 08/09/2016 08:23 AM, Dave Lasley wrote:
<blockquote cite="mid:7BB0F791-E3A5-472F-9F23-0E60656544B4@laslabs.com" type="cite">

In regards to performance, the cost of Linux containers (Docker) is negligible because it is really just an abstraction on top of kernel/device namespacing. There’s a great IBM writeup going over all the specifics & including specific benchmarks here - http://domino.research.ibm.com/library/cyberdig.nsf/papers/0929052195DD819C85257D2300681E7B/$File/rc25482.pdf


The main cost is hard drive. We’re looking about 2.5 GiB + database size per build, as opposed to the relatively small footprint of a standard Odoo deploy. While we could theoretically strip the base system down to probably under 2 gigs, there will still always be the cost of having the system included in the build.

That said, this hard drive penalty comes with a big gain - builds are truly isolated in terms of OS and Python dependencies, providing a more true to life picture of how modules will operate in the wild using what we specify in the readable source.

On Aug 8, 2016, at 5:08 PM, Maxime Chambreuil <mchambreuil@ursainfosystems.com> wrote:

What is the impact on server resources and budget?

Maxime Chambreuil


On Aug 8, 2016 18:23, "moy lop" <moylop260@gmail.com> wrote:

Ok Pedro
Good idea

We will see there.

_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe


_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe


_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe




--
Moisés López Calderón
Vauxoo - OpenERP's Gold Partner
Mobile: (+521) 477-752-22-30
Office: (+52) 477-773-33-46
web: http://www.vauxoo.com
twitter: @vauxoo
           @moylop260           

_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe


_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe