Commit Graph

198 Commits

Author SHA1 Message Date
Olivier Dony
0bea276f48 [IMP] runbot: support finer-grained selection of modules to test 2015-07-10 20:01:32 +02:00
Olivier Dony
d12b1914d0 [FIX] runbot: /runbot/badge route should work also for private repositories
This lets us use them in README files
on GitHub, which uses an image proxy
that does not have access to private
repositories.

This is an acceptable disclosure of
information about private repos.
2015-07-10 20:00:21 +02:00
Christophe Simonis
ed3d82be51 [FIX] runbot: do not install hw_* and theme_* modules 2015-06-18 18:24:35 +02:00
ged-odoo
c3e2a6f72d [FIX] runbot: overwrite duplicate addons
The web addon is supposed to be duplicate, and needs to be installed
(in the enterprise version) over the community edition.

A better fix would be to keep the folder and use the --addons-path key
to start the server with the correct addon, but this is an urgent
change.

closes #69
2015-06-17 13:02:43 +02:00
Nicolas Seinlet
d7edc2b0d5 [IMP] runbot: deprecate unused fields
testing and running in repository are not used anymore since they are now
two ir.config_parameter:
- runbot.workers
- runbot.running_max
2015-05-21 10:50:58 +02:00
Martin Trigaux
b98568709f [FIX] runbot: find build to be skipped
search should be made on runbot.build and not runbot.repo object
2015-05-05 13:06:02 +02:00
Christophe Simonis
ff404a4334 [FIX] runbot: ensure logs dir exists 2015-04-30 18:19:54 +02:00
Martin Trigaux
4fb0b2c735 [IMP] runbot: better scheduler
pushing new commits on your branch should not make you loose rank in schuler
build order is based on sequence which is the id of the build, take lowest
2015-04-28 15:21:21 +02:00
Sandy
78d5cad296 [FIX] runbot: don't link to logs if build was skipped
When a build is skipped, `build.host` is `False`.
The proposed link is then just `http://rubot/static/build/...` which is invalid.
As there is no logs anyway, hide the buttons.
2015-04-28 13:43:21 +02:00
Sandy Carter
15870dcc7e [FIX] runbot: remove trailing '.git' in repo base
The base field is used to compose URL (e.g. "https://%s/pulls" % repo.base).
The URL given by github can contains trailing '.git' so this should be removed.
2015-04-28 13:28:22 +02:00
Samuel Lefever
3da19f47b7 [IMP] runbot: fqdn method to get fqdn 2015-04-28 10:48:36 +02:00
Olivier Dony
7137c49ec5 [FIX] runbot: skip github API calls if repo has no token, instead of crashing/logging an exception
Avoids spurious errors for the github status updates
2015-04-23 10:35:14 +02:00
Jeremy Kersten
e0103ed3f0 [IMP] runbot: change menu and remove black user_navbar
Useless for employee who don't edit runbot
2015-04-13 18:04:55 +02:00
Jeremy Kersten
745d146b4b [FIX] runbot: don't install website_instantclick by default
This module should be simply deleted in a futur version.
The implementation are not more supported with Odoo.
Architecture need to be reviewed to allow the support of this library
2015-04-08 17:29:55 +02:00
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