Commit Graph

1573 Commits

Author SHA1 Message Date
Moises Lopez
7a842e5e45 [FIX] runbot: Fix csrf error in rebuild method
Runbot is intended to be run on a 8.0 instance but if runs on a 9.0, CSRF needs
to be disabled. Will not break on 8.0 code.

Closes #84
2015-10-22 12:20:37 +02:00
moylop260
3b5669bd01 [FIX] runbot: Fix no such file FETCH_HEAD
Closes #80
2015-10-09 14:47:43 +02:00
Olivier Dony
d1cff975be [IMP] runbot: exclude l10n_ modules unless explicit
As of Odoo 9 the first l10n module installed will automatically
install its chart of account on the main company, so installing
the first one (l10n_ae) is surprising/strange.

Branches that want to build l10n_* modules should list
them explicitly in the "modules to install" field (modules).

In addition, having demo data to set the country of the
main company will automatically installe the relevant
l10n module if it exists. This is the default in Odoo 9
with l10n_us.
2015-10-09 14:41:46 +02:00
Olivier Dony
19f6c36156 [IMP] runbot: detect and warn for builds where server branch cannot be properly determined
More useful recently for enterprise builds where an
appropriate server branch is always required
2015-09-23 16:06:35 +02:00
Olivier Dony
42ae78f647 [FIX] runbot: typo, branch is a dict from search_read() 2015-09-11 12:24:21 +02:00
Odoo Online
d40460d9f1 [IMP] runbot: ir.cron frequency from 0.016 Hz to 0.1 Hz
Monkey patch ir.cron to increase frequency to 0.1 Hz.

In a setup with 6 workers every worker should have the lock every minute.
2015-09-09 01:16:37 +02:00
Odoo Online
44771039ce [FIX] runbot: repo hook 2015-09-09 00:35:45 +02:00
Antony Lesuisse
b9c2a1f9e1 [IMP] runbot add github hook support 2015-09-08 17:04:30 +02:00
Olivier Dony
544bbe5a10 [FIX] runbot: typo s/local/repo 2015-08-24 10:40:13 +02:00
Christophe Simonis
abce301ed1 [IMP] runbot: search of closest branch
When searching the closest branch, search through all duplicated
repositories.
2015-08-21 14:48:21 +02:00
Christophe Simonis
bab6221882 [IMP] runbot: drop all db with build prefix on cleanup 2015-08-19 19:36:49 +02:00
Christophe Simonis
b15a66dd16 [FIX] runbot: keep logs for killed builds 2015-08-19 19:16:36 +02:00
Christophe Simonis
b8d06e7fa0 [IMP] runbot: add links to sticky-dashboard 2015-08-05 16:57:50 +02:00
Christophe Simonis
238d6c6fab [IMP] runbot: move job_timeout field to branch 2015-08-05 16:26:50 +02:00
Christophe Simonis
8b5e0263bd [IMP] runbot: better sticky-dashboard view 2015-08-04 18:23:50 +02:00
Christophe Simonis
aeada94df9 [ADD] runbot: sticky-dashboard page 2015-08-04 15:23:09 +02:00
Christophe Simonis
9ebc8d6447 [IMP] runbot: timeout per repo 2015-08-03 18:07:19 +02:00
Christophe Simonis
231e456e3b [FIX] runbot: ensure every arguments is a string when spawning processes 2015-07-31 16:48:40 +02:00
Christophe Simonis
edf5712fb3 [FIX] runbot: better handling of github API errors 2015-07-31 16:47:12 +02:00
Christophe Simonis
491151d251 [FIX] runbot: install explictly set modules, even if they are blacklisted 2015-07-24 19:18:08 +02:00
Christophe Simonis
2e01744b0d [IMP] runbot: better search of closest branch.
Can now search for matching PR
2015-07-15 16:57:56 +02:00
Olivier Dony
2e2c7f0c21 [IMP] runbot: ignore missing modules in list of modules to install
This allows configuring an explicit list of modules to install
on a repository without having orange builds (with warnings)
whenever a branch does not have one of these modules for some
reason.
2015-07-14 14:50:37 +02:00
Christophe Simonis
6486cf49be [FIX] runbot: better search of closest_branch for saas branches 2015-07-13 17:20:01 +02:00
Olivier Dony
df1d0f81b3 [FIX] runbot: proper join of modules from {build,branch,repo} 2015-07-13 10:20:20 +02:00
Christophe Simonis
97ad5e7746 [FIX] runbot: '' is not a valid module name 2015-07-13 10:15:27 +02:00
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