Go to file
Christophe Monniez 5552c16102 [IMP] runbot: create a broken symlink in all server sources
As the --upgrade-paths options does not work as expected in Odoo, a
symbolic link has to be created in odoo/addons/base/maintenance pointing
to the migration scripts.

The runbot uses Docker read-only volumes to access the sources that are
shared between builds, preventing the creation of such a link.

With this commit, a symbolic link is created right after the export of a
commit only when the repo is a "server" repo.

This link is broken outside of the Docker volumes but uses the mount
points of the sources inside the container.

Two ir.config_parameter's are used to enable and configure this feature:

* runbot_migration_ln: the relative path where the link should be placed
  (typically odoo/addons/base/maintenance)

* runbot_migration_repo_id: the id of the migration scripts repo, used
to determine the name of the mount point inside the Docker container

A change is also made in the "reverse dependcy build" to avoid the
creation of a build in the migration repo for each push in its
dependency. Simply set the no_build field on this migration repo.
2019-12-16 13:10:55 +01:00
forwardport [FIX] forwardport: triggers conflict markers detection 2019-11-26 16:23:36 +01:00
runbot [IMP] runbot: create a broken symlink in all server sources 2019-12-16 13:10:55 +01:00
runbot_cla [FIX] runbot: fix coverage since shared sources 2019-07-16 12:06:09 +02:00
runbot_merge [FIX] runbot_merge: notification-via-deployment 2019-11-25 11:29:45 +01:00
.gitignore [IMP] runbot: share sources between builds 2019-07-12 14:50:59 +02:00
conftest.py [ADD] forwardport: automatic branch deleter 2019-10-17 11:55:20 +02:00
README.md [REF] README: update the readme file for the brand new repo 2018-03-08 16:59:39 +01:00
requirements.txt [IMP] runbot: dynamic requirements 2019-12-02 16:36:56 +01:00

Odoo Runbot Repository

This repository contains the source code of Odoo testing bot runbot.odoo.com and related addons.

Runbot

The runbot/ directory holds the main runbot Odoo addon.

Runbot CLA addon

The runbot_cla/ directory contains an Odoo addon that checks CLA.