summaryrefslogtreecommitdiff
path: root/mason/mason.sh
Commit message (Collapse)AuthorAgeFilesLines
* Move Mason out from /rootPedro Alvarez2014-09-171-1/+1
| | | | | | - Move the configuration file to /etc/mason.conf - Move the scripts to /usr/lib/mason/ - Mason will store the report in /var/mason/report.html
* Deploy Masons to use source on upstream trovesRichard Maw2014-08-281-7/+8
| | | | | | | | | | | | | | | | | The per-mason trove only needs to worry about being an artifact cache, so we can prevent it populating itself from the upstream trove by making it use the SSH protocol for fetching sources, and not registering its ssh key with the upstream trove. The MASON_UPSTREAM_TROVE_ADDRESS option has been removed, as this is now the TROVE_HOST. The distbuild network is now configured to use the upstream trove for sources, and the local trove for artifacts, with the ARTIFACT_CACHE_SERVER option. mason.configure now uses ARTIFACT_CACHE_SERVER to tell deploy commands which server to fetch artifacts from.
* mason: Don't checkout repo using .git suffixRichard Maw2014-08-191-1/+1
| | | | | | | | | | | | Failing to do this means that the deployment uses the wrong morphology, because build will end up using the repo without the .git suffix, so it will never update the cached version of the repo without it. The version with the .git suffix is only updated on the initial checkout, but is used by deploy, so it would pick up obsolete morphologies and not include new changes. Rubber-stamped-by: Richard Maw
* mason: Include build logs in output when builds failRichard Maw2014-08-191-2/+7
|
* Use the local trove rather than upstream trove when polling for updates.Michael Drake2014-08-081-3/+3
| | | | | This prevents discovering changes, and then being unable to build them because the local trove has not yet got them.
* Detect lack of network and report as such, rather than failbaserock/michaeldrake/mason-net-down-reportMichael Drake2014-08-071-1/+4
| | | | | | If the git remote update command fails, we assume it's because we are unable to connect to the trove. This gets reported as a networking issue, rather than as a failure.
* Add Mason scripts on top of distbuild systemMichael Drake2014-08-061-0/+70
The distbuild system can be configured to act as a CI controller. Providing appropriate config makes it copy all the scripts and systemd units out of the mason directory onto the target, such that it will start building and testing the configured cluster morphology on boot.