summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Tidy up the bits that the user is meant to edit.baserock/michaeldrake/fix-release-branchMichael Drake2014-07-141-3/+3
| | | | | Fix string quoting. Put all stuff that needs changed in angle brackets.
* Fix to use correct release branch.Michael Drake2014-07-141-2/+3
| | | | Replaces references to `master` with release tag name.
* Merge branch 'baserock/michaeldrake/distbuilt-runner-cli'Michael Drake2014-07-101-14/+43
|\ | | | | | | | | Reviewed-By: Richard Maw <richard.maw@codethink.co.uk> Reviewed-By: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
| * Allow use without editing the script, by passing params on cli.Michael Drake2014-07-101-14/+43
| | | | | | | | | | | | | | - Adds ability to pass cluster, ref and distbuild controller hosts on the command line. - Adds --help, and usage. - Prints the specified parameters out.
* | do-release: 3 small cleanupsSam Thursfield2014-07-081-4/+2
|/ | | | | Remove a comment that is no longer true, fix a formatting error, and add a docstring to a class that lacked one.
* do-release: take advantage of partial deploymentSam Thursfield2014-07-071-54/+33
| | | | | | | | | | | | | | | | | | 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'
* 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.
* Make the release script check for the system name not "release"Adam Coldrick2014-06-181-4/+4
|
* Make 14.24 release changesRichard Maw2014-06-121-1/+1
|
* Move scripts into scripts/ directorySam Thursfield2014-06-104-0/+1238
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.