diff options
-rwxr-xr-x | install-wa2.sh | 7 | ||||
-rw-r--r-- | wa2host.yaml | 8 |
2 files changed, 12 insertions, 3 deletions
diff --git a/install-wa2.sh b/install-wa2.sh index 52fd7f5..b7fa1b3 100755 --- a/install-wa2.sh +++ b/install-wa2.sh @@ -1,9 +1,12 @@ +BUILD_TOOLS_URL=$1 +WA_HOME_URL=$2 + # install SDK build-tools echo "install SDK build-tools" cd /usr/ pwd # TODO: build-tools.tar.gz only accessible from Linaro LAVA lab -wget http://testdata.validation.linaro.org/apks/workload-automation/build-tools.tar.gz +wget $BUILD_TOOLS_URL tar -xvf build-tools.tar.gz cd - @@ -22,7 +25,7 @@ cd /root id cd; pwd # TODO: workload_automation_home.tar.gz only accessible from Linaro LAVA lab -wget http://testdata.validation.linaro.org/apks/workload-automation/workload_automation_home.tar.gz +wget $WA_HOME_URL tar -xvf workload_automation_home.tar.gz # create folder for database results diff --git a/wa2host.yaml b/wa2host.yaml index b474e40..ed739cd 100644 --- a/wa2host.yaml +++ b/wa2host.yaml @@ -17,10 +17,16 @@ params: MODE: "hmp" DEVICE: "" SIGNAL_PREFIX: "workload" + # TODO: build-tools.tar.gz only accessible from Linaro LAVA lab + # TODO: Provide a valid build-tools URL from Json + BUILD_TOOLS_URL: "http://testdata.validation.linaro.org/apks/workload-automation/build-tools.tar.gz" + # TODO: workload_automation_home.tar.gz only accessible from Linaro LAVA lab + # TODO: Provide a valid workload_automation_home URL from Json + WA_HOME_URL: "http://testdata.validation.linaro.org/apks/workload-automation/workload_automation_home.tar.gz" install: steps: - - './install-wa2.sh' + - './install-wa2.sh $BUILD_TOOLS_URL $WA_HOME_URL' deps: - git - wget |