summaryrefslogtreecommitdiff
path: root/lorrycontroller/statedb.py
Commit message (Collapse)AuthorAgeFilesLines
* Make migrations run only once per executionpedro/publish-failuresPedro Alvarez Piedehierro2017-07-131-15/+25
| | | | | | | | Yoyo migration libraries were failing in some cases due to "database is locked" errors. It was difficult to track down what parallel operations were causing the problems, so I dediced it was better to run the migrations once per execution instead of executing them everytime we opened a connection with the database (for every request).
* jobupdate: Store job information in lorry if job failedPedro Alvarez Piedehierro2017-07-131-0/+10
|
* statedb: add columns for last failure informationPedro Alvarez Piedehierro2017-07-131-3/+8
|
* Remove unused version tableBen Brown2016-06-171-4/+0
| | | | Change-Id: Id79d4d05a5cabd7f7a634dd0decdee6bd4005f29
* Migrations by yoyoBen Brown2016-06-171-9/+11
| | | | Change-Id: I6d06353462badac114c685a2f655bc41c6820aff
* Add support for lorrying from a Gitlab serverBen Brown2016-06-171-10/+19
| | | | Change-Id: I2bb0aaf428e331a0bcd5a1e3111d4c7bca4afede
* Remove trailing whitespaceBen Brown2015-12-151-5/+5
| | | | | | While we're here, seeing as Adam mentioned it. Change-Id: I5ddb86c70d76a84cf12fbd4eb91f3802e490d745
* Add lists of failed, all jobs to lorry spec infobaserock/liw/lc-list-failed-jobsLars Wirzenius2014-09-091-0/+13
| | | | This adds them to both the JSON and HTML outputs.
* Implement /1.0/remove-ghost-jobsLars Wirzenius2014-09-041-10/+31
|
* Forget "kill_job" flag for future runs of a lorryliw/anti-exterminateLars Wirzenius2014-06-231-12/+31
| | | | | | | | | We do this by moving the "kill_job" column from the lorries table to the jobs table, renaming it to "kill" in the process. It makes no sense to have the flag to kill a specific job in the lorries table. This avoids the need to reset the flag, since it affects only a specific job, instead of all jobs of a lorry.
* Make listjobs faster by getting all info in one querybaserock/liw/lc-list-all-jobs-optimisationLars Wirzenius2014-05-221-0/+20
|
* Add a version tableLars Wirzenius2014-04-221-0/+4
|
* Add new Lorry ControllerLars Wirzenius2014-04-151-0/+577