summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Allow use without editing the script, by passing params on cli.baserock/michaeldrake/distbuilt-runner-cliMichael Drake2014-07-101-12/+41
| | | | | | | - Adds ability to pass cluster, ref and distbuild controller hosts on the command line. - Adds --help, and usage. - Prints the specified parameters out.
* Merge branch 'sam/auto-update-release.morph'Sam Thursfield2014-07-072-60/+41
|\ | | | | | | | | Reviewed-By: Adam Coldrick <adam.coldrick@codethink.co.uk> Reviewed-By: Richard Maw <richard.maw@codethink.co.uk>
| * Refer to scripts/do-release in description of release.morphSam Thursfield2014-07-071-0/+4
| |
| * do-release: take advantage of partial deploymentSam Thursfield2014-07-072-60/+37
|/ | | | | | | | | | | | | | | | | | The 'morph deploy' command now lets us deploy system images one at a time, so let's do that. This means that if all but one image is deployed successfully, on the next run the user just needs to deploy one further image. Also, since each deployment has a unique name in release.morph now, we can override the location and VERSION_LABEL fields instead of requiring the user to update them manually before each release. The release.morph cluster should now specify the *basename* of the image in the location field only. By basename, I mean the system name plus the appropriate extension (normally .tar or .img). The do-release script will then prepend the image path and the version label to get a filename. The release.morph cluster has been updated accordingly.
* do-release: Explain why xargs is not used in a commentSam Thursfield2014-07-041-1/+4
| | | | | This was suggested by Richard Maw and I forgot to fix up the branch 'sam/auto-release' before merging it.
* do-release: Make use of str.rstrip()Sam Thursfield2014-07-041-3/+1
| | | | | This was a review comment from Richard Maw which I forgot to include before merging branch 'sam/auto-release'
* Merge branch 'sam/auto-release'Sam Thursfield2014-07-041-45/+183
|\ | | | | | | | | Reviewed-By: Adam Coldrick <adam.coldrick@codethink.co.uk> Reviewed-By: Richard Maw <richard.maw@codethink.co.uk>
| * do-release: Check access to configured upload servers when script startsSam Thursfield2014-07-021-0/+14
| | | | | | | | | | If the release script is expected to be 'push-button' then we can't assume the user will be paying attention to error messages later on.
| * do-release: Make artifacts public automaticallySam Thursfield2014-07-021-45/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it more likely that new artifacts and images might be publically available before they are officially announced, but I can't see that causing problems. Changes were required so that the script will only make public the files that are part of the release, and not do 'mv *' from a configured location into a publically shared location while unsupervised. The intermediate .tar file is now removed from the artifact server when the script completes. The script no longer outputs debug messages by default, because the really long SSH commandlines used to move files into place make this pretty hard to follow. Some extra status() calls have been added instead. There are a few other cosmetic changes in this commit.
* | Allow SMTP details to be configured.Michael Drake2014-07-041-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | This lets us configure a gitlab system to send e-mail at deploy time. It uses the following environment variables: * MAIL_SEND_TYPE * SMTP_ADDR * SMTP_PORT * SMTP_USER * SMTP_PASS * SMTP_DOMAIN
* | Update lorry controller to get bug fixRichard Ipsum2014-06-281-1/+1
|/
* Update morph for releasebaserock-14.26Richard Ipsum2014-06-271-1/+1
|
* Update release cluster morphRichard Ipsum2014-06-271-11/+6
|
* Merge remote-tracking branch 'origin/baserock/liw/trove.configure.help'Sam Thursfield2014-06-264-4/+120
|\ | | | | | | | | Reviewed-By: Emmet Hikory <emmet.hikory@codethink.co.uk> Reviewed-By: Sam Thursfield <sam.thursfield@codethink.co.uk>
| * Add trove.configure.helpLars Wirzenius2014-06-251-0/+116
| |
| * Use the corrected systemd morphologyAdam Coldrick2014-06-251-1/+1
| |
| * Use fhs-dirs with corrected chunk morphologiesAdam Coldrick2014-06-241-2/+2
| |
| * Update lorry controller to get various fixesRichard Ipsum2014-06-231-1/+1
|/
* Merge branch 'baserock/adamcoldrick/deploy-specific-systems'Adam Coldrick2014-06-183-10/+10
|\
| * Update morph to allow partial deploymentbaserock/adamcoldrick/deploy-specific-systemsAdam Coldrick2014-06-181-1/+1
| |
| * Make the release script check for the system name not "release"Adam Coldrick2014-06-181-4/+4
| |
| * Fix release.morph to have unique deployment namesAdam Coldrick2014-06-181-5/+5
|/
* Update tbdiff to the version that supports initramfsRichard Maw2014-06-181-1/+1
|
* Update commentRichard Ipsum2014-06-171-2/+0
| | | | We don't use UPSTREAM_TROVE_USER or UPSTREAM_TROVE_EMAIL
* Update wandboard kernel versionbaserock-14.24Richard Maw2014-06-131-1/+1
| | | | | | | | This is required to update the morphology to a version that compresses the kernel with gzip, rather than lzo. Refs for other bsp strata have been left, since the source they build from is not otherwise changed.
* Make 14.24 release changesRichard Maw2014-06-122-8/+8
|
* Strip devel systems down to headlessRichard Maw2014-06-1212-73/+9
| | | | | | | | | | | Our new definition of a devel system is the minimal system to build and deploy anything else. We may in future re-add "fat" devel systems again under another name, but it's significanly easier to release just this system. The vagrant systems have been left alone, since they require guest extensions, which depend on the X stuff anyway.
* Update the version of morph included in systemsRichard Maw2014-06-121-1/+1
|
* Explicitly separate linux chunk names for bsp variantsRichard Maw2014-06-128-22/+22
| | | | | | | | | | | | | | Simplifying 'morph edit' syntax showed that we have several different versions of the chunk called 'linux'. This patch versions of linux to match what they are for. This patch was originally written by Paul Sherwood, but the name of the morphology also has to be set in the chunk morphology, so wasn't sufficient by itself. Instead of making the changes in the 7 kernel trees that we had, they have now all been merged into one, hence the sha1s and refs have also been updated.
* Remove imx53 BSP.Richard Maw2014-06-121-12/+0
| | | | | Our officially supported ARM dev-board is the Wandboard. We haven't used the imx53 BSP in a long time, so let's remove it.
* Merge branch 'baserock/richardmaw/yakshave/util-linux-blkid'Richard Maw2014-06-122-2/+2
|\ | | | | | | | | Reviewed-by: Lars Wirzenius Reviewed-by: Sam Thursfield
| * Use updated versions of util-linux and e2fsprogsbaserock/richardmaw/yakshave/util-linux-blkidRichard Maw2014-06-062-2/+2
| | | | | | | | | | | | | | | | | | | | Both are updated to the latest release, and there are morphology changes to: 1. prefer util-linux's versions of blkid, findfs and fsck. 2. Install all of util-linux's tools, regardless of whether busybox also has a version. We can have the busybox version for minimal systems, but the util-linux versions for base systems.
* | tools: Update 'morph' to commit 'Check for presence of btrfs before trying ↵Sam Thursfield2014-06-111-1/+1
| | | | | | | | to use it'
* | Merge branch 'sam/release-tooling'Sam Thursfield2014-06-104-0/+541
|\ \ | | | | | | | | | Reviewed-By: Adam Coldrick <adam.coldrick@codethink.co.uk>
| * | Move scripts into scripts/ directorySam Thursfield2014-06-104-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | They probably do not belong in definitions.git at all, but at least they are now in one place. In future they should move either into a separate baserock-utilities chunk, or into morph.git itself.
| * | Add distbuild-cluster scriptSam Thursfield2014-06-101-0/+97
| | | | | | | | | | | | This lets you call 'morph distbuild' for a bunch of systems at once.
| * | Add release automation script.Sam Thursfield2014-06-101-0/+444
| | |
* | | Correct trove.baserock.org-upgrade clusterSam Thursfield2014-06-091-3/+3
|/ /
* | Merge branch 'baserock/sam/test-licenses'Sam Thursfield2014-06-091-1/+1
|\ \ | | | | | | | | | | | | Reviewed-By: Daniel Silverstone (on IRC) Reviewed-By: Lars Wirzenius (on IRC)
| * | Fix licensecheck.sh to work with the new `morph edit` syntax.Sam Thursfield2014-06-091-1/+1
|/ /
* | Merge branch 'baserock/sam/distbuild-disk-space'Sam Thursfield2014-06-061-5/+2
|\ \ | | | | | | | | | | | | Reviewed-By: Adam Coldrick <adam.coldrick@codethink.co.uk> Reviewed-By: Richard Ipsum <richard.ipsum@codethink.co.uk>
| * | Prevent distbuild nodes from filling up their disksSam Thursfield2014-06-051-5/+2
|/ / | | | | | | | | | | | | | | Distbuild workers run `morph gc` before running a build, to remove stale artifacts, but it turns out that they were configured in such a way that the command didn't do anything. Because of this, it was possible for distbuild nodes to break due to filling up their disks with cached git repos and artifacts.
* | Update release.morph for Baserock 14.23baserock-14.23Adam Coldrick2014-06-051-39/+7
| |
* | Update morph ref for Baserock 14.23Adam Coldrick2014-06-051-1/+1
|/
* Merge branch 'baserock/sam/clarify-upgrade-devel'Sam Thursfield2014-06-051-9/+3
|\ | | | | | | | | Reviewed-By: Pedro Alvarez <pedro.alvarez@codethink.co.uk> Reviewed-By: Richard Maw <richard.maw@codethink.co.uk>
| * Improve upgrade-devel.morphSam Thursfield2014-06-051-9/+3
| | | | | | | | | | | | | | Avoid having placeholders which look like they might be automatically filled but actually are not. Use a shorter and clear system ID: 'self', rather than 'upgrade-devel'.
* | Update Morph to get sam/list-artifacts branchSam Thursfield2014-06-051-1/+1
|/
* Update morph to get a set of distbuild fixesRichard Ipsum2014-06-041-1/+1
|
* Merge branch 'baserock/richardmaw/S11159-initramfs'Richard Maw2014-06-034-1/+42
|\ | | | | | | Reviewed-by: Sam Thursfield, Richard Ipsum
| * Add example systems which use an initramfsbaserock/richardmaw/S11159-initramfsRichard Maw2014-06-023-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | initramfs-test.morph is embedded in the initramfs.write help, so may be removed. The initramfs-x86_64 system is the minimal system with an extra chunk added. The initramfs-utils stratum is required to contain _just_ that chunk, but the "minimal" system is much larger than I would like our initramfs to be (i.e. a statically linked binary using musl), so in future the initramfs-utils stratum may have more initramfs specific content.