Christophe Simonis
33584cea10
[FIX] runbot: when running via coverage, skip sys.executable in command line
2017-02-09 17:03:39 +01:00
Christophe Simonis
9282b10034
[FIX] runbot: respect repo sequence in dashboard
2017-02-08 13:53:53 +01:00
Christophe Simonis
efd049da1d
[FIX] runbot: index repo sequence
2017-02-08 13:30:18 +01:00
Christophe Simonis
0fa8bbe620
[ADD] runbot: add support for running coverage when testing.
2017-01-24 14:14:20 +01:00
Christophe Simonis
e29c25c7dc
[IMP] runbot: add sequence field on repo model
2017-01-24 14:06:34 +01:00
Nicolas Seinlet
65e86b564e
[IMP] Clean old, unused and not deleted runbot builds databases
2017-01-10 16:42:24 +01:00
Christophe Simonis
b04488f22f
[IMP] runbot: handle new binary for 10.0
2016-09-29 14:33:15 +02:00
Olivier Dony
48e652436e
[IMP] runbot: support v10-style manifest naming convention
2016-09-02 19:23:02 +02:00
Julien Legros
10c3e87579
[IMP] runbot: optimize new branch detection
2016-09-02 13:05:22 +02:00
Christophe Simonis
a835d1e800
[IMP] runbot: add link to original build for duplicate builds
2016-09-02 13:02:56 +02:00
Christophe Simonis
287c466637
[FIX] runbot: hide bad link to github for messages from runbot itself
2016-09-02 13:02:11 +02:00
Christophe Simonis
b46980ab91
[FIX] runbot: export git tree at current time
...
When doing a `git archive`, all the files in the tar archive are set to
the commit date. Ignore this date during extraction.
Having the files with dates in future will make some tests about assets
to fail. These tests force the asset regeneration by `touch`ing one
js/css file. If other bundle files are still older that the one we touch,
the asset is not regenerated and the test fail.
2016-09-01 12:36:36 +02:00
Alexandre Fayolle
920c3edcee
[FIX] runbot: avoid 404 errors in fast_launch url for odoo >= 9
...
Closes https://github.com/odoo/odoo-extra/pull/104
2016-07-27 17:49:29 +02:00
Christophe Simonis
97001fbf72
[FIX] runbot: remove useless commit()
...
This commit() is the root cause of the famous false-positive error
`_check_module_names invalid module names, ignored: False`.
The first step (pull code) is a long one. if a push-hook request
happen during this step, the current transaction wont be able to be
commited (the list of module to test is written on the build). Due to
this early commit(), the build is left in an intermediate state with
the module list unpopulated (=False).
2016-07-26 18:28:24 +02:00
Christophe Simonis
40e502ecd5
[FIX] runbot: track and log prefix match of closest branch
2016-04-27 16:09:04 +02:00
Christophe Simonis
fd8e7f269b
[FIX] runbot: check if branch exists when matching
2016-04-04 19:24:02 +02:00
Christophe Simonis
f7b2a40f43
[FIX] runbot: favor sticky branches during matching
2016-02-23 11:48:18 +01:00
Olivier Dony
d9c9642675
[FIX] runbot: workaround for nginx bug leaving orphan worker, blocking port
2016-02-12 15:24:32 +01:00
Christophe Simonis
72bfc504cc
[IMP] runbot: hide stopped hosts from dashboard page
2016-02-09 14:48:38 +01:00
Christophe Simonis
f77c52119e
[IMP] runbot: log matching closest branches
2016-02-09 14:38:38 +01:00
Christophe Simonis
7e9ddee6ea
[IMP] runbot: cleanup builds after 7 days.
...
By cleaning job only after 7 days, we ensure we keep logs of killed
jobs (or jobs that doesn't even start) for easier debuging.
2016-02-09 14:11:49 +01:00
Jeremy Kersten
5ef0b2ee6d
[FIX] runbot: avoid traceback when build_ids was empty (eg: filter by search) or not declared.
...
equivalent to max(build_ids, default=0) in python 3
2016-01-27 17:29:09 +01:00
Jeremy Kersten
fccd90f755
[IMP] runbot: keep search when we switch of repo from shorcut at top right
2016-01-26 16:59:45 +01:00
Olivier Dony
93dd0f5ee0
[FIX] runbot: do not use remote cursor for dropping local dbs
...
To find out the list of manually created dbs,
rev. 4d94f45 used the cursor that is connected to the
master `runbot` database, which may reside on a different
cluster/host.
- Add a helper to run commands on the local PG cluster
instead ("postgres" database).
- Modify other commands for local cluster (create/drop db)
to use the same cursor. Rename those methods to _local_*
to better indicate their local effect.
2016-01-18 18:47:17 +01:00
Olivier Dony
be34ac72c9
[FIX] runbot: reduce serialization failures (TransactionRollbackError)
...
Both the cron and the tests themselves need to write to the builds,
which triggers the update of the `repo_id` field, as it is a stored
related.
2016-01-18 18:09:05 +01:00
Olivier Dony
431a3f6d5b
[IMP] runbot: do not display hosts with no recent builds (considered stopped)
2016-01-18 18:09:05 +01:00
Joren Van Onder
fa68c54477
[IMP] runbot: blacklist a couple of POS related modules
...
- pos_blackbox_be: because it makes the POS unuseable without a blackbox
- pos_cache: because it's too confusing for runbot users, everytime they
update a product they have to also update the cache, but
most people don't realise that.
2015-12-10 09:26:59 +01:00
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
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
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
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
Christophe Simonis
4a173cd34c
[FIX] runbot: connect to sql-db via uri
2014-09-05 16:35:50 +02:00
Christophe Simonis
b1230795b4
[FIX] runbot: remove filestore when droping database
2014-09-05 16:31:39 +02:00
Christophe Simonis
f34975ecff
[FIX] runbot: do not run odoo in with log-level=debug
2014-09-05 16:30:10 +02:00
Gery Debongnie
71c35940de
[FIX] ignore build without hosts for displayed stats
2014-08-19 11:32:34 +02:00
Gery Debongnie
16521bb575
display specific host statistics in main page
...
also fix a bug with urls in logs
2014-08-19 11:24:29 +02:00
Gery Debongnie
b424851a1f
[IMP] removes meaningless running and testing max
...
the runbot don't know how many machines are working and their specific
configurations.
2014-08-18 14:57:04 +02:00
Gery Debongnie
533b96bba5
[FIX] fix url for full/base logs
2014-08-18 14:20:29 +02:00
Gery Debongnie
1d6620c4c6
[FIX] fix url in build
2014-08-18 12:46:03 +02:00
Gery Debongnie
e80ac6b4dc
[FIX] add host name instead of domain name in templates
2014-08-18 12:32:36 +02:00
Gery Debongnie
8c5221f9ba
[FIX] add host field to tree and form view
2014-08-18 12:11:28 +02:00
Antony Lesuisse
ff3cd203c7
runbot createdb locally using commandline
2014-08-17 18:06:03 +02:00
Moises Lopez - https://www.vauxoo.com/
85039d0660
[FIX][runbot] Add context parameter
...
Cron function receive context parameter but no send it.
This is important for manage inherit function
(Rebase of #32 )
2014-08-14 01:23:44 +02:00
Antony Lesuisse
e3204418cc
runbot dont send dead builds longpolling to runbot
2014-08-13 22:48:27 +02:00
Antony Lesuisse
e7ca719dca
runbot multihost
2014-08-13 22:47:41 +02:00
Antony Lesuisse
3ae2ab8435
runbot move constants
2014-08-13 22:47:06 +02:00
Christophe Simonis
75b6cef68c
[IMP] runbot: template "build_name" can hide time
2014-08-11 17:08:28 +02:00
Christophe Simonis
ea2989bede
[FIX] runbot: force create database with collate "C"
2014-08-01 12:11:50 +02:00
Christophe Simonis
b360ab6de4
[FIX] runbot: correct svg template
...
use `t-attf-xmlns` to avoid `xmlns` being handled by qweb xml parser itself
2014-07-31 17:05:54 +02:00
Olivier Dony
0705e42557
[IMP] runbot: add github octicons, thinner arrow for committer
2014-07-31 12:38:46 +02:00
Denis Ledoux
23c91278d7
[ADD] revision committer
2014-07-30 13:27:39 +02:00
odony
6265f24ce3
Merge pull request #20 from bwrsandman/patch-1
...
[MERGE] runbot: more robust detection of "Modules Loaded"
2014-07-25 17:23:29 +02:00
Sandy Carter
93f7a7d6c3
Add hint_repos set to help find the common branch in cases whith many dependent repos
2014-07-24 21:39:07 -04:00
Moises Lopez
be765dd6ef
[REF][runbot] Add validation of module duplicate
2014-07-24 20:21:42 -04:00
Moises Lopez
071720433c
[REF][runbot] Fix find modules to test and add support to use one previously configured in the repository
2014-07-24 20:13:53 -04:00
Sandy Carter
5e25a8aeb2
Use git API to find base branch name for PRs when looking for common branch names in extra deps
2014-07-24 20:13:53 -04:00
Sandy Carter
91beb61727
Add function to better find proper fallback branch
2014-07-24 20:13:46 -04:00
Sandy Carter
9dbc76d9ab
Change fallback_id to many2many
...
A Community addon can depend on more than just an odoo server, but other
addon repos
Bump version
Add migration script
Signed-off-by: Sandy Carter <sandy.carter@savoirfairelinux.com>
2014-07-24 18:10:15 -04:00
Sandy Carter
0fb5ef92c4
Allow some builds to determine which modules to test
...
OCA addon repos will only want to test modules at root
Glob before retrieving dependencies and store in build object
Signed-off-by: Sandy Carter <sandy.carter@savoirfairelinux.com>
2014-07-24 18:09:07 -04:00
Gery Debongnie
41796383c7
[IMP] save committer date at creation
...
also, add a create_date filter in the build search view. It allows
interesting statistics to be displayed in the graph view.
2014-07-24 10:17:17 +02:00
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
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
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
Sandy
c0eadd5dac
Be more forgiving in detecting Modules Loaded
...
There is no problem yet, but this line is prone to future errors.
This line catches all cases without having to pool the filesystem.
2014-07-14 18:01:12 -04: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
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
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
Sandy Carter
7d5afaad91
Fix server error when viewing runbot page with no repos
...
Only display filters when there are repos
Only display search when there are repos
2014-06-24 10:50:43 -04: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
Antony Lesuisse
275f55d227
[IMP] runbot: nginx log_format: log request times
2014-06-20 16:26:15 +02:00
Christophe Simonis
c35eb7f23a
[IMP] runbot: better design for killed builds
2014-06-19 14:42:38 +02:00
Christophe Simonis
43470bb8df
[IMP] runbot: mark killed builds as "killed"
2014-06-19 14:12:04 +02:00
Christophe Simonis
a82488bce5
[FIX] runbot: working late is never a good idea...
2014-06-18 23:35:14 +02:00
Christophe Simonis
18a0482cf7
[FIX] runbot: set type when logging jobs
2014-06-18 23:28:34 +02:00
Christophe Simonis
d067c4c629
[IMP] runbot: jobs logs when they starts
2014-06-18 23:23:51 +02:00
Martin Trigaux
c1322e9135
[IMP] do not install gengo on runbot because it is not configured and will raise warning
2014-06-18 17:14:59 +02:00
Martin Trigaux
0d30ffec5c
change parameter name to what it actually does
2014-06-17 16:21:02 +02:00
Martin Trigaux
70ccc49bc7
[FIX] default build result is empty to match in domains result != 'somethind'
2014-06-17 16:19:11 +02:00
Christophe Simonis
66505df1f6
Matching with better regex
2014-06-17 14:49:18 +02:00
Martin Trigaux
03bb317aa9
Update also view labels to toggle labels
2014-06-17 14:23:36 +02:00
Martin Trigaux
50565224b5
Do not compute badge for skipped and display warning badge
2014-06-17 14:22:46 +02:00
Martin Trigaux
ad834107c3
Avoid getting broken pipe errors in logs
2014-06-17 14:15:36 +02:00
Martin Trigaux
4413315e86
[FIX] or condition was wrong, put text in orange
2014-06-17 12:49:35 +02:00
Martin Trigaux
81a66c4a78
[ADD] warning levels in tests
2014-06-17 12:38:38 +02:00
Martin Trigaux
e49cde3032
update labels to new definition
2014-06-17 12:33:01 +02:00
Olivier Dony
44ae495f7a
[IMP] runbot: show build time in human-readable format
2014-06-16 12:09:27 +02:00
Sandy Carter
bebfd0dd4b
Spawn openerp using same python executable
...
Solves issues of spawning wrong version of python or popping out of virtualenv
2014-06-13 14:13:11 -04:00
odony
f0ca75f582
Merge pull request #3 from bwrsandman/patch-1
...
Specify additional python dependency
2014-06-13 17:12:05 +02:00
Olivier Dony
9c5819a7ea
[IMP] runbot: allow manually marking a build as skipped, should probably be done automatically or something
2014-06-13 09:50:32 +02:00
Sandy
e55b112e66
Specify additional python dependency
...
Include matplotlib introduced in 32aecb13
2014-06-12 14:47:33 -04:00
Christophe Simonis
f37354b054
[FIX] runbot: badges: Tkinter require a X server. use matplotlib to compute text width
2014-06-12 12:28:27 +02:00
Christophe Simonis
52b10975e9
[IMP] runbot: badge is now directly rendered via a qweb template instead of depending on shields.io service
2014-06-12 11:08:31 +02:00
Christophe Simonis
e3fe1ef28d
[FIX] runbot: correct badge route
2014-06-11 00:05:41 +02:00
Christophe Simonis
c731d4abf1
[ADD] runbot: add badge route
2014-06-10 15:59:14 +02:00
Antony Lesuisse
be9a8851d0
fix rollback when killing
2014-06-03 22:40:41 +02:00
Antony Lesuisse
73aef7f083
killpg to kill all workers, rebuild only on last build
2014-05-29 04:46:36 +02:00
Antony Lesuisse
0d8df5ea0b
label id is an int, not a string
2014-05-28 16:28:32 +02:00
Antony Lesuisse
d46035c7f7
better display of build
2014-05-28 15:47:36 +02:00
Martin Trigaux
08f2a10d84
[ADD] toggle labels on the runbot
2014-05-28 15:43:35 +02:00
Antony Lesuisse
d0e313cdfd
Order the build events oldest first and add author and commit information when rebuilding
2014-05-28 14:27:30 +02:00
Antony Lesuisse
d075d1e8a0
runbot add author and subject support
2014-05-28 01:02:02 +02:00
Antony Lesuisse
33304c77ec
runbot change build url to use id
2014-05-27 02:17:39 +02:00
Antony Lesuisse
c2ca8aeed9
runbot fixes
...
- rebuild create a new build
- test pull head instead of merge
- move commit status to a function, to add support for pending
2014-05-27 01:59:22 +02:00
Antony Lesuisse
5423ea2394
bzr import runbot and document_fs
2014-05-26 01:56:21 +02:00