summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove dependency of lighttpd-lorry-controller-webappbaserock/pedroalvarez/trove-ansible2Pedro Alvarez2014-07-096-6/+0
|
* Add 'Install' information to the unitsPedro Alvarez2014-07-098-0/+24
|
* Do not enable the services and timersPedro Alvarez2014-07-091-4/+0
| | | | trove-setup will enable them on the first boot.
* Merge branch 'liw/move-error-msgs'Lars Wirzenius2014-07-072-22/+46
|\ | | | | | | | | Reviewed-by: Sam Thursfield Reviewed-by: Richard Maw
| * Improve move-to-top/bottom API call error messagesliw/move-error-msgsLars Wirzenius2014-06-232-0/+24
| |
| * Move shared code to a base class, less code duplicationLars Wirzenius2014-06-231-22/+22
| |
* | Fix: use kill not kill_jobbaserock/richardipsum/fix_kill_attr_bugRichard Ipsum2014-06-261-1/+1
| | | | | | | | The kill_job attribute was recently renamed to kill.
* | Also catch IOErrorRichard Ipsum2014-06-231-1/+1
| | | | | | | | | | Failure to remove the temp file due to full disk or other IO error is acceptable.
* | Write static status HTML page via temporary fileLars Wirzenius2014-06-231-1/+26
| | | | | | | | This will avoid the file being truncated if the disk fills up.
* | Merge branch 'liw/anti-exterminate'Richard Ipsum2014-06-234-22/+63
|\ \ | |/ |/| | | | | | | Reviewed by: Richard Ipsum Sam Thursfield
| * Forget "kill_job" flag for future runs of a lorryliw/anti-exterminateLars Wirzenius2014-06-234-24/+42
| | | | | | | | | | | | | | | | | | 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.
| * Add test cases for running killed jobs againLars Wirzenius2014-06-231-0/+23
|/ | | | | | | These tests expose a bug: when a job is killed, the flag that Lorry Controller keeps (kill_job in the lorries table) to remember that a job is to be killed is never reset, so all future attempts at running a job for the lorry kill the job at once.
* Fix job showerbaserock/richardipsum/fix_job_showerRichard Ipsum2014-06-191-1/+1
| | | | | | | | | | If our job hasn't ended then our query for (started, ended) returns the start time and NULL for the end time. With sqlite3 NULL maps to None. time.gmtime(None) returns the current time, so instead of displaying nothing a job that hasn't ended will display the current time as its ended time.
* Merge branch 'baserock/liw/lc-list-all-jobs-optimisation'Lars Wirzenius2014-05-222-3/+22
|\ | | | | | | | | Reviewed-by: Sam Thursfield Reviewed-by: Daniel Silverstone
| * Make listjobs faster by getting all info in one querybaserock/liw/lc-list-all-jobs-optimisationLars Wirzenius2014-05-222-3/+22
| |
* | Merge branch 'master' of ↵Lars Wirzenius2014-05-221-3/+3
|\ \ | | | | | | | | | git://git.baserock.org/baserock/baserock/lorry-controller
| * \ Merge branch 'baserock/pedroalvarez/fix-readconf'Pedro Alvarez2014-05-221-3/+3
| |\ \ | | |/ | |/| | | | | | | Reviewed-by: Sam Thursfield Reviewed-by: Adam Coldrick
| | * Fix over-indentation in readconf.pybaserock/pedroalvarez/fix-readconfPedro Alvarez2014-05-211-3/+3
| |/ | | | | | | | | | | The bottle.redirect method raises an HTTP Response. With the over-indentation it was being called inside a 'with' block, making the entire block fail.
* | Merge remote-tracking branch 'origin/baserock/liw/lc-static-html-without-links'Lars Wirzenius2014-05-222-2/+18
|\ \ | |/ |/| | | | | Reviewed-by: Daniel Silverstone Reviewed-by: Sam Thursfield
| * Render static HTML page without linksbaserock/liw/lc-static-html-without-linksLars Wirzenius2014-05-092-2/+18
| | | | | | | | The links won't work, so there's no point in having them.
* | Add script to terminate jobs (stopgap)Lars Wirzenius2014-05-141-0/+22
| |
* | Fix API call descriptions in ARCHLars Wirzenius2014-05-141-21/+26
|/
* Merge branch 'baserock/liw/lorry-controller-proxy-conf-doc'Lars Wirzenius2014-05-071-0/+21
|\ | | | | | | | | Reviewed-by: Daniel Silverstone Reviewed-by: Adam Coldrick
| * Fix typoLars Wirzenius2014-05-071-1/+1
| | | | | | | | Suggested-by: Adam Coldrick
| * Document proxy.conf in READMELars Wirzenius2014-05-071-0/+21
| |
* | Fix log messageRichard Ipsum2014-05-061-1/+1
| | | | | | | | | | Reviewed by: Lars Wirzenius
* | Make CONFGIT mirroring more robustLars Wirzenius2014-05-061-3/+23
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Daniel Silverstone Reviewed-by: Richard Maw Reviewed-by: Paul Sherwood Richard raised the point that it'd be nice to be able to use a non-master branch, but I didn't want to tackle that in this patch.
| * | Update CONFGIT mirror more robustlyLars Wirzenius2014-05-061-3/+23
| |/ | | | | | | The sequence of git operations suggested by Daniel Silverstone.
* | Fix typo in status HTMLLars Wirzenius2014-05-061-1/+1
|\ \ | |/ |/| | | | | Reviewed-by: Paul Sherwood Reviewed-by: Richard Maw
| * Remove extra period from sentenceLars Wirzenius2014-05-061-1/+1
|/
* Merge branch 'baserock/liw/new-lc-2'Lars Wirzenius2014-04-2357-1138/+5131
|\ | | | | | | | | | | | | | | Reviewed by Daniel and Richard on the mailing list, and then my changes based on review feedback by Richard on IRC. Reviewed-by: Daniel Silverstone Reviewed-by: Richard Maw
| * Add scenario for testing that loading broken lorries is OKbaserock/liw/new-lc-2Lars Wirzenius2014-04-221-0/+47
| |
| * Simplify code by using "with ... as ..."Lars Wirzenius2014-04-221-2/+1
| |
| * Fix copyright yearLars Wirzenius2014-04-221-1/+1
| |
| * Remove extra space from method callLars Wirzenius2014-04-221-1/+1
| |
| * Proof code against whitespace in repo namesLars Wirzenius2014-04-221-1/+1
| |
| * Fix minor race condition in giving out jobsLars Wirzenius2014-04-221-4/+3
| | | | | | | | | | Do the check for whether we're allowed to give out jobs in the transaction.
| * Fix an AND to be THEN for clarityLars Wirzenius2014-04-221-1/+1
| |
| * Fix wording of titleLars Wirzenius2014-04-221-2/+2
| |
| * Replace second WHEN in a row with ANDLars Wirzenius2014-04-221-1/+1
| |
| * Fix spelloLars Wirzenius2014-04-221-1/+1
| |
| * Provie step to pdo a a body-less POST requestLars Wirzenius2014-04-226-44/+57
| |
| * Add a "WHEN" variant of "GIVEN a running WEBAPP"Lars Wirzenius2014-04-223-35/+46
| |
| * Goodbye, Scotty, we will miss youLars Wirzenius2014-04-222-9/+0
| |
| * Add a version tableLars Wirzenius2014-04-221-0/+4
| |
| * Use proper boolean constantsLars Wirzenius2014-04-221-2/+2
| |
| * Move exception class earlier in fileLars Wirzenius2014-04-221-6/+6
| | | | | | | | Suggested-by: Daniel Silverstone
| * Validate protocol field in lorry-controller.confLars Wirzenius2014-04-221-0/+8
| |
| * Clarify code by removing confusingly named methodLars Wirzenius2014-04-221-8/+5
| |
| * Rename variables for clarityLars Wirzenius2014-04-221-10/+9
| |