Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: runbot status update: we have docker
by
Camptocamp France SAS, Alexandre Fayolle
The main reason (from my pov) is non Python dependencies, which cause builds to fail unless root@runbot kicks in and install these. Also, these dependencies tend to stay installed even if the PR which required them is never merged. Among the additional benefits from my POV are the automatic handling of Python dependencies (from the addon manifesto) and the automatic of cross project dependencies (through oca-dependencies.txt), both of which required manual interventions. Sure this could have been handled without docker, but someone (Moyses) did the job with Docker, and offered help to upgrade the runbot. In the end it was less work for me than developping the missing bits. Alexandre On 16/11/2016 09:38, Laurent Mignon wrote: > Thank you for this work but I'll never understand why we use docker > since virtualenv exists... > > On Wed, Nov 16, 2016 at 8:52 AM Pierre Verkest <pverkest@anybox.fr > <mailto:pverkest@anybox.fr>> wrote: > > Thanks for all this huge works. > > 2016-11-15 19:22 GMT+01:00 Pedro M. Baeza (Tecnativa) > : > > Thank you very much for summarizing them! > > Regards. > > 2016-11-15 19:08 GMT+01:00 Moises Lopez <moylop260@vauxoo.com > <mailto:moylop260@vauxoo.com>>: > > @Alexander > Thanks again. > > @Pedro > I can reply you with a small (very small) summarize: > > *- Auto-Configured* > OCA projects now are self-configured from github project > using (1) MQT with meta-files like as: > - .travis.yml (apt-get install) > - requirements.txt (pip install) > - oca_dependencies.txt (git clone) > > For runbot we need create a custom configuration to > reproduce the same environment. > - apt-get install > - pip install manually > - Configuration of repositories dependencies manually. > > Use runbot_travis2docker allow us use the same OCA projects > self-configured in runbot and avoid create issue to install > packages: > Example: https://github.com/OCA/report-print-send/issues/54 > > *- Isolated* > Before runbot use the same environment for all projects. > Then if your project require the version of a package freeze > and other one require other particular version is not > posible because is the same environment. > > Using runbot_travis2docker you can use postgresql-9.5 or a > custom freeze version of a packages because is isolated from > other environments. > Example: > Imágenes integradas 1 > > *- Reproduce it locally* > Many times we have a error in runbot or travis but we can't > reproduce it in local. > This environment allow us enforce the tools to reply a build > in local with travis2docker (2) > Examples: > - https://github.com/OCA/l10n-spain/issues/310#issue-134930866 > - > https://github.com/OCA/maintainer-quality-tools/issues/302#issuecomment-161013715 > > *- Use of docker* > Use docker open infinite possibles way to improvement the > builds in the future: > - @Jairo Yopis have good ideas about using concepts like > as: serverless (More info with Jairo, please) > - Use docker could allow us create a ssh connection to the > build-instance isolated using our github.com/USER.keys > > > (1) https://github.com/oca/maintainer-quality-tools > (2) https://travis-ci.org/Vauxoo/travis2docker > > 2016-11-15 10:22 GMT-06:00 Pedro M. Baeza (Tecnativa) > : > > Thank you again for the hard work. Can you summarize the > advantages of having this new architecture? > > Regards. > > 2016-11-15 17:07 GMT+01:00 Alexandre Fayolle > <alexandre.fayolle@camptocamp.com > <mailto:alexandre.fayolle@camptocamp.com>>: > > Hello, > > Thanks to Moyses Lopez who fixed a small issue (caused by a local patch > applied on our runbot), we now have dockerized builds working. > > I don't have enabled docker builds on all repositories for now, so you > only get dockerized builds for: > > * rma > * server-tools > * web > * website > * account-financial-tools > > Please report any issue experienced on runbot builds on these projects. > > If everything seems fine, I'll do a real smoke test over a week end: > reboot the servers to ensure that no builds are up, configure docker on > all repositories and trigger a rebuild of all 8.0, 9.0 and 10.0 > branches. Then I'll burn a candle in the nearby church and hope for the > best... > > Still on my todo list: set up a weekly cron to run docker-gc. > > -- > Alexandre Fayolle > Chef de Projet > Tel : +33 4 58 48 20 30 > > Camptocamp France SAS > Savoie Technolac, BP 352 > 73377 Le Bourget du Lac Cedex > http://www.camptocamp.com > > _______________________________________________ > Mailing-List: > http://odoo-community.org/groups/contributors-15 > Post to: mailto:contributors@odoo-community.org > <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 > <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 > hangout: moylop260@vauxoo.com <mailto:moylop260@vauxoo.com> > > _______________________________________________ > Mailing-List: http://odoo-community.org/groups/contributors-15 > Post to: mailto:contributors@odoo-community.org > <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 > <mailto:contributors@odoo-community.org> > Unsubscribe: http://odoo-community.org/groups?unsubscribe > > > > > -- > Anybox > Pierre Verkest > 06 51 35 50 50 > www.anybox.fr > Github: petrus-v - Twitter: petrusv84 > > > _______________________________________________ > Mailing-List: http://odoo-community.org/groups/contributors-15 > Post to: mailto:contributors@odoo-community.org > <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 > -- Alexandre Fayolle Chef de Projet Tel : +33 4 58 48 20 30 Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac Cedex http://www.camptocamp.com
Reference
-
runbot status update: we have docker
byCamptocamp France SAS, Alexandre Fayolle-
Re: runbot status update: we have docker
byCamptocamp France SAS, Alexandre Fayolle -
Re: runbot status update: we have docker
byTecnativa. S. L., Pedro M. Baeza