CC-2870: Create testing infrastructure for testing upgrades
-improvements the run.sh script. -System is now shutdown after completion -Logs to various files
This commit is contained in:
parent
1245a13259
commit
8a737d58f5
2 changed files with 8 additions and 4 deletions
|
@ -26,6 +26,10 @@ env.vm_download_url = "http://host.sourcefabric.org/vms/VirtualBox"
|
|||
#fab -f fab_setup.py ubuntu_lucid_64 airtime_182_tar airtime_190_tar
|
||||
|
||||
|
||||
def shutdown():
|
||||
sudo("shutdown -hP now")
|
||||
time.sleep(30)
|
||||
|
||||
def test():
|
||||
x = sudo('airtime-check-system')
|
||||
print x.failed
|
||||
|
@ -174,8 +178,8 @@ def airtime_194_tar():
|
|||
sudo('cd ~/airtime-1.9.4/install_full/ubuntu && ./airtime-full-install')
|
||||
|
||||
def airtime_195_tar():
|
||||
run('wget http://downloads.sourceforge.net/project/airtime/1.9.5-RC3/airtime-1.9.5-RC3.tar.gz')
|
||||
run('tar xfz airtime-1.9.5-RC3.tar.gz')
|
||||
run('wget http://downloads.sourceforge.net/project/airtime/1.9.5-RC4/airtime-1.9.5-RC4.tar.gz')
|
||||
run('tar xfz airtime-1.9.5-RC4.tar.gz')
|
||||
sudo('cd ~/airtime-1.9.5/install_full/ubuntu && ./airtime-full-install')
|
||||
|
||||
def airtime_latest_deb():
|
||||
|
|
|
@ -15,7 +15,7 @@ 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
|
||||
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"
|
||||
done
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue