Commit Graph

77 Commits

Author SHA1 Message Date
Olivier Dony
9300bd8cd8 [FIX] runbot: compatibility with 7.0 API 2014-07-23 13:09:08 +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
Gery Debongnie
019cee7f54 [IMP] various improvements 2014-07-22 10:26:34 +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
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
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
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
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
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
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
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
Gery Debongnie
b8b782b831 [IMP] skip builds when they will never be built
this marks builds as 'skipped' if a newer build in the same branch
arrives, or if they are too old to be built anyway
2014-07-04 12:05:10 +02:00
Gery Debongnie
6109efb122 [IMP] various code cleanups 2014-06-27 16:09:10 +02:00
Gery Debongnie
a70e64e976 [IMP] various code cleanups in runbot.py 2014-06-26 14:56:37 +02:00
Gery Debongnie
30a36aa0f6 [IMP] various code improvements in runbot 2014-06-26 11:58:03 +02:00
antonylesuisse
6cb6bdd4ab Merge pull request #6 from bwrsandman/same_python
Spawn openerp using same python executable
2014-06-25 10:45:35 +02:00
Christophe Simonis
684210c1c3 [FIX] runbot: differential kill and terminate 2014-06-24 15:58:11 +02:00
Christophe Simonis
38d1ed7d11 [FIX] runbot: give more life to builds 2014-06-24 12:45:01 +02:00
Christophe Simonis
90d251615e [IMP] runbot: update github status at build birth and death 2014-06-24 12:43:22 +02:00
Christophe Simonis
c5486cb430 [FIX] runbot: correct build killing 2014-06-24 12:26:39 +02:00