Changeset 7694:8fa89cdd38c8 in orange


Ignore:
Timestamp:
02/19/11 23:16:01 (3 years ago)
Author:
mitar
Branch:
default
Convert:
c550dd6f169b6b217976dcb67542966a3faa1d4d
Message:

Making SSH mount points more robust.

Location:
install-scripts/mac
Files:
1 added
8 edited

Legend:

Unmodified
Added
Removed
  • install-scripts/mac/bundle-daily-build.sh

    r7679 r7694  
    168168fi 
    169169 
     170# TODO: Should be called only on a daily build server and not if building locally 
     171./mount-dirs.sh 
     172 
    170173if [ ! -e /Volumes/download/orange-bundle-svn-0.0.$DAILY_REVISION.dmg ]; then 
    171174    echo "Downloading bundle template." 
     
    283286fi 
    284287 
     288# TODO: Should be called only on a daily build server and not if building locally 
     289./mount-dirs.sh 
     290 
    285291echo "Removing old versions of bundles." 
    286292# (Keeps last 5 versions.) 
  • install-scripts/mac/dailyrun-bundleonly.sh

    r7693 r7694  
    88defaults write com.apple.desktopservices DSDontWriteNetworkStores true 
    99 
    10 if ! mount | grep -q /Volumes/download; then 
    11     mkdir -p /Volumes/download/ 
    12     /Users/ailabc/Downloads/sshfs-binaries/sshfs-static-leopard -o reconnect,workaround=nonodelay,uid=$(id -u),gid=$(id -g) download@biolab.si:/files /Volumes/download/ 
    13 fi 
     10./mount-dirs.sh 
    1411 
    1512/Users/ailabc/bundle-daily-build.sh &> /private/tmp/bundle-daily-build.log 
    1613EXIT_VALUE=$? 
     14 
     15./mount-dirs.sh 
     16 
    1717echo "Orange (bundle) [$EXIT_VALUE]" > "/Volumes/download/buildLogs/osx/bundle-$MAC_VERSION-daily-build.log" 
    1818date >> "/Volumes/download/buildLogs/osx/bundle-$MAC_VERSION-daily-build.log" 
  • install-scripts/mac/dailyrun-finkonly-withsource.sh

    r7693 r7694  
    3434defaults write com.apple.desktopservices DSDontWriteNetworkStores true 
    3535 
    36 if ! mount | grep -q /Volumes/fink; then 
    37     mkdir -p /Volumes/fink/ 
    38     /Users/ailabc/Downloads/sshfs-binaries/sshfs-static-leopard -o reconnect,workaround=nonodelay,uid=$(id -u),gid=$(id -g) fink@biolab.si:/files /Volumes/fink/ 
    39 fi 
    40 if ! mount | grep -q /Volumes/download; then 
    41     mkdir -p /Volumes/download/ 
    42     /Users/ailabc/Downloads/sshfs-binaries/sshfs-static-leopard -o reconnect,workaround=nonodelay,uid=$(id -u),gid=$(id -g) download@biolab.si:/files /Volumes/download/ 
    43 fi 
     36./mount-dirs.sh 
    4437 
    4538/Users/ailabc/fink-daily-build.sh $STABLE_REVISION $DAILY_REVISION &> /private/tmp/fink-daily-build.log 
    4639EXIT_VALUE=$? 
     40 
     41./mount-dirs.sh 
     42 
    4743echo "Orange (fink) [$EXIT_VALUE]" > "/Volumes/download/buildLogs/osx/fink-$MAC_VERSION-daily-build.log" 
    4844date >> "/Volumes/download/buildLogs/osx/fink-$MAC_VERSION-daily-build.log" 
  • install-scripts/mac/dailyrun-finkonly.sh

    r7693 r7694  
    88defaults write com.apple.desktopservices DSDontWriteNetworkStores true 
    99 
    10 if ! mount | grep -q /Volumes/fink; then 
    11     mkdir -p /Volumes/fink/ 
    12     /Users/ailabc/Downloads/sshfs-binaries/sshfs-static-leopard -o reconnect,workaround=nonodelay,uid=$(id -u),gid=$(id -g) fink@biolab.si:/files /Volumes/fink/ 
    13 fi 
    14 if ! mount | grep -q /Volumes/download; then 
    15     mkdir -p /Volumes/download/ 
    16     /Users/ailabc/Downloads/sshfs-binaries/sshfs-static-leopard -o reconnect,workaround=nonodelay,uid=$(id -u),gid=$(id -g) download@biolab.si:/files /Volumes/download/ 
    17 fi 
     10./mount-dirs.sh 
    1811 
    1912/Users/ailabc/fink-daily-build.sh &> /private/tmp/fink-daily-build.log 
    2013EXIT_VALUE=$? 
     14 
     15./mount-dirs.sh 
     16 
    2117echo "Orange (fink) [$EXIT_VALUE]" > "/Volumes/download/buildLogs/osx/fink-$MAC_VERSION-daily-build.log" 
    2218date >> "/Volumes/download/buildLogs/osx/fink-$MAC_VERSION-daily-build.log" 
  • install-scripts/mac/dailyrun.sh

    r7693 r7694  
    3434defaults write com.apple.desktopservices DSDontWriteNetworkStores true 
    3535 
    36 if ! mount | grep -q /Volumes/fink; then 
    37     mkdir -p /Volumes/fink/ 
    38     /Users/ailabc/Downloads/sshfs-binaries/sshfs-static-leopard -o reconnect,workaround=nonodelay,uid=$(id -u),gid=$(id -g) fink@biolab.si:/files /Volumes/fink/ 
    39 fi 
    40 if ! mount | grep -q /Volumes/download; then 
    41     mkdir -p /Volumes/download/ 
    42     /Users/ailabc/Downloads/sshfs-binaries/sshfs-static-leopard -o reconnect,workaround=nonodelay,uid=$(id -u),gid=$(id -g) download@biolab.si:/files /Volumes/download/ 
    43 fi 
     36./mount-dirs.sh 
    4437 
    4538/Users/ailabc/bundle-daily-build.sh $STABLE_REVISION $DAILY_REVISION &> /private/tmp/bundle-daily-build.log 
    4639EXIT_VALUE=$? 
     40 
     41./mount-dirs.sh 
     42 
    4743echo "Orange (bundle) [$EXIT_VALUE]" > "/Volumes/download/buildLogs/osx/bundle-$MAC_VERSION-daily-build.log" 
    4844date >> "/Volumes/download/buildLogs/osx/bundle-$MAC_VERSION-daily-build.log" 
     
    5248/Users/ailabc/bundle-64bit-daily-build.sh $DAILY_REVISION &> /private/tmp/bundle-64bit-daily-build.log 
    5349EXIT_VALUE=$? 
     50 
     51./mount-dirs.sh 
     52 
    5453echo "Orange (bundle-64bit) [$EXIT_VALUE]" > "/Volumes/download/buildLogs/osx/bundle-$MAC_VERSION-64bit-daily-build.log" 
    5554date >> "/Volumes/download/buildLogs/osx/bundle-$MAC_VERSION-64bit-daily-build.log" 
     
    5958/Users/ailabc/fink-daily-build.sh $STABLE_REVISION $DAILY_REVISION &> /private/tmp/fink-daily-build.log 
    6059EXIT_VALUE=$? 
     60 
     61./mount-dirs.sh 
     62 
    6163echo "Orange (fink) [$EXIT_VALUE]" > "/Volumes/download/buildLogs/osx/fink-$MAC_VERSION-daily-build.log" 
    6264date >> "/Volumes/download/buildLogs/osx/fink-$MAC_VERSION-daily-build.log" 
  • install-scripts/mac/fink-daily-build.sh

    r7680 r7694  
    367367echo "Cleaning." 
    368368fink $FINK_ARGS cleanup --all 
     369 
     370# TODO: Should be called only on a daily build server and not if building locally 
     371./mount-dirs.sh 
    369372 
    370373echo "Preparing public biolab Fink info and binary files repository." 
  • install-scripts/mac/force-fink-daily-build.sh

    r7693 r7694  
    3434defaults write com.apple.desktopservices DSDontWriteNetworkStores true 
    3535 
    36 if ! mount | grep -q /Volumes/fink; then 
    37     mkdir -p /Volumes/fink/ 
    38     /Users/ailabc/Downloads/sshfs-binaries/sshfs-static-leopard -o reconnect,workaround=nonodelay,uid=$(id -u),gid=$(id -g) fink@biolab.si:/files /Volumes/fink/ 
    39 fi 
    40 if ! mount | grep -q /Volumes/download; then 
    41     mkdir -p /Volumes/download/ 
    42     /Users/ailabc/Downloads/sshfs-binaries/sshfs-static-leopard -o reconnect,workaround=nonodelay,uid=$(id -u),gid=$(id -g) download@biolab.si:/files /Volumes/download/ 
    43 fi 
     36./mount-dirs.sh 
    4437 
    4538/Users/ailabc/fink-daily-build.sh $STABLE_REVISION $DAILY_REVISION 
  • install-scripts/mac/update-all-scripts.sh

    r7678 r7694  
    1515curl --silent --output fink-selfupdate-orange.sh http://orange.biolab.si/svn/orange/trunk/install-scripts/mac/fink-selfupdate-orange.sh 
    1616curl --silent --output force-fink-daily-build.sh http://orange.biolab.si/svn/orange/trunk/install-scripts/mac/force-fink-daily-build.sh 
     17curl --silent --output mount-dirs.sh http://orange.biolab.si/svn/orange/trunk/install-scripts/mac/mount-dirs.sh 
    1718 
    1819chmod +x *.sh 
Note: See TracChangeset for help on using the changeset viewer.