summaryrefslogtreecommitdiff
path: root/bin/update_all.sh
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2016-08-19 11:21:43 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2016-08-19 11:21:43 -0400
commitc1189149053228204277708cc01037e6c9891d37 (patch)
tree428c25de7334c2df058ef87f846f33f5c0390f3c /bin/update_all.sh
parenta26ab9064bc34e6695cb1e255522fab3f55deeb8 (diff)
downloadastroconda-control-master.tar.gz
Rolling updateHEADmaster
Diffstat (limited to 'bin/update_all.sh')
-rwxr-xr-xbin/update_all.sh14
1 files changed, 11 insertions, 3 deletions
diff --git a/bin/update_all.sh b/bin/update_all.sh
index 11a5024..a89ef28 100755
--- a/bin/update_all.sh
+++ b/bin/update_all.sh
@@ -5,6 +5,8 @@ source /eng/ssb/auto/astroconda/include/pre-common.sh
repo_base=http://ssb.stsci.edu
contexts=( dev public )
versions=( 27 35 )
+tree_base=$(dirname $test_from)
+trees=( rt rtx )
echo '----'
echo 'Updating base installation:'
@@ -37,15 +39,21 @@ do
fi
echo '----'
echo "Updating $context from $repo:"
- conda update -q -y --override-channels -c defaults -c $repo -n $environ --all
+ conda update -q -y --override-channels -c $repo -c defaults -n $environ --all
echo '----'
echo "Forcing pandokia to exist:"
- conda install -q -y --override-channels -c defaults -c $repo -n $environ pandokia
+ conda install -q -y --override-channels -c $repo -c defaults -n $environ pandokia
done
done
echo '----'
echo 'Updating regression tests:'
-svn_update `for d in /srv/rt/*; do [[ -d $d/.svn ]] && echo $d; done`
+for tree in "${trees[@]}"
+do
+ base="$tree_base/$tree"
+ if [[ -d $base/.svn ]]; then
+ svn_update $base
+ fi
+done
echo '----'