aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2015-06-16 14:03:17 +0530
committerNaresh Kamboju <naresh.kamboju@linaro.org>2015-06-16 14:03:17 +0530
commitb4756795b13fd04e03f409fb5e0fa8770ea6c5ff (patch)
tree2b23ad0150709b68f940a85a0b0e675ea577f41f
parentda8fcbe22ea2ed3e53e387e23faf69c10ef0ad89 (diff)
wa2host: moved install steps to install.sh
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rw-r--r--wa2host.yaml49
1 files changed, 13 insertions, 36 deletions
diff --git a/wa2host.yaml b/wa2host.yaml
index 94aa9c8..75c6858 100644
--- a/wa2host.yaml
+++ b/wa2host.yaml
@@ -30,45 +30,22 @@ install:
- python-pip
- python-zmq
- sqlite3
+ - git
- zip
run:
steps:
- 'HOME_PWD=`pwd`'
- - cd /root
- - wget http://people.linaro.org/~naresh.kamboju/workload_automation_home.tar.gz
- - tar -xvf workload_automation_home.tar.gz
- - mkdir -p /root/db_results/
- - wget https://github.com/ARM-software/workload-automation/archive/master.zip
- - unzip master.zip
- - cd workload-automation-master/
- - python setup.py sdist
- - sudo pip install dist/wlauto-2.3.0.tar.gz
- - wget http://people.linaro.org/~naresh.kamboju/workloads.tar.gz
- - tar -xvf workloads.tar.gz
- - apt-add-repository -y http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu
- - apt-get update -y
- - apt-get install -y android-tools-adb android-tools-fastboot
- - pwd
- - mkdir -p /usr/
- - cd /usr/
- - wget http://people.linaro.org/~naresh.kamboju/build-tools.tar.gz
- - tar -xvf build-tools.tar.gz
- - ls build-tools
- - echo $PATH
- - which wa
- - which run_workloads
- - ls -l /usr/local/bin/wa
- - echo "$HOME_PWD"
+ - lava-test-case step1-$SIGNAL_PREFIX-install-wa2 --shell ./install-wa2.sh
- cd $HOME_PWD
- - wget http://people.linaro.org/~naresh.kamboju/config.py
- - lava-test-case step1-$SIGNAL_PREFIX-copy-templates --shell cp config.py templates/
- - lava-test-case step2-$SIGNAL_PREFIX-prepare-agenda --shell ./prepare-agenda.py --agenda $AGENDA --job-name $JOB_NAME
- - lava-test-case step3-$SIGNAL_PREFIX-wait-for-ip --shell lava-wait $SIGNAL_PREFIX-send-ip
- - lava-test-case step4-$SIGNAL_PREFIX-prepare-config --shell ./prepare-config.py --prefix $SIGNAL_PREFIX
- - lava-test-case step5-$SIGNAL_PREFIX-prepare-device --shell ./prepare-device.sh $MODE $DEVICE
- - lava-test-case step6-$SIGNAL_PREFIX-run-workload --shell ./run-workload.sh $AGENDA $JOB_NAME
- - if [ -f ./$JOB_NAME/results.csv ]; then lava-test-case-attach step7-$SIGNAL_PREFIX-run-workload ./$JOB_NAME/results.csv; fi
- - if [ -f ./$JOB_NAME/run.log ]; then lava-test-case-attach step8-$SIGNAL_PREFIX-run-workload ./$JOB_NAME/run.log; fi
- - lava-test-case step9-$SIGNAL_PREFIX-tear-down --shell ./tear-down.sh $JOB_NAME
- - lava-test-case step10-$SIGNAL_PREFIX-multinode-sync --shell lava-sync $SIGNAL_PREFIX-finished
+ - lava-test-case step2-$SIGNAL_PREFIX-wget-config --shell wget http://people.linaro.org/~naresh.kamboju/config.py
+ - lava-test-case step3-$SIGNAL_PREFIX-copy-templates --shell cp config.py templates/
+ - lava-test-case step4-$SIGNAL_PREFIX-prepare-agenda --shell ./prepare-agenda.py --agenda $AGENDA --job-name $JOB_NAME
+ - lava-test-case step5-$SIGNAL_PREFIX-wait-for-ip --shell lava-wait $SIGNAL_PREFIX-send-ip
+ - lava-test-case step6-$SIGNAL_PREFIX-prepare-config --shell ./prepare-config.py --prefix $SIGNAL_PREFIX
+ - lava-test-case step7-$SIGNAL_PREFIX-prepare-device --shell ./prepare-device.sh $MODE $DEVICE
+ - lava-test-case step8-$SIGNAL_PREFIX-run-workload --shell ./run-workload.sh $AGENDA $JOB_NAME
+ - if [ -f ./$JOB_NAME/results.csv ]; then lava-test-case-attach step9-$SIGNAL_PREFIX-run-workload ./$JOB_NAME/results.csv; fi
+ - if [ -f ./$JOB_NAME/run.log ]; then lava-test-case-attach step10-$SIGNAL_PREFIX-run-workload ./$JOB_NAME/run.log; fi
+ - lava-test-case step11-$SIGNAL_PREFIX-tear-down --shell ./tear-down.sh $JOB_NAME
+ - lava-test-case step12-$SIGNAL_PREFIX-multinode-sync --shell lava-sync $SIGNAL_PREFIX-finished