summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add initial support for mirroring to a Gerrit instancesam/support-gerritSam Thursfield2015-03-114-7/+89
|
* Merge branch 'sam/proxy-fixes'Sam Thursfield2015-02-112-21/+7
|\ | | | | | | | | Reviewed-By: Richard Maw <richard.maw@codethink.co.uk> Reviewed-By: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk>
| * Use 'requests' instead of the awful 'urllib2'Sam Thursfield2014-12-192-21/+7
|/ | | | | | | | | urllib2 doesn't honour proxy settings despite our best efforts. It turns out that lorry-controller currently ignores all proxy settings. Requests, by comparison, does whatever the 'http_proxy' and 'https_proxy' environment variables tell it to do. This makes lorry-controller actually work behind a proxy.
* Merge branch 'sam/proxy-with-no-username'Sam Thursfield2014-11-241-10/+25
|\ | | | | | | | | Reviewed-By: Adam Coldrick <adam.coldrick@codethink.co.uk> Reviewed-By: Emmet Hikory <emmet.hikory@codethink.co.uk>
| * Support HTTP(S) proxies which don't require username and passwordSam Thursfield2014-11-241-10/+25
|/ | | | | Previously the proxy.conf file had to contain 'username' and 'password' fields, which meant that it didn't work for some HTTP proxy setups.
* Merge remote-tracking branch 'origin/baserock/liw/lc-list-failed-jobs'Sam Thursfield2014-11-174-15/+115
|\ | | | | | | | | Reviewed-By: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> Reviewed-By: Sam Thursfield <sam.thursfield@codethink.co.uk>
| * Add lists of failed, all jobs to lorry spec infobaserock/liw/lc-list-failed-jobsLars Wirzenius2014-09-093-12/+61
| | | | | | | | This adds them to both the JSON and HTML outputs.
| * Add tests for jobs, failed_jobs attributes in lorry specsLars Wirzenius2014-09-091-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.
* | Add a note about the 'admin' interfaceRichard Ipsum2014-11-141-0/+16
| |
* | Merge branch 'baserock/pedroalvarez/old-jobs-removal'Pedro Alvarez2014-10-238-3/+260
|\ \ | | | | | | | | | | | | Reviewed-by: Richard Maw Reviewed-by: Pedro Alvarez
| * | Add systemd units to trigger old job removalbaserock/pedroalvarez/old-jobs-removalLars Wirzenius2014-10-232-0/+20
| | |
| * | Install new scriptLars Wirzenius2014-10-231-1/+2
| | |
| * | Add helper for removing old jobsLars Wirzenius2014-10-231-0/+153
| | |
| * | Add scenario for automatically removing old jobsLars Wirzenius2014-10-222-0/+69
| | |
| * | Handle case when there is no disk usage infoLars Wirzenius2014-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | Use 0 instead. This was exposed by a test suite change: test suite creates a dummy job, but doesn't fill in all the fields. With this change, WEBAPP doesn't crash when it tries to report a job's information when not all fields are filled in.
| * | Document how old job removal is to workLars Wirzenius2014-10-221-0/+11
| | |
| * | Fix job listing HTTP queries in ARCHLars Wirzenius2014-10-221-1/+4
|/ /
* | Merge branch 'baserock/richardipsum/merge_liw_docs'Richard Ipsum2014-10-134-170/+324
|\ \ | | | | | | | | | | | | | | | | | | Reviewed by: Sam Thursfield Richard Maw Richard Ipsum
| * | Add a chapter on code structurebaserock/richardipsum/merge_liw_docsLars Wirzenius2014-10-131-0/+84
| | |
| * | Restructure and clarify ARCH textLars Wirzenius2014-10-131-67/+103
| | |
| * | Expand and reformat lorry-controller.conf descriptionLars Wirzenius2014-10-131-67/+116
| | |
| * | Add an overview section to READMELars Wirzenius2014-10-131-4/+21
| | |
| * | Remove now-obsolete lorry-controller.morphLars Wirzenius2014-10-131-10/+0
| | | | | | | | | | | | The copy in definitions.git is used now.
| * | Remove now-obsolete ghost job removal scriptLars Wirzenius2014-10-131-22/+0
|/ / | | | | | | Lorry Controller now deals with these automatically.
* | Merge branch 'baserock/liw/remove-buttons'Richard Maw2014-10-131-19/+29
|\ \ | |/ |/| | | | | Reviewed-by: Pedro Alvarez Reviewde-by: Richard Maw
| * Remove buttons from static status pageLars Wirzenius2014-10-131-19/+29
|/
* Merge commit '6dfe465242a7c06517cab569c8095be9744f3aa9'Lars Wirzenius2014-09-091-1/+0
|\ | | | | | | | | Reviewed-by: Daniel Silverstone (irc) Reviewed-by: Pedro Alvarez (irc)
| * Remove After= from remote ghost jobs .timer unitLars Wirzenius2014-09-091-1/+0
|/ | | | It caused a dependency loop.
* Merge branch 'baserock/liw/de-ghost'Lars Wirzenius2014-09-089-11/+224
|\
| * Add [Install] sections to systemd unitsLars Wirzenius2014-09-082-0/+6
| | | | | | | | Suggested by Pedro Alvarez.
| * Add systemd units to remove ghost jobs automaticallyLars Wirzenius2014-09-042-0/+15
| |
| * Implement /1.0/remove-ghost-jobsLars Wirzenius2014-09-044-11/+100
| |
| * Add --ghost-timeout option to WEBAPPLars Wirzenius2014-09-041-0/+19
| |
| * Add yarn tests for removing ghost jobsLars Wirzenius2014-09-031-0/+79
| |
| * Update ARCH about new API call (remove-ghost-jobs)Lars Wirzenius2014-09-031-0/+5
|/
* Merge branch 'liw/ARCH-ls-troves'Lars Wirzenius2014-07-171-0/+7
|\ | | | | | | | | Reviewed-by: Richard Maw Reviewed-by: Daniel Silverstone
| * Add ls-troves and force-ls-troves to ARCHLars Wirzenius2014-07-171-0/+7
|/
* Merge branch 'baserock/pedroalvarez/trove-ansible3'Pedro Alvarez2014-07-149-7/+24
|\ | | | | | | | | Reviewed-by: Richard Maw Reviewed-by: Lars Wirzenius
| * Remove dependency of lighttpd-lorry-controller-webappbaserock/pedroalvarez/trove-ansible3Pedro Alvarez2014-07-113-3/+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.