mirror of
https://github.com/odoo/runbot.git
synced 2025-03-30 14:55:45 +07:00

With the increasing usage of runbot to test various things and to take care of random bugs in tests, the need of a team dashboard arose. This commit adds a `runbot.team` model. Internal users can be linked to the team. Module wildcards can be used to automatically assign build errors to a team at 'build.error` creation. Also, an upgrade exception can be assigned to a team in order to display it on a dashboard. A dashboard model is used to create custom dashboards on the team frontend page. By default, a dashboard is meant to display a list of failed builds. The failed builds are selected by specifying a project, a trigger category (e.g. nightly), a config and a domain (which select failed builds by default). The dashboard can be customized by specifying a custom view. Each created team has a frontend page that displays all the team dashboards and the errors assigned to the team. A few other improvement also come with this commit: * The cleaned error is now in a tab on the build error form * Known errors are displayed as "known" on the build log page * The build form shows the config used for the build
27 lines
555 B
Python
27 lines
555 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from . import batch
|
|
from . import branch
|
|
from . import build
|
|
from . import build_config
|
|
from . import build_error
|
|
from . import bundle
|
|
from . import commit
|
|
from . import database
|
|
from . import dockerfile
|
|
from . import event
|
|
from . import host
|
|
from . import ir_cron
|
|
from . import ir_ui_view
|
|
from . import project
|
|
from . import repo
|
|
from . import res_config_settings
|
|
from . import res_users
|
|
from . import runbot
|
|
from . import upgrade
|
|
from . import user
|
|
from . import version
|
|
|
|
from . import build_stat
|
|
from . import build_stat_regex
|