Commit Graph

97 Commits

Author SHA1 Message Date
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
Gery Debongnie
5579fae1c8 [IMP] add starting port as configuration option 2014-07-16 10:11:29 +02:00
Sandy
673c979930 Support repo names with .git suffix
Fixes #17
2014-07-15 11:11:59 -04:00
odony
b4e680f095 [FIX] runbot: compatibility with v7 2014-07-15 16:52:27 +02:00
odony
305c9ba1fc Merge pull request #21 from odoo/master-other-improvements-ged
[MERGE] runbot: share workers between repos + lint/improve docstrings and variable names
2014-07-15 16:37:13 +02:00
Gery Debongnie
2a48508bdf [IMP] better code for list_jobs
inspired by https://github.com/odoo/odoo-extra/pull/19
2014-07-15 16:31:15 +02:00
Gery Debongnie
8e01b6b2c6 [IMP] put the default timeout in runbot options
instead of hardcoding it
2014-07-15 16:28:20 +02:00
Gery Debongnie
7261f5f479 [IMP] throw exception when no toke is available 2014-07-15 14:38:36 +02:00
Gery Debongnie
433d8bc67c [IMP] improvements to runbot repo page 2014-07-15 13:33:25 +02:00
Gery Debongnie
1762df1747 [IMP] share the workers between repos 2014-07-15 11:33:38 +02:00
Gery Debongnie
2089b04c1f [IMP] display the nmbr of pending/running/testing
display the total number (for the runbot) and the numbers by repo
2014-07-15 10:55:35 +02:00
Gery Debongnie
46ce71ee4a [IMP] xml improvement 2014-07-15 10:19:04 +02:00
Gery Debongnie
48bd01e6f2 [IMP] add a res_config to the runbot
it can save/get two keys: default_workers and default_running_max
2014-07-15 10:13:32 +02:00
Gery Debongnie
a823519cdf [FIX] preparation for v8 (fix various issues) 2014-07-14 14:22:23 +02:00
Gery Debongnie
6aa2e146e6 [MERGE] merge from origin/master 2014-07-14 10:10:43 +02:00
Christophe Simonis
a1e4a428f1 Merge pull request #15 from xmo-odoo/master
Actual support for openerp -> odoo
2014-07-08 13:55:28 +02:00
xmo-odoo
4cbd527565 [FIX] non-renamed branches path handling
Is there *really* a need for them to keep working?
2014-07-08 13:48:40 +02:00
Xavier Morel
9110f3875a [FIX] actual support for openerp -> odoo 2014-07-08 13:41:08 +02:00
xmo-odoo
6f5489cc93 Compatibility with openerp -> odoo rename 2014-07-08 12:18:45 +02:00
Gery Debongnie
8def4a52f8 [IMP] change the kill timeout back to 30 min 2014-07-06 16:31:20 +02:00
Gery Debongnie
a5a50a5694 [FIX] correct a typo in variable name 2014-07-04 21:16:15 +02:00
Gery Debongnie
2db9b911b1 [MERGE] merge from master 2014-07-04 16:45:03 +02:00
odony
ee222b09d3 Merge pull request #13 from odoo/master-build-order-fix-ged
[FIX] makes sure the build order is FIFO
2014-07-04 16:36:44 +02:00
Gery Debongnie
a80d44b451 [FIX] makes sure the build order is FIFO
instead of LIFO (for csn...)
2014-07-04 16:33:32 +02:00
Gery Debongnie
2a5f6c3a51 [IMP] stylistic improvements
easier to understand and to fix...
2014-07-04 16:22:29 +02:00
Antony Lesuisse
6d4324b251 [FIX] keep running highest priority builds, not lowest oneswq 2014-07-04 15:29:39 +02:00
Antony Lesuisse
3c71c38839 runbot build log template typo 2014-07-04 15:11:33 +02:00
Antony Lesuisse
16f392e916 runbot fix gevent test 2014-07-04 15:11:32 +02:00
Antony Lesuisse
aa55d36911 [FIX] dont run cron, improve log display
Dont run cron while testing this was causing apiculture to be slow.
2014-07-04 15:11:32 +02:00
odony
0ce2bb3485 Merge pull request #12 from odoo/master-improvements-ged
[IMP] improvements to runbot scheduler
2014-07-04 15:10:21 +02:00
Gery Debongnie
4e1b44e3aa [IMP] improve runbot scheduler algorithm
Now it is very simple: it always builds sticky branch if any, otherwise
last pending job.
2014-07-04 14:47:58 +02:00
Gery Debongnie
969f28f126 [FIX] correctly skip builds when they get too old 2014-07-04 14:12:12 +02:00
Gery Debongnie
93e875ed20 [FIX] make the 'rebuild' functionality work
if it is a skipped build, it will be put back in pending state, with
a high sequence number.

if it is a complete build, it will be duplicated
2014-07-04 13:51:14 +02:00