-improvements to upgrade infrastructure testing
-run shell script for fab_setup.py
This commit is contained in:
parent
d1aa45ae83
commit
5ba1bf28f9
2 changed files with 79 additions and 16 deletions
21
dev_tools/fabric/run.sh
Executable file
21
dev_tools/fabric/run.sh
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
|
||||
exec 2>&1
|
||||
|
||||
target="airtime_195_tar"
|
||||
airtime_versions=("" "airtime_182_tar" "airtime_194_tar")
|
||||
ubuntu_versions=("ubuntu_lucid_32" "ubuntu_natty_32")
|
||||
|
||||
|
||||
num1=${#ubuntu_versions[@]}
|
||||
num2=${#airtime_versions[@]}
|
||||
|
||||
|
||||
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 2>&1 | tee $LOG
|
||||
fab -f fab_setup.py ${ubuntu_versions[$i]} ${airtime_versions[$j]} $target 2>&1 | tee $LOG
|
||||
done
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue