[Swift-commit] r7569 - SwiftApps/swift-galaxy/swift
ketan at ci.uchicago.edu
ketan at ci.uchicago.edu
Tue Feb 4 17:50:11 CST 2014
Author: ketan
Date: 2014-02-04 17:50:11 -0600 (Tue, 04 Feb 2014)
New Revision: 7569
Modified:
SwiftApps/swift-galaxy/swift/swiftforeachlist.sh
SwiftApps/swift-galaxy/swift/swiftforeachrange.sh
Log:
update config building routine
Modified: SwiftApps/swift-galaxy/swift/swiftforeachlist.sh
===================================================================
--- SwiftApps/swift-galaxy/swift/swiftforeachlist.sh 2014-02-04 21:45:35 UTC (rev 7568)
+++ SwiftApps/swift-galaxy/swift/swiftforeachlist.sh 2014-02-04 23:50:11 UTC (rev 7569)
@@ -1,6 +1,5 @@
#!/bin/bash
-echo $@ > /tmp/args.txt
# numeric range
site=$1
shift
@@ -55,6 +54,8 @@
BASEDIR=$(dirname $0)
$BASEDIR/buildsite.sh $site
+#build config
+if [ $site -eq "localhost" ] ; then
cat << EOF > /tmp/cf
use.provider.staging=false
wrapperlog.always.transfer=true
@@ -63,6 +64,16 @@
sitedir.keep=true
lazy.errors=false
EOF
+else
+cat << EOF > /tmp/cf
+use.provider.staging=true
+wrapperlog.always.transfer=true
+execution.retries=0
+provider.staging.pin.swiftfiles=false
+sitedir.keep=true
+lazy.errors=false
+EOF
+fi
cat << EOF > /tmp/tc
$site $interpreter $interpreter
Modified: SwiftApps/swift-galaxy/swift/swiftforeachrange.sh
===================================================================
--- SwiftApps/swift-galaxy/swift/swiftforeachrange.sh 2014-02-04 21:45:35 UTC (rev 7568)
+++ SwiftApps/swift-galaxy/swift/swiftforeachrange.sh 2014-02-04 23:50:11 UTC (rev 7569)
@@ -63,6 +63,7 @@
$BASEDIR/buildsite.sh $site
#build config
+if [ $site -eq "localhost" ] ; then
cat << EOF > /tmp/cf
use.provider.staging=false
wrapperlog.always.transfer=true
@@ -71,6 +72,16 @@
sitedir.keep=true
lazy.errors=false
EOF
+else
+cat << EOF > /tmp/cf
+use.provider.staging=true
+wrapperlog.always.transfer=true
+execution.retries=0
+provider.staging.pin.swiftfiles=false
+sitedir.keep=true
+lazy.errors=false
+EOF
+fi
#build tc
cat << EOF > /tmp/tc
More information about the Swift-commit
mailing list