| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\
| |
| |
| |
| | |
Reviewed-by: Richard Maw
Reviewed-by: Lars Wirzenius
|
|/
|
|
|
|
|
| |
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.
|
|\ |
|
|/ |
|
|\
| |
| |
| | |
Reviewed-by: Lars Wirzenius
|
|/
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
Reviewed-by: Richard Maw
Reviewed-by: Lars Wirzenius
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
They where generated in trove.configure before.
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| | |
This will make the output be even more verbose for Trove's
Lorry Controller.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
The new Lorry Controller does that itself.
|
| |
| |
| |
| | |
This works better with the output logging in the new Lorry Controller.
|
|/ |
|
|\
| |
| |
| |
| |
| | |
Reviewed on IRC by:
Daniel Silverstone
Lars Wirzenius
|
| | |
|
|\ \
| |/
|/|
| |
| |
| | |
Reviewed by:
Sam Thursfield <sam.thursfield@codethink.co.uk>
Richard Maw <richard.maw@codethink.co.uk>
|
| | |
|
| |
| |
| |
| |
| | |
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 that will create a `site` project containing the releases
repository when run. It will be run on boot by a systemd unit.
|
|/
|
|
|
| |
Enable lighttpd's directory listing for /releases. This is a link
to the <trove_id>/site/releases repository's rsync store.
|
|\
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/ |
|
| |\
| | |
| | |
| | | |
Reviewed-By: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
|
| | |
| | |
| | |
| | |
| | | |
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.
|
| |/
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
| |
Signed-off by: Adam Coldrick <adam.coldrick@codethink.co.uk>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Allow users to change their own password
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|