Update Chinese translation
This commit is contained in:
parent
0c4dcda508
commit
0309e96933
4 changed files with 270 additions and 87 deletions
|
@ -197,6 +197,22 @@ def ubuntu_quantal_64(fresh_os=True):
|
|||
if (fresh_os):
|
||||
create_fresh_os('Ubuntu_12.10_64', icecast2_config=True)
|
||||
|
||||
def ubuntu_raring_32(fresh_os=True):
|
||||
if (fresh_os):
|
||||
create_fresh_os('Ubuntu_13.04_32', icecast2_config=True)
|
||||
|
||||
def ubuntu_raring_64(fresh_os=True):
|
||||
if (fresh_os):
|
||||
create_fresh_os('Ubuntu_13.04_64', icecast2_config=True)
|
||||
|
||||
def ubuntu_saucy_32(fresh_os=True):
|
||||
if (fresh_os):
|
||||
create_fresh_os('Ubuntu_13.10_32', icecast2_config=True)
|
||||
|
||||
def ubuntu_saucy_64(fresh_os=True):
|
||||
if (fresh_os):
|
||||
create_fresh_os('Ubuntu_13.10_64', icecast2_config=True)
|
||||
|
||||
def debian_squeeze_32(fresh_os=True):
|
||||
if (fresh_os):
|
||||
create_fresh_os('Debian_Squeeze_32', debian=True)
|
||||
|
@ -375,6 +391,15 @@ def airtime_231_tar():
|
|||
do_run('tar xfz airtime-2.3.1-ga.tar.gz')
|
||||
do_sudo('cd /home/martin/airtime-2.3.1/install_full/ubuntu && ./airtime-full-install')
|
||||
|
||||
def airtime_240_tar():
|
||||
do_run('wget http://sourceforge.net/projects/airtime/files/2.4.0/airtime-2.4.0-ga.tar.gz')
|
||||
do_run('tar xfz airtime-2.4.0-ga.tar.gz')
|
||||
do_sudo('cd /home/martin/airtime-2.4.0/install_full/ubuntu && ./airtime-full-install')
|
||||
|
||||
def airtime_241_tar():
|
||||
do_run('wget http://sourceforge.net/projects/airtime/files/2.4.1/airtime-2.4.1-ga.tar.gz')
|
||||
do_run('tar xfz airtime-2.4.1-ga.tar.gz')
|
||||
do_sudo('cd /home/martin/airtime-2.4.0/install_full/ubuntu && ./airtime-full-install')
|
||||
|
||||
def airtime_latest_deb():
|
||||
append('/etc/apt/sources.list', "deb http://apt.sourcefabric.org/ lucid main", use_sudo=True)
|
||||
|
@ -386,7 +411,7 @@ def airtime_latest_deb():
|
|||
do_sudo('apt-get purge -y pulseaudio')
|
||||
do_sudo('apt-get install -y --force-yes airtime')
|
||||
|
||||
def airtime_git_branch(branch="devel"):
|
||||
def airtime_git_branch(branch="2.5.x"):
|
||||
do_sudo('apt-get update')
|
||||
do_sudo('apt-get install -y git-core')
|
||||
do_run('git clone https://github.com/sourcefabric/Airtime.git ~/airtime_git')
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
exec 2>&1
|
||||
|
||||
target="airtime_git_branch:2.4.x"
|
||||
target="airtime_git_branch:2.5.x"
|
||||
#target="airtime_git_branch:airtime-2.0.0-RC1"
|
||||
airtime_versions=("airtime_231_tar")
|
||||
airtime_versions=("")
|
||||
#airtime_versions=("airtime_191_tar" "airtime_192_tar" "airtime_192_tar" "airtime_194_tar" "airtime_195_tar")
|
||||
ubuntu_versions=("ubuntu_lucid_32" "ubuntu_lucid_64" "ubuntu_precise_32" "ubuntu_precise_64" "ubuntu_quantal_32" "ubuntu_quantal_64" "ubuntu_raring_32" "ubuntu_raring_64" "debian_squeeze_32" "debian_squeeze_64" "debian_wheezy_32" "debian_wheezy_64")
|
||||
#ubuntu_versions=("debian_wheezy_32" "debian_wheezy_64")
|
||||
#ubuntu_versions=("ubuntu_lucid_32" "ubuntu_lucid_64" "ubuntu_precise_32" "ubuntu_precise_64" "ubuntu_quantal_32" "ubuntu_quantal_64" "ubuntu_raring_32" "ubuntu_raring_64" "debian_squeeze_32" "debian_squeeze_64" "debian_wheezy_32" "debian_wheezy_64" "ubuntu_saucy_32" "ubuntu_saucy_64")
|
||||
ubuntu_versions=("ubuntu_saucy_64" "ubuntu_saucy_32")
|
||||
|
||||
num1=${#ubuntu_versions[@]}
|
||||
num2=${#airtime_versions[@]}
|
||||
|
@ -19,9 +19,9 @@ do
|
|||
#echo fab -f fab_setup.py os_update shutdown
|
||||
for j in $(seq 0 $(($num2 -1)));
|
||||
do
|
||||
#since 2.2.0 airtime start to support wheezy and quantal, before that, we don't need to test on those combinations
|
||||
platform=`echo ${ubuntu_versions[$i]} | awk '/(quantal)|(wheezy)/'`
|
||||
airtime=`echo ${airtime_versions[$j]} | awk '/2(0|1)[0-3]/'`
|
||||
#since 2.5.0 airtime start to support saucy, before that, we don't need to test on those combinations
|
||||
platform=`echo ${ubuntu_versions[$i]} | awk '/(saucy)/'`
|
||||
airtime=`echo ${airtime_versions[$j]} | awk '/2[2-4][0-3]/'`
|
||||
if [ "$platform" = "" ] || [ "$airtime" = "" ];then
|
||||
echo fab -f fab_release_test.py ${ubuntu_versions[$i]} ${airtime_versions[$j]} $target shutdown
|
||||
fab -f fab_release_test.py ${ubuntu_versions[$i]} ${airtime_versions[$j]} $target shutdown 2>&1 | tee "./$upgrade_log_folder/${ubuntu_versions[$i]}_${airtime_versions[$j]}_$target.log"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue