summaryrefslogtreecommitdiffstats
path: root/bin/d-i_build.sh
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-06-26 21:36:01 +0200
committerHolger Levsen <holger@layer-acht.org>2016-07-13 21:26:42 +0200
commit02cd228bc6c0955322454f7aa1fc71d067d3e193 (patch)
tree91c6d7ab55e7758a75f954a59ff30349c8d3cc8b /bin/d-i_build.sh
parent2996349fee5ec1e1a587a9c181ef108577a7fb26 (diff)
downloadjenkins.debian.net-02cd228bc6c0955322454f7aa1fc71d067d3e193.tar.xz
lvc: add some verbosity to make it clear what's happening to the mini.iso's
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/d-i_build.sh')
-rwxr-xr-xbin/d-i_build.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh
index 4f8cd0c7..f644a82f 100755
--- a/bin/d-i_build.sh
+++ b/bin/d-i_build.sh
@@ -63,15 +63,21 @@ preserve_artifacts() {
if [ -f $IMAGETAR -a "$PU_GIT_BRANCH" ] ; then
[ -d ${ISO_DIR} ] || mkdir ${ISO_DIR}
+ echo "untaring the .iso images from $IMAGETAR:"
tar -xvzf $IMAGETAR --no-anchored mini.iso
+ echo "sha256sum of .iso images:"
sha256sum installer-*/*/images/netboot/gtk/mini.iso installer-*/*/images/netboot/mini.iso
+ echo "move them into place..."
mv -f installer-*/*/images/netboot/gtk/mini.iso $(iso_target gtk)
mv -f installer-*/*/images/netboot/mini.iso $(iso_target text)
+ echo "and see if they are there (listing creation time):"
+ ls -ltrc $ISO_DIR
if [ "$HOSTNAME" = "jenkins" ] ; then
# FIXME this rsync should probably be in a separate job that the one on pb10 could then depend on -- otherwise race conditions seem to lurk
+ echo "and rsync them to the target node ($LVC_HOST):"
ssh -o 'Batchmode = yes' $LVC_HOST mkdir -p $ISO_DIR
- rsync -e "ssh -o 'Batchmode = yes'" -r $ISO_DIR/ $LVC_HOST:$ISO_DIR/
+ rsync -v -e "ssh -o 'Batchmode = yes'" -r $ISO_DIR/ $LVC_HOST:$ISO_DIR/
fi
fi
}