summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2014-09-08 10:14:22 +0300
committerRiku Voipio <riku.voipio@linaro.org>2014-09-08 10:14:22 +0300
commit252f9d89875d86aae1e3aa6f83e4d2056a703c7d (patch)
treea64f92a62aa6b9f605994632d27e418c391819e3
parentb32f01038bb19215970e2dce92f706ff599f27ed (diff)
downloadgcov-ci-252f9d89875d86aae1e3aa6f83e4d2056a703c7d.tar.gz
move to post-build-lava
-rwxr-xr-xgcov-arndale12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcov-arndale b/gcov-arndale
index 7035293..b4e5630 100755
--- a/gcov-arndale
+++ b/gcov-arndale
@@ -19,10 +19,10 @@ fi
export ROOTFS_BUILD_URL="http://releases.linaro.org/14.08/ubuntu/trusty-images/developer/linaro-trusty-developer-20140821-681.tar.gz"
ktree=`pwd -P`
+export HWPACK_FILE_NAME=`ls hwpack_linaro-${hwpack}*.tar.gz`
cd ..
rm -f trusty-developer.tgz
-mv build/hwpack*gz hwpack_linaro_arndale.tar.gz
wget -nv $ROOTFS_BUILD_URL -O trusty-developer.tgz
sudo tar xaf trusty-developer.tgz
sudo mkdir -p `pwd`/binary/$ktree
@@ -31,7 +31,7 @@ sudo rm -f `pwd`/binary/$ktree/*deb `pwd`/binary/$ktree/hwpack*
sudo tar czf gcov-arndale-rootfs.tar.gz binary
sudo rm -rf binary out
mkdir -p out
-sudo mv gcov-arndale-rootfs.tar.gz hwpack_linaro_arndale.tar.gz out/
+sudo mv gcov-arndale-rootfs.tar.gz build/${HWPACK_FILE_NAME} out/
#sudo $ktree/linaro-image-tools/linaro-media-create --hwpack-force-yes --dev arndale --image-file gcovlava-arndale.img \
@@ -41,13 +41,13 @@ sudo mv gcov-arndale-rootfs.tar.gz hwpack_linaro_arndale.tar.gz out/
#sudo xz -1 gcovlava-arndale.img
cat <<EOF > post_build_lava_parameters
-HWPACK_JOB_NAME=linux-gcov/hwpack=arndale
+HWPACK_JOB_NAME=${JOB_NAME}
HWPACK_BUILD_NUMBER=${BUILD_NUMBER}
-HWPACK_FILE_NAME=hwpack_linaro-arndale_20140626-13_arm64_supported.tar.gz
+HWPACK_FILE_NAME=${HWPACK_FILE_NAME}
DEVICE_TYPE=arndale
-CUSTOM_JSON_URL=https://git.linaro.org/ci/gcov-ci.git/blob_plain/HEAD:/lava/gcov_arndale.json
GIT_REPO=git://git.linaro.org/people/riku.voipio/test-definitions.git
-BUNDLE_STREAM_NAME=/private/team/linaro/virtualization/
+LAVA_TEST_PLAN=gcov-ltp
+BUNDLE_STREAM_NAME=/anonymous/gcov/
EOF