CC-2870: Create testing infrastructure for testing upgrades

-put logs into their own dir
-rename fab_setup to fab_release_test
This commit is contained in:
Martin Konecny 2011-11-10 15:45:35 -05:00
parent c2eae518c4
commit 77f4c274c1
2 changed files with 2 additions and 1 deletions

View file

@ -10,12 +10,13 @@ ubuntu_versions=("ubuntu_lucid_32" "ubuntu_natty_32")
num1=${#ubuntu_versions[@]}
num2=${#airtime_versions[@]}
mkdir -p ./upgrade_logs
for i in $(seq 0 $(($num1 -1)));
do
for j in $(seq 0 $(($num2 -1)));
do
echo fab -f fab_setup.py ${ubuntu_versions[$i]} ${airtime_versions[$j]} $target shutdown
fab -f fab_setup.py ${ubuntu_versions[$i]} ${airtime_versions[$j]} $target shutdown 2>&1 | tee "${ubuntu_versions[$i]}_${airtime_versions[$j]}_$target.log"
fab -f fab_release_test.py ${ubuntu_versions[$i]} ${airtime_versions[$j]} $target shutdown 2>&1 | tee "./upgrade_logs/${ubuntu_versions[$i]}_${airtime_versions[$j]}_$target.log"
done
done