Commit Graph

184 Commits

Author SHA1 Message Date
Olivier Dony
82196981cf Merge pull request #59 from nseinlet/master-adminforbuttons-nse
[IMP] runbot: restrict repo buttons to runbot admins
2015-04-08 17:11:50 +02:00
Nicolas Seinlet
bbd0b63afa Set groups on buttons to avoid users with backend access to killall builds 2015-04-08 16:57:15 +02:00
Christophe Simonis
9532378ed2 [IMP] runbot: allow upload of bigger files. 2015-04-01 18:03:33 +02:00
Christophe Simonis
ce47981b41 [IMP] runbot: put groups in their own category. 2015-03-31 13:51:17 +02:00
Christophe Simonis
12d84fe1d7 [FIX] runbot: access ir.logging as SUPERUSER 2015-03-31 13:45:36 +02:00
Christophe Simonis
97abe6b764 [FIX] runbot: read ir.logging as SUPERUSER 2015-03-31 13:43:50 +02:00
Christophe Simonis
cf86d6e2b8 [IMP] runbot: Allow restrict access to repo. 2015-03-31 12:58:58 +02:00
Christophe Simonis
83804739dd [IMP] runbot: 2015-03-27 14:54:45 +01:00
Christophe Simonis
34271748a8 [IMP] runbot: better front page 2015-03-03 11:13:35 +01:00
Christophe Simonis
e193aa3897 [IMP] runbot: better front page 2015-03-02 17:26:54 +01:00
Christophe Simonis
36c747d9b2 [IMP] runbot_cla: use https target url 2015-02-17 17:23:52 +01:00
Christophe Simonis
96ee611021 [FIX] runbot_cla: correct odoo email regex 2015-02-17 17:22:28 +01:00
Christophe Simonis
a31109ffe7 [FIX] runbot{,_cla}: really check CLA
c6ce286 moved cla check as first job (`05_check_cla`), but as the
checkout of the working directory was done in `10_test_base`, the check
was actually a no-op.

Do the build environment init in `job_00_init`.

Jobs that does not returning a pid to wait for are automatically
rescheduled.
2015-02-17 15:29:05 +01:00
Christophe Simonis
4e55f4f2f2 [FIX] runbot: use an uri as log-db only if runbot database is on another server 2015-02-11 14:21:51 +01:00
Olivier Dony
2486921a60 [FIX] runbot, runbot_cla: clearly notify pending builds
Avoids confusing users with an all-green CLA mark for a build
that is only starting.

+ Do CLA check as first step, no need to wait
2015-02-11 13:22:28 +01:00
Odoo Online
d65b59f47b [FIX] runbot typo 2015-02-09 19:35:53 +01:00
Olivier Dony
578c379779 [FIX] runbot: create ir.cron record in noupdate mode
Should let us restart an instance with -u runbot
even when another runbot worker is executing the
cron job (locking it in the database).
2015-02-09 10:09:31 +01:00
Odoo Online
a0f8d18586 [FIX] runbot cla fixes 2015-02-09 03:56:54 +01:00
Jeremy Kersten
06fa4526ed [FIX] runbot: typo (related to 4a698da) 2015-02-08 22:22:07 +01:00
Odoo Online
d4db0c89aa [FIX] runbot typo 2015-02-07 18:22:49 +01:00
Antony Lesuisse
de54d4a78c [ADD] runbot_cla
remove useless status in runbot
add author and committer email
clean up repo form view
add runbot cla module
2015-02-07 16:33:23 +01:00
Olivier Dony
8b7c17ca68 [FIX] runbot: only start server with --no-xmlrpcs if supported by that series 2015-01-29 11:22:14 +01:00
David Monjoie
d97f2d9f11 [FIX] runbot: keep modules to install list when forcing rebuild 2015-01-22 17:21:29 +01:00
Jeremy Kersten
dfdd6368af [IMP] runbot: check that duplicated is running + fix /b/
/b/ :
    Use smallest repo_id by default if repo is not specified
    Allow to force the repo in quick_url /b/<branch_name> -> /<repo>/<branch_name>

Duplicated:
    If state is duplicated, the main build in not always running
2015-01-22 16:59:56 +01:00
David Monjoie
478f9fcd24 [IMP] runbot: display build module list in form view 2015-01-21 14:41:23 +01:00
Olivier Dony
247b1581f4 [IMP] runbot: update "flat" badge template to match latest shields.io
(text outline, rounded corners)
2015-01-20 17:17:41 +01:00
David Monjoie
51ab9cb5de [FIX] runbot: fallback on splitting name when no common ancestor 2015-01-20 16:20:35 +01:00
Odoo Online
d3fe1d9c3e [IMP] runbot smaller status bar 2015-01-18 19:21:32 +01:00
David Monjoie
69fa2472e3 [FIX] runbot: fixed strange red build bug for repositories having dependencies
There was an uncaught exception raised by one of the git command in certain cases when searching for the right branch in the dependencies repositories. Because of this error, the dependencies process never finished, and in some case there was no server to run because the server was located on a dependency repo. With no server to run, the build would fail instantly at the start of the testing phase.
2015-01-17 12:59:19 +01:00
Jeremy Kersten
751ea280bc [FIX] runbot: use js from @KangOl 680b884 to post the rebuild. 2015-01-12 17:12:08 +01:00
Jeremy Kersten
7c1da783db [FIX] runbot: improve usability
Add button Quick connect on main page
Add button "Force rebuild" when /runbot/b don't find a running build
2015-01-12 16:20:08 +01:00
Antony Lesuisse
66d53e77e4 runbot cleanup natural death too
dont leave leftover of build that were not killed by the scheduler
2015-01-09 03:34:14 +01:00
Antony Lesuisse
1438152446 runbot git housekeeping 2015-01-09 03:34:14 +01:00
Antony Lesuisse
609cf0fbdf runbot log odoo stderr into logfile
revert commit dea869273a9a03f6f58993c3fa558a916cb8e4a5

phantomjs stderr is now discarded since odoo commit

5a642a802e

no need to discard odoo stderr from logfile.

Close #49
2015-01-09 03:34:14 +01:00
Christophe Simonis
eaf9d44485 [FIX] runbot: force datadir of builds 2015-01-05 11:34:41 +01:00
Jeremy Kersten
c5ae1d0375 [IMP] runbot: don't set debug mode if branch is 7.0 (don't supported by controller). Known issues: Pull request or branch with bad name for v7. 2014-12-15 14:31:46 +01:00
Jeremy Kersten
eb67bb79f4 [IMP] runbot - Search in the 10 last builds to find a running. Redirect by default in debug mode. 2014-12-15 00:23:21 +01:00
David Monjoie
ca64d736d0 [IMP] runbot: added modules to install parameter at the branch level 2014-12-03 12:36:42 +01:00
Jeremy Kersten
649a95f5ea [IMP] runbot: add route for opening last running build for any branch 2014-11-27 15:49:07 +01:00
Sandy Carter
ca9ae51477 [IMP] runbot: add admin group for setups where other users need to administrate runbot
Closes #43
2014-11-21 11:31:46 +01:00
Christophe Simonis
4e29689e7c [FIX] runbot: rebuild is now done via a real post. Allow the browser to respect the redirect. 2014-10-24 11:15:20 +02:00
Jeremy Kersten
1f0f1cd1ba [IMP] search : search also in the branch name and not only in dest, because when the branch name is too long, we cannot retrieve own commit because trigram has been replaced by build number 2014-10-13 17:30:15 +02:00
Richard Mathot
fffa893b4d [ADD] README file 2014-10-07 11:58:16 +02:00
Olivier Dony
ef6405fb4e [FIX] runbot: typo in controller methods 2014-09-24 10:10:48 +02:00
Martin Trigaux
b84964d9f7 [IMP] runbot: rebuild using POST request
Force rebuild links were using GET method. We don't want crawlers to rebuild old builds....
2014-09-23 10:04:15 +02:00
Martin Trigaux
64a686aded [REM] toggle labels
Github labeling system may not be the best but this was not a good idea either, getting too much spam on pull requests
2014-09-23 09:49:03 +02:00
Christophe Simonis
f13e0aabe3 [FIX] runbot: correct sql-db uri generation 2014-09-08 11:31:37 +02:00
Christophe Simonis
e31fc72852 [FIX] runbot: grep the correct file 2014-09-08 11:10:33 +02:00
Christophe Simonis
cae1f9bf49 [IMP] runbot: remove uneeded class (design) 2014-09-05 17:06:12 +02:00
Antony Lesuisse
b03eb142a9 [IMP] runbot: allow grouping by host. graph view by default 2014-09-05 17:03:44 +02:00