From 950d6dddfe9cbf294e01973cc39040181f5525e5 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Tue, 1 Jul 2014 16:41:48 +0000 Subject: 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. --- release.morph | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'release.morph') 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 -- cgit v1.2.1