Commit Graph

130 Commits

Author SHA1 Message Date
Gery Debongnie
16521bb575 display specific host statistics in main page
also fix a bug with urls in logs
2014-08-19 11:24:29 +02:00
Gery Debongnie
b424851a1f [IMP] removes meaningless running and testing max
the runbot don't know how many machines are working and their specific
configurations.
2014-08-18 14:57:04 +02:00
Gery Debongnie
533b96bba5 [FIX] fix url for full/base logs 2014-08-18 14:20:29 +02:00
Gery Debongnie
1d6620c4c6 [FIX] fix url in build 2014-08-18 12:46:03 +02:00
Gery Debongnie
e80ac6b4dc [FIX] add host name instead of domain name in templates 2014-08-18 12:32:36 +02:00
Gery Debongnie
8c5221f9ba [FIX] add host field to tree and form view 2014-08-18 12:11:28 +02:00
Antony Lesuisse
ff3cd203c7 runbot createdb locally using commandline 2014-08-17 18:06:03 +02:00
Moises Lopez - https://www.vauxoo.com/
85039d0660 [FIX][runbot] Add context parameter
Cron function receive context parameter but no send it.
This is important for manage inherit function

(Rebase of #32)
2014-08-14 01:23:44 +02:00
Antony Lesuisse
e3204418cc runbot dont send dead builds longpolling to runbot 2014-08-13 22:48:27 +02:00
Antony Lesuisse
e7ca719dca runbot multihost 2014-08-13 22:47:41 +02:00
Antony Lesuisse
3ae2ab8435 runbot move constants 2014-08-13 22:47:06 +02:00
Christophe Simonis
75b6cef68c [IMP] runbot: template "build_name" can hide time 2014-08-11 17:08:28 +02:00
Christophe Simonis
ea2989bede [FIX] runbot: force create database with collate "C" 2014-08-01 12:11:50 +02:00
Christophe Simonis
b360ab6de4 [FIX] runbot: correct svg template
use `t-attf-xmlns` to avoid `xmlns` being handled by qweb xml parser itself
2014-07-31 17:05:54 +02:00
Olivier Dony
0705e42557 [IMP] runbot: add github octicons, thinner arrow for committer 2014-07-31 12:38:46 +02:00
Denis Ledoux
23c91278d7 [ADD] revision committer 2014-07-30 13:27:39 +02:00
odony
6265f24ce3 Merge pull request #20 from bwrsandman/patch-1
[MERGE] runbot: more robust detection of "Modules Loaded"
2014-07-25 17:23:29 +02:00
odony
1f33652d50 Merge pull request #8 from bwrsandman/community-addons
[MERGE] runbot: support for multiple repo dependencies

- Also improved branch selection for dependencies
- Plus improved selection of modules to build
2014-07-25 17:12:52 +02:00
Sandy Carter
93f7a7d6c3 Add hint_repos set to help find the common branch in cases whith many dependent repos 2014-07-24 21:39:07 -04:00
Moises Lopez
be765dd6ef [REF][runbot] Add validation of module duplicate 2014-07-24 20:21:42 -04:00
Moises Lopez
071720433c [REF][runbot] Fix find modules to test and add support to use one previously configured in the repository 2014-07-24 20:13:53 -04:00
Sandy Carter
5e25a8aeb2 Use git API to find base branch name for PRs when looking for common branch names in extra deps 2014-07-24 20:13:53 -04:00
Sandy Carter
91beb61727 Add function to better find proper fallback branch 2014-07-24 20:13:46 -04:00
Sandy Carter
9dbc76d9ab Change fallback_id to many2many
A Community addon can depend on more than just an odoo server, but other
addon repos

Bump version
Add migration script

Signed-off-by: Sandy Carter <sandy.carter@savoirfairelinux.com>
2014-07-24 18:10:15 -04:00
Sandy Carter
0fb5ef92c4 Allow some builds to determine which modules to test
OCA addon repos will only want to test modules at root

Glob before retrieving dependencies and store in build object

Signed-off-by: Sandy Carter <sandy.carter@savoirfairelinux.com>
2014-07-24 18:09:07 -04:00
Sandy Carter
83029e48f5 Add runbot work files to gitignore 2014-07-24 18:07:05 -04:00
odony
09a6e90cbe Merge pull request #26 from odoo/master-two-quick-fixes-ged
[IMP] runbot: save committer date at creation
2014-07-24 10:23:37 +02:00
Gery Debongnie
41796383c7 [IMP] save committer date at creation
also, add a create_date filter in the build search view.  It allows
interesting statistics to be displayed in the graph view.
2014-07-24 10:17:17 +02:00
Olivier Dony
9300bd8cd8 [FIX] runbot: compatibility with 7.0 API 2014-07-23 13:09:08 +02:00
odony
f39ced30d3 Merge pull request #25 from odoo/master-fixes-and-optimizations-ged
[FIX] runbot: fix build search, optimize query for main repo view, update github status for duplicate builds
2014-07-23 13:07:15 +02:00
Gery Debongnie
dfa6fbad61 [FIX] notifies github when duplicate isn't pending
when a duplicate build is created, it now check if it isn't pending.
If not, it properly notifies github.
2014-07-23 12:26:41 +02:00
Gery Debongnie
aa0c64c2b1 [IMP] optimize the number of queries in controller
now, it only does one query to get the ids of each builds,
instead of a query for each branch
2014-07-23 12:26:40 +02:00
Gery Debongnie
6d7077ba12 [FIX] improves the search in runbot repo
now, it searches by fields 'dest' and 'subject'.  Also, slightly
improves the logic behind the controller.  Oh, and also prevent a
crash when searching
2014-07-23 12:26:40 +02:00
odony
6128ed42ea Merge pull request #23 from bwrsandman/patch-3
[FIX] runbot: nginx field name conflict fixed by renaming `nginx()` to `reload_nginx()`
2014-07-22 23:19:13 +02:00
Sandy
793ba31eca Fix nginx field-function ambiguity 2014-07-22 11:50:52 -04:00
Sandy Carter
73cebcf696 [FIX] runbot: use runbot.repo.domain() instead of hardcoded URL
(the whole thing could possibly be replaced by web.base.url)
2014-07-22 17:37:32 +02:00
Olivier Dony
cc1fbaf9cc [IMP] runbot: add a few missing indexes 2014-07-22 16:52:11 +02:00
odony
5509e7963b Merge pull request #22 from bwrsandman/patch-2
[IMP] runbot: support repo names with `.git` suffix when performing github API calls
2014-07-22 16:41:28 +02:00
odony
ea0e1406a6 Merge pull request #24 from odoo/master-linked-builds-ged
This branch introduce the notion of 'duplicate' builds and use it to reduce the load. Each repository can have a duplicate repository (needs to be explicitely set up) where it will look for possible duplicate builds. If duplicate builds are found, they are linked together and the result of the real one will be used to display data for the duplicate build.

Also, the branch improve somewhat the style of the code, completely refactors the runbot.repo controller (it reduces by about half the number of sql requests done to display the repo page), add options to the runbot settings page (domain key), add a graph view for runbot builds, fixes a few bugs, and probably introduces some new bugs as well.
2014-07-22 12:02:18 +02:00
Gery Debongnie
40f68b81be [ADD] add a graph view for runbot builds 2014-07-22 11:01:34 +02:00
Gery Debongnie
019cee7f54 [IMP] various improvements 2014-07-22 10:26:34 +02:00
Gery Debongnie
12bb6d05a1 [IMP] add domain key to the runbot settings screen 2014-07-18 16:43:31 +02:00
Gery Debongnie
a63fa03dd2 [FIX] notifies github for duplicate builds 2014-07-18 16:01:44 +02:00
Gery Debongnie
7c5e2c8c68 [IMP] improve behavior of skipped/forced builds 2014-07-18 13:33:56 +02:00
Gery Debongnie
0c8ddf2a0d [IMP] display duplicate builds 2014-07-18 13:19:33 +02:00
Gery Debongnie
40a1d8010b [IMP] optimizations to runbot controller 2014-07-18 11:01:56 +02:00
Gery Debongnie
06fe91b443 [IMP] code refactoring 2014-07-17 13:07:48 +02:00
Gery Debongnie
242e28abf9 [IMP] rename 'v' in 'context' 2014-07-17 10:00:39 +02:00
Gery Debongnie
b28a710234 [IMP] ignore skipped when detecting duplicate 2014-07-17 09:56:48 +02:00
Gery Debongnie
0ffbc9c30d [IMP] allow detection of duplicate builds 2014-07-16 16:50:03 +02:00