summaryrefslogtreecommitdiff
path: root/release.morph
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-07-01 16:41:48 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-07-07 11:37:04 +0100
commit950d6dddfe9cbf294e01973cc39040181f5525e5 (patch)
treeb7437b7b6dc60d0709e6237438a4abae9ed5461a /release.morph
parent103e708d47fbf8a72205af81679ed599de0d393b (diff)
downloaddefinitions-950d6dddfe9cbf294e01973cc39040181f5525e5.tar.gz
do-release: take advantage of partial deployment
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.
Diffstat (limited to 'release.morph')
-rw-r--r--release.morph10
1 files changed, 4 insertions, 6 deletions
diff --git a/release.morph b/release.morph
index 4ec38837..cb069f23 100644
--- a/release.morph
+++ b/release.morph
@@ -7,23 +7,21 @@ systems:
deploy:
devel-system-x86_32-chroot:
type: tar
- location: /src/release/baserock-14.26-devel-system-x86_32-chroot.tar
+ location: devel-system-x86_32-chroot.tar
- morph: devel-system-x86_32-generic
deploy:
devel-system-x86_32-generic:
type: rawdisk
- location: /src/release/baserock-14.26-devel-system-x86_32-generic.img
+ location: devel-system-x86_32-generic.img
DISK_SIZE: 4G
- VERSION_LABEL: baserock-14.26
- morph: devel-system-x86_64-chroot
deploy:
devel-system-x86_64-chroot:
type: tar
- location: /src/release/baserock-14.26-devel-system-x86_64-chroot.tar
+ location: devel-system-x86_64-chroot.tar
- morph: devel-system-x86_64-generic
deploy:
devel-system-x86_64-generic:
type: rawdisk
- location: /src/release/baserock-14.26-devel-system-x86_64-generic.img
+ location: devel-system-x86_64-generic.img
DISK_SIZE: 4G
- VERSION_LABEL: baserock-14.26