/[d-i]/tags/installer/20040302/daily-build
ViewVC logotype

Contents of /tags/installer/20040302/daily-build

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11706 - (show annotations) (download)
Mon Mar 22 18:32:25 2004 UTC (9 years, 2 months ago) by joeyh
File size: 1079 byte(s)
rename some tags to the new scheme
1 #!/bin/sh -e
2
3 # Set these in the environment to override.
4 if [ -z "$HOST" ]; then
5 HOST=people.debian.org
6 fi
7 if [ -z "$BASEDIR" ]; then
8 BASEDIR=public_html/d-i/images
9 fi
10 if [ -z "$DIR" ]; then
11 DIR=`date +%Y-%m-%d`
12 fi
13
14 if [ ! -d pkg-lists ]; then
15 echo "You must run this from the build DIRectory"
16 exit 1
17 fi
18
19 unset LANG LC_ALL LANGUAGE
20 cvs up || true
21
22 make reallyclean
23 mkdir dest
24 for t in $(make all_list |grep '^build'); do
25 (
26 echo
27 echo BUILDING IMAGE FOR $t
28 echo
29 fakeroot make $t
30 ) 2>&1 | tee dest/$t.log # This is allowed to fail
31 done
32 fakeroot make all_stats | 2>&1 tee dest/stats.txt # This is allowed to fail
33
34 echo
35 echo UPLOADING FILES
36 echo
37
38 ssh $HOST mkdir -p $BASEDIR/daily $BASEDIR/$DIR/RSYNC_IN_PROGRESS
39 ssh $HOST cp -a $BASEDIR/daily/. $BASEDIR/$DIR/RSYNC_IN_PROGRESS/ || true
40 rsync --stats -rv dest/ $HOST:$BASEDIR/$DIR/RSYNC_IN_PROGRESS/
41 ssh $HOST mv $BASEDIR/$DIR/RSYNC_IN_PROGRESS/\* $BASEDIR/$DIR/
42 ssh $HOST rmdir $BASEDIR/$DIR/RSYNC_IN_PROGRESS
43 ssh $HOST rm -rf $BASEDIR/daily
44 ssh $HOST ln -sf $DIR $BASEDIR/daily
45
46 make reallyclean

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5