summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add automatic garbage collection service to Trovebaserock/sam/artifact-cache-garbage-collect-v3Sam Thursfield2014-10-134-0/+70
| | | | | | | | | | | | | | | | | | | | | | We are now using Trove as an artifact server for the Mason continuous delivery system, which can fill up the disk pretty quickly. This adds a rudimetary system for cleaning up old artifacts from an artifact cache server. Note that it does not have any smarts about what to remove other than checking the 'mtime', If you have important release artifacts in the artifact cache, don't run `trove-gc` or enable the trove-garbage-collect service. It wraps the `morph gc` command, currently, so Morph is required on the system. Morph is included in Trove systems via the 'tools' stratum right now. It is hardcoded to remove artifacts until there is at least 15GB of free disk space, and to run once an hour. No cleanup of Git or Lorry data is done.
* Make http the default upstream protocolbaserock/richardipsum/default-upstream-proto-httpRichard Ipsum2014-09-181-1/+1
|
* Merge branch 'baserock/pedroalvarez/allow-empty-upstream-trove3'Pedro Alvarez2014-09-174-25/+24
|\ | | | | | | | | Reviewed-by: Richard Maw Reviewed-by: Lars Wirzenius
| * Allow the configuration of troves without UPSTREAM_TROVEPedro Alvarez2014-09-174-25/+24
|/ | | | | | | Now UPSTREAM_TROVE is not mandatory to configure a Trove, and if the value is not set, then the configuration of the lorry controller (lorry-controller.conf) won't include any configuration for an upstream Trove.
* Merge branch 'baserock/liw/de-ghost'Lars Wirzenius2014-09-081-0/+15
|\
| * Enable the lorry-controller-remove-ghost-jobs service / timerbaserock/liw/de-ghostPedro Alvarez2014-09-081-0/+15
|/
* Merge remote-tracking branch 'origin/baserock/michaeldrake/mason-devel'Richard Maw2014-08-052-1/+4
|\ | | | | | | Reviewed-by: Lars Wirzenius
| * Allow Trove mirroring protocol to be set at deployment timebaserock/michaeldrake/mason-develMichael Drake2014-08-052-1/+4
|/ | | | | | This allows downstream troves that only need to access publically available content to be able to operate without configuring ssh keys on the upstream trove.
* Merge branch 'baserock/pedroalvarez/trove-ansible3'Pedro Alvarez2014-07-1463-343/+716
|\ | | | | | | | | Reviewed-by: Richard Maw Reviewed-by: Lars Wirzenius
| * Update skel path of gitanoPedro Alvarez2014-07-141-0/+1
| |
| * Install Ansible scripts and create a unit to run themPedro Alvarez2014-07-142-0/+18
| |
| * Add Ansible scriptsPedro Alvarez2014-07-1421-0/+640
| |
| * Add new resources needed to configure the lorry-controllerPedro Alvarez2014-07-092-0/+18
| | | | | | | | They where generated in trove.configure before.
| * Add 'Install' section to the unitsPedro Alvarez2014-07-093-0/+9
| |
| * Do not enable the units when installing.Pedro Alvarez2014-07-071-3/+1
| | | | | | | | | | | | They aren't eligible to be started until they are configured, and Ansible handles both the initial start, and configuring them to start automatically on next boot.
| * Change placeholders to jinja placeholdersPedro Alvarez2014-06-2714-28/+28
| |
| * Move template files from /etc to shares/trove-setup/etcPedro Alvarez2014-06-173-0/+0
| |
| * Move gitano skeleton to /usr/share/trove-setup/Pedro Alvarez2014-06-1724-2/+0
| |
| * Remove old scripts and unitsPedro Alvarez2014-06-176-309/+0
|/
* Merge branch 'baserock/liw/new-lc-2'Lars Wirzenius2014-04-236-46/+83
|\ | | | | | | | | | | | | | | Reviewed by Daniel and Richard on the mailing list, and further changes based on review feedback by Richard on IRC. Reviewed-by: Richard Maw Reviewed-by: Daniel Silverstone
| * Make lorry log to stdoutbaserock/liw/new-lc-2Lars Wirzenius2014-04-231-0/+2
| | | | | | | | | | This will make the output be even more verbose for Trove's Lorry Controller.
| * Add unit for modifying lorry crontabLars Wirzenius2014-04-231-0/+13
| |
| * Add script to remove lorry-controller from lorry's crontabLars Wirzenius2014-04-232-0/+24
| |
| * Expands TABs in share/lorry-controller.confLars Wirzenius2014-04-101-42/+42
| |
| * Add a symlink to the LC static files into htdocsLars Wirzenius2014-04-101-0/+1
| |
| * Set trovehost in lorry-controller.conf to $UPSTREAM_TROVELars Wirzenius2014-04-101-2/+2
| |
| * Remove creation of /home/lorry/lorry-controller-areaLars Wirzenius2014-04-101-3/+0
| | | | | | | | The new Lorry Controller does that itself.
| * Make lorry run verboselyLars Wirzenius2014-04-101-0/+1
| | | | | | | | This works better with the output logging in the new Lorry Controller.
| * Remove now-useless crontab for lorry userLars Wirzenius2014-04-101-1/+0
|/
* Merge branch 'baserock/richardipsum/increase_max_processes'Richard Ipsum2014-03-281-2/+2
|\ | | | | | | | | | | Reviewed on IRC by: Daniel Silverstone Lars Wirzenius
| * Set max procs to 32 for both readers and writersbaserock/richardipsum/increase_max_processesRichard Ipsum2014-03-241-2/+2
| |
* | Merge branch 'baserock/adamcoldrick/binary-delivery-v4-rebase'Adam Coldrick2014-03-274-0/+161
|\ \ | |/ |/| | | | | | | Reviewed by: Sam Thursfield <sam.thursfield@codethink.co.uk> Richard Maw <richard.maw@codethink.co.uk>
| * Add a README for the releases repobaserock/adamcoldrick/binary-delivery-v4-rebaseAdam Coldrick2014-03-271-0/+11
| |
| * Add a systemd unit to run the repo creation scriptAdam Coldrick2014-03-271-0/+14
| | | | | | | | | | Add a systemd unit to check for the existence of the releases repository, and to run the script to create it if it doesn't exist.
| * Add a script to create the releases repositoryAdam Coldrick2014-03-271-0/+132
| | | | | | | | | | Add a script that will create a `site` project containing the releases repository when run. It will be run on boot by a systemd unit.
| * Enable directory listing in <trovehost>/releasesAdam Coldrick2014-03-211-0/+4
|/ | | | | Enable lighttpd's directory listing for /releases. This is a link to the <trove_id>/site/releases repository's rsync store.
* Merge branch 'baserock/sam/trove-configure'Sam Thursfield2014-03-122-57/+1
|\ | | | | | | | | | | Reviewed-By: Richard Ipsum <richard.ipsum@codethink.co.uk> Reviewed-By: Richard Maw <richard.maw@codethink.co.uk> Reviewed-By: Lars Wirzenius <richard.maw@codethink.co.uk>
| * trove-setup: Do subsitutions in /etc at deploy-time, not at first bootSam Thursfield2014-03-112-57/+1
| | | | | | | | | | | | | | | | We do not support deploying Trove in any way other than using `morph deploy`. The trove-setup.sed.example file is a remnant of the days before `morph deploy` existed. The 'hostname-not-baserock' test has been removed.
* | Merge branch adamcoldrick/access-troves-via-httpAdam Coldrick2014-03-122-10/+10
|\ \ | |/
| * Merge branch 'baserock/sam/trove-public-urls'Sam Thursfield2014-03-062-10/+10
| |\ | | | | | | | | | Reviewed-By: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
| | * List all Git clone URLs in web frontendSam Thursfield2014-03-061-1/+1
| | | | | | | | | | | | | | | Trove's default configuration offers git:// and ssh:// URLs and now http:// and https:// too. We should list all of those in the cgit web frontend.
| | * Allow multiple configuration placeholders on one lineSam Thursfield2014-03-061-9/+9
| |/ | | | | | | | | | | | | | | The example /etc/trove-setup.sed script, used to set up site configuration for a deployed Trove on first-boot by trove-early-setup, did not specify the 'g' (global) flag which meant that lines with more than one occurance of a placeholder such as ##TROVE_HOST## were not set correctly.
* | Add a protocol field to lorry-controller.confAdam Coldrick2014-03-121-0/+1
|/ | | | Signed-off by: Adam Coldrick <adam.coldrick@codethink.co.uk>
* Merge branch 'baserock/richardipsum/gitano_http'Richard Ipsum2014-02-1911-17/+115
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This series contains the changes needed to let trove use gitano's new http services The main changes: * trove-early-setup now generates an ssl certificate so we can do https * there are two lighttpd processes: one for gitano and one for morph cache server. We do this because gitano needs to run as the git user and morph cache server needs to run as the cache user The ruleset has also been updated to allow anonymous clones over http Reviewed by: Richard Maw
| * Anonymous user cannot writebaserock/richardipsum/gitano_httpRichard Ipsum2014-02-121-1/+1
| |
| * Add is_anonymous predicate to rulesetRichard Ipsum2014-02-121-0/+1
| |
| * Use htpasswd by defaultRichard Ipsum2014-02-121-0/+2
| |
| * Update rulesetRichard Ipsum2014-02-122-1/+4
| | | | | | | | Allow users to change their own password
| * Reconfigure lighttpd systemd unitsRichard Ipsum2014-02-122-1/+8
| |
| * Reconfigure lighttpdRichard Ipsum2014-02-123-11/+81
| | | | | | | | | | | | | | | | We now run two separate httpds, one for morph-cache-server and one for git-httpd. We do this because we want to run morph-cache-server as the cache user and git-httpd as the git user