[Bugs] #2058 UNSP: Automate pulling of weekly test builds for SoaS
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Sat Jun 26 08:05:41 EDT 2010
#2058: Automate pulling of weekly test builds for SoaS
------------------------------------------+---------------------------------
Reporter: mchua | Owner: sascha_silbe
Type: task | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: infrastructure | Version: Unspecified
Severity: Unspecified | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
We're currently pulling weekly test builds onto sunjammer, in /srv/www-
sugarlabs/download/soas/test, and would like to automate the process.
I'm not entirely sure how to write this cron job, but every Thursday at
11:59:59 GMT, we would like to...
1. wget http://alt.fedoraproject.org/pub/alt/nightly-
composes/soas/soas-i386-'''FOO'''.iso ''# Get the latest i386 nightly
compose from http://alt.fedoraproject.org/pub/alt/nightly-composes/soas/.
There should only be one soas-i386 image. (FOO is whatever the datetime
stamp of that image is... for instance, it may be 20060623.16 - store this
variable for later use)''
1. ln -s soas-i386-'''FOO'''.iso soas-i386-test-latest.iso ''# Update the
symlink to point to the new image.''
1. wget http://alt.fedoraproject.org/pub/alt/nightly-
composes/soas/CHECKSUM-i386 ''# The SHA256 checksum for that iso - it will
always be at this link''
1. mv CHECKSUM-i386 soas-i386-'''FOO'''.sha ''# Rename the checksum so it
matches the iso''
1. ln -s soas-i386-'''FOO'''.sha soas-i386-test-latest-checksum.sha ''#
Update the symlink to point to the new checksum''
In the end, http://download.sugarlabs.org/soas/test/ should have a new
image-checksum pair under the image's original datetime-stamp-based name,
and the symlinks for http://download.sugarlabs.org/soas/test/soas-i386
-test-latest.iso and http://download.sugarlabs.org/soas/test/soas-i386
-test-latest-checksum.sha should be updated to point to that newly-
downloaded image-checksum pair.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2058>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list