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:
parent
c2eae518c4
commit
77f4c274c1
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user