Runbot Custom Build and Run Instructions

runbot_build_instructions
REPOSITORY
REPOSITORYOCA/runbot-addons
GIT
GIThttps://github.com/OCA/runbot-addons.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/runbot-addons/tree/10.0/runbot_build_instructions
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYWebsite
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Savoir-faire Linux
COMMITTERS
COMMITTERSPedro M. Baeza
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:54
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
build_button build_button ir.ui.view qweb Inherits runbot.build_button
view_repo_form runbot.repo field Inherits runbot.view_repo_form
Models touched (2)

New fields (0)

No new fields.

Public methods (7)
  • checkout(self, cr, uid, ids, context=None)
    @custom_build
    Checkout in custom build directories if they are specified Do same as superclass except for git_export path.
  • cmd(self, cr, uid, ids, context=None)
    @custom_build
    Get server start script from build config Overwrite superclass completely Specify database user in the case of custom config, to allow viewing after db has been created by Odoo (using current user). Disable multiworker
  • job_00_init(self, cr, uid, build, lock_path, log_path)
  • job_10_test_base(self, cr, uid, build, lock_path, log_path)
  • job_20_test_all(self, cr, uid, build, lock_path, log_path)
  • pre_build(self, cr, uid, ids, lock_path, log_path, context=None)
    Run pre-build command if there is one Substitute path variables after splitting command to avoid problems with spaces in internal variables. Run command in build path to avoid relative path issues.
  • sub_cmd(self, build, cmd)

New fields (7)
  • custom_build_dir Char
    help='Relative directory where repo will be checked out' args: 'Custom Build Directory'
  • custom_pre_build_cmd Char
    help=ARGUMENTS_HELP args: 'Custom Pre-build Command'
  • custom_server_params Char
    help=ARGUMENTS_HELP args: 'Custom Server Flags'
  • custom_server_path Char
    help='Relative path of starter script' args: 'Custom Server Path'
  • is_custom_build Boolean
    args: 'Custom Build'
  • other_repo_id Many2one → runbot.repo
    help='Specify a secondary repository whose path can be passed to the build commands.' args: 'runbot.repo', 'Other repository'
  • skip_test_jobs Boolean
    args: 'Skip standard test jobs'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/runbot-addons
GIT
GIThttps://github.com/OCA/runbot-addons.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/runbot-addons/tree/9.0/runbot_build_instructions
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWebsite
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Savoir-faire Linux
COMMITTERS
COMMITTERSPedro M. Baeza, Moises Lopez - https://www.vauxoo.com/, OCA-git-bot
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
build_button build_button ir.ui.view qweb Inherits runbot.build_button
view_repo_form runbot.repo field Inherits runbot.view_repo_form
Models touched (2)

New fields (1)
  • prebuilt Boolean
    args: 'Prebuilt'
Public methods (7)
  • checkout(self, cr, uid, ids, context=None)
    @custom_build
    Checkout in custom build directories if they are specified Do same as superclass except for git_export path.
  • cmd(self, cr, uid, ids, context=None)
    @custom_build
    Get server start script from build config Overwrite superclass completely Specify database user in the case of custom config, to allow viewing after db has been created by Odoo (using current user). Disable multiworker
  • job_00_init(self, cr, uid, build, lock_path, log_path)
  • job_10_test_base(self, cr, uid, build, lock_path, log_path)
  • job_20_test_all(self, cr, uid, build, lock_path, log_path)
  • pre_build(self, cr, uid, ids, lock_path, log_path, context=None)
    Run pre-build command if there is one Substitute path variables after splitting command to avoid problems with spaces in internal variables. Run command in build path to avoid relative path issues.
  • sub_cmd(self, build, cmd)

New fields (7)
  • custom_build_dir Char
    help='Relative directory where repo will be checked out' args: 'Custom Build Directory'
  • custom_pre_build_cmd Char
    help=ARGUMENTS_HELP args: 'Custom Pre-build Command'
  • custom_server_params Char
    help=ARGUMENTS_HELP args: 'Custom Server Flags'
  • custom_server_path Char
    help='Relative path of starter script' args: 'Custom Server Path'
  • is_custom_build Boolean
    args: 'Custom Build'
  • other_repo_id Many2one → runbot.repo
    help='Specify a secondary repository whose path can be passed to the build commands.' args: 'runbot.repo', 'Other repository'
  • skip_test_jobs Boolean
    args: 'Skip standard test jobs'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/runbot-addons
GIT
GIThttps://github.com/OCA/runbot-addons.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/runbot-addons/tree/8.0/runbot_build_instructions
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYWebsite
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Savoir-faire Linux
COMMITTERS
COMMITTERSStéphane Bidoul, Moises Lopez, Alexandre Fayolle, Leonardo Pistone, Sandy Carter, Holger Brunn, Thomas Rehn, OCA-git-bot
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
build_button build_button ir.ui.view qweb Inherits runbot.build_button
view_repo_form runbot.repo field Inherits runbot.view_repo_form
Models touched (2)

New fields (0)

No new fields.

Public methods (8)
  • checkout(self, cr, uid, ids, context=None)
    @custom_build
    Checkout in custom build directories if they are specified Do same as superclass except for git_export path.
  • cmd(self, cr, uid, ids, context=None)
    @custom_build
    Get server start script from build config Overwrite superclass completely Specify database user in the case of custom config, to allow viewing after db has been created by Odoo (using current user). Disable multiworker
  • job_00_init(self, cr, uid, build, lock_path, log_path)
  • job_10_test_base(self, cr, uid, build, lock_path, log_path)
  • job_20_test_all(self, cr, uid, build, lock_path, log_path)
  • pre_build(self, cr, uid, ids, lock_path, log_path, context=None)
    Run pre-build command if there is one Substitute path variables after splitting command to avoid problems with spaces in internal variables. Run command in build path to avoid relative path issues.
  • server(self, cr, uid, ids, *l, **kw)
    @api.cr_uid_ids_context
  • sub_cmd(self, build, cmd)

New fields (8)
  • custom_build_dir Char
    help='Relative directory where repo will be checked out' args: 'Custom Build Directory'
  • custom_odoo_path Char
    help="Relative path to Odoo. E.g. put in 'my/odoo' if the relative path to the 'base' module in the repository is my/odoo/openerp/addons/base. If the option is not set, it will assume the default 'odoo'." args: 'Custom Odoo Path'
  • custom_pre_build_cmd Char
    help=ARGUMENTS_HELP args: 'Custom Pre-build Command'
  • custom_server_params Char
    help=ARGUMENTS_HELP args: 'Custom Server Flags'
  • custom_server_path Char
    help='Relative path of starter script' args: 'Custom Server Path'
  • is_custom_build Boolean
    args: 'Custom Build'
  • other_repo_id Many2one → runbot.repo
    help='Specify a secondary repository whose path can be passed to the build commands.' args: 'runbot.repo', 'Other repository'
  • skip_test_jobs Boolean
    args: 'Skip standard test jobs'
Public methods (0)

No public methods.