[Bugs] #2058 UNSP: Automate pulling of weekly test builds for SoaS

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Jun 27 06:35:54 EDT 2010


#2058: Automate pulling of weekly test builds for SoaS
------------------------------------------+---------------------------------
    Reporter:  mchua                      |          Owner:  sascha_silbe               
        Type:  task                       |         Status:  closed                     
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  infrastructure             |        Version:  Unspecified                
    Severity:  Unspecified                |     Resolution:  fixed                      
    Keywords:                             |   Distribution:  Unspecified                
Status_field:  Unconfirmed                |  
------------------------------------------+---------------------------------
Changes (by lukasz.jagiello):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Simple version:

 {{{
 #!/bin/bash

 LATEST_ISO_NAME=`curl -s http://alt.fedoraproject.org/pub/alt/nightly-
 composes/soas/ | grep "soas-i386" | cut -d ">" -f 2 | cut -d "<" -f 1`

 wget -o /dev/null http://alt.fedoraproject.org/pub/alt/nightly-
 composes/soas/$LATEST_ISO_NAME
 wget -o /dev/null http://alt.fedoraproject.org/pub/alt/nightly-
 composes/soas/CHECKSUM-i386

 if [ -f soas-i386-test-latest.iso ]
 then
         unlink soas-i386-test-latest.iso
 fi
 ln -s $LATEST_ISO_NAME soas-i386-test-latest.iso

 mv CHECKSUM-i386 ${LATEST_ISO_NAME/iso/sha}
 if [ -f soas-i386-test-latest-checksum.sha ]
 then
         unlink soas-i386-test-latest-checksum.sha
 fi
 ln -s ${LATEST_ISO_NAME/iso/sha} soas-i386-test-latest-checksum.sha
 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2058#comment:3>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list