Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add lists of failed, all jobs to lorry spec infobaserock/liw/lc-list-failed-jobs | Lars Wirzenius | 2014-09-09 | 3 | -12/+61 |
| | | | | This adds them to both the JSON and HTML outputs. | ||||
* | Add tests for jobs, failed_jobs attributes in lorry specs | Lars Wirzenius | 2014-09-09 | 1 | -3/+54 |
| | | | | | | | | | | When getting information about a lorry spec from WEBAPP (/1.0/lorry/PATH), we now need it to return two lists of job ids: one for all jobs for that lorry spec, one with failed jobs only. We test here the version of the request that returns JSON. The version that returns HTML is similar (or so we assume), but it's harder to test the HTML output so we're happy with this. | ||||
* | Merge commit '6dfe465242a7c06517cab569c8095be9744f3aa9' | Lars Wirzenius | 2014-09-09 | 1 | -1/+0 |
|\ | | | | | | | | | Reviewed-by: Daniel Silverstone (irc) Reviewed-by: Pedro Alvarez (irc) | ||||
| * | Remove After= from remote ghost jobs .timer unit | Lars Wirzenius | 2014-09-09 | 1 | -1/+0 |
|/ | | | | It caused a dependency loop. | ||||
* | Merge branch 'baserock/liw/de-ghost' | Lars Wirzenius | 2014-09-08 | 9 | -11/+224 |
|\ | |||||
| * | Add [Install] sections to systemd units | Lars Wirzenius | 2014-09-08 | 2 | -0/+6 |
| | | | | | | | | Suggested by Pedro Alvarez. | ||||
| * | Add systemd units to remove ghost jobs automatically | Lars Wirzenius | 2014-09-04 | 2 | -0/+15 |
| | | |||||
| * | Implement /1.0/remove-ghost-jobs | Lars Wirzenius | 2014-09-04 | 4 | -11/+100 |
| | | |||||
| * | Add --ghost-timeout option to WEBAPP | Lars Wirzenius | 2014-09-04 | 1 | -0/+19 |
| | | |||||
| * | Add yarn tests for removing ghost jobs | Lars Wirzenius | 2014-09-03 | 1 | -0/+79 |
| | | |||||
| * | Update ARCH about new API call (remove-ghost-jobs) | Lars Wirzenius | 2014-09-03 | 1 | -0/+5 |
|/ | |||||
* | Merge branch 'liw/ARCH-ls-troves' | Lars Wirzenius | 2014-07-17 | 1 | -0/+7 |
|\ | | | | | | | | | Reviewed-by: Richard Maw Reviewed-by: Daniel Silverstone | ||||
| * | Add ls-troves and force-ls-troves to ARCH | Lars Wirzenius | 2014-07-17 | 1 | -0/+7 |
|/ | |||||
* | Merge branch 'baserock/pedroalvarez/trove-ansible3' | Pedro Alvarez | 2014-07-14 | 9 | -7/+24 |
|\ | | | | | | | | | Reviewed-by: Richard Maw Reviewed-by: Lars Wirzenius | ||||
| * | Remove dependency of lighttpd-lorry-controller-webappbaserock/pedroalvarez/trove-ansible3 | Pedro Alvarez | 2014-07-11 | 3 | -3/+0 |
| | | |||||
| * | Add 'Install' information to the units | Pedro Alvarez | 2014-07-09 | 8 | -0/+24 |
| | | |||||
| * | Do not enable the services and timers | Pedro Alvarez | 2014-07-09 | 1 | -4/+0 |
|/ | | | | trove-setup will enable them on the first boot. | ||||
* | Merge branch 'liw/move-error-msgs' | Lars Wirzenius | 2014-07-07 | 2 | -22/+46 |
|\ | | | | | | | | | Reviewed-by: Sam Thursfield Reviewed-by: Richard Maw | ||||
| * | Improve move-to-top/bottom API call error messagesliw/move-error-msgs | Lars Wirzenius | 2014-06-23 | 2 | -0/+24 |
| | | |||||
| * | Move shared code to a base class, less code duplication | Lars Wirzenius | 2014-06-23 | 1 | -22/+22 |
| | | |||||
* | | Fix: use kill not kill_jobbaserock/richardipsum/fix_kill_attr_bug | Richard Ipsum | 2014-06-26 | 1 | -1/+1 |
| | | | | | | | | The kill_job attribute was recently renamed to kill. | ||||
* | | Also catch IOError | Richard Ipsum | 2014-06-23 | 1 | -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 file | Lars Wirzenius | 2014-06-23 | 1 | -1/+26 |
| | | | | | | | | This will avoid the file being truncated if the disk fills up. | ||||
* | | Merge branch 'liw/anti-exterminate' | Richard Ipsum | 2014-06-23 | 4 | -22/+63 |
|\ \ | |/ |/| | | | | | | | Reviewed by: Richard Ipsum Sam Thursfield | ||||
| * | Forget "kill_job" flag for future runs of a lorryliw/anti-exterminate | Lars Wirzenius | 2014-06-23 | 4 | -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 again | Lars Wirzenius | 2014-06-23 | 1 | -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_shower | Richard Ipsum | 2014-06-19 | 1 | -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 Wirzenius | 2014-05-22 | 2 | -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-optimisation | Lars Wirzenius | 2014-05-22 | 2 | -3/+22 |
| | | |||||
* | | Merge branch 'master' of ↵ | Lars Wirzenius | 2014-05-22 | 1 | -3/+3 |
|\ \ | | | | | | | | | | git://git.baserock.org/baserock/baserock/lorry-controller | ||||
| * \ | Merge branch 'baserock/pedroalvarez/fix-readconf' | Pedro Alvarez | 2014-05-22 | 1 | -3/+3 |
| |\ \ | | |/ | |/| | | | | | | | Reviewed-by: Sam Thursfield Reviewed-by: Adam Coldrick | ||||
| | * | Fix over-indentation in readconf.pybaserock/pedroalvarez/fix-readconf | Pedro Alvarez | 2014-05-21 | 1 | -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 Wirzenius | 2014-05-22 | 2 | -2/+18 |
|\ \ | |/ |/| | | | | | Reviewed-by: Daniel Silverstone Reviewed-by: Sam Thursfield | ||||
| * | Render static HTML page without linksbaserock/liw/lc-static-html-without-links | Lars Wirzenius | 2014-05-09 | 2 | -2/+18 |
| | | | | | | | | The links won't work, so there's no point in having them. | ||||
* | | Add script to terminate jobs (stopgap) | Lars Wirzenius | 2014-05-14 | 1 | -0/+22 |
| | | |||||
* | | Fix API call descriptions in ARCH | Lars Wirzenius | 2014-05-14 | 1 | -21/+26 |
|/ | |||||
* | Merge branch 'baserock/liw/lorry-controller-proxy-conf-doc' | Lars Wirzenius | 2014-05-07 | 1 | -0/+21 |
|\ | | | | | | | | | Reviewed-by: Daniel Silverstone Reviewed-by: Adam Coldrick | ||||
| * | Fix typo | Lars Wirzenius | 2014-05-07 | 1 | -1/+1 |
| | | | | | | | | Suggested-by: Adam Coldrick | ||||
| * | Document proxy.conf in README | Lars Wirzenius | 2014-05-07 | 1 | -0/+21 |
| | | |||||
* | | Fix log message | Richard Ipsum | 2014-05-06 | 1 | -1/+1 |
| | | | | | | | | | | Reviewed by: Lars Wirzenius | ||||
* | | Make CONFGIT mirroring more robust | Lars Wirzenius | 2014-05-06 | 1 | -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 robustly | Lars Wirzenius | 2014-05-06 | 1 | -3/+23 |
| |/ | | | | | | | The sequence of git operations suggested by Daniel Silverstone. | ||||
* | | Fix typo in status HTML | Lars Wirzenius | 2014-05-06 | 1 | -1/+1 |
|\ \ | |/ |/| | | | | | Reviewed-by: Paul Sherwood Reviewed-by: Richard Maw | ||||
| * | Remove extra period from sentence | Lars Wirzenius | 2014-05-06 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'baserock/liw/new-lc-2' | Lars Wirzenius | 2014-04-23 | 57 | -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-2 | Lars Wirzenius | 2014-04-22 | 1 | -0/+47 |
| | | |||||
| * | Simplify code by using "with ... as ..." | Lars Wirzenius | 2014-04-22 | 1 | -2/+1 |
| | | |||||
| * | Fix copyright year | Lars Wirzenius | 2014-04-22 | 1 | -1/+1 |
| | | |||||
| * | Remove extra space from method call | Lars Wirzenius | 2014-04-22 | 1 | -1/+1 |
| | | |||||
| * | Proof code against whitespace in repo names | Lars Wirzenius | 2014-04-22 | 1 | -1/+1 |
| | |