aboutsummaryrefslogtreecommitdiff
path: root/lt-qcom-openembedded-rpb-morty.yaml
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linaro.org>2017-10-12 11:51:19 -0500
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2017-10-19 19:39:08 +0000
commite2560f239dc4e4d1c86fd6f7ef572d3e1326b427 (patch)
treedeacacd0219da82fcc6f6ec74c8c12c7ec3871bc /lt-qcom-openembedded-rpb-morty.yaml
parent59d22b27868a14b53fa9a705ed72baf997fa498f (diff)
downloadconfigs-e2560f239dc4e4d1c86fd6f7ef572d3e1326b427.tar.gz
lt-qcom-openembedded-rpb: Add support to send LAVA v2 jobs
Now we are pointing to staging due there aren't dragonboard410c v2 dut's in the main instance. The test was made manually sending a job to staging [1], currently there fastboot deployment in LAVA doesn't support non sparse images, i sent a patch adding this functionality on LAVA and by now is on review [2]. [1] https://staging.validation.linaro.org/scheduler/job/194343 [2] https://review.linaro.org/#/c/21801/ Change-Id: I88188b655448894d9f3ae34bc04cdc58989dcdb0 Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Diffstat (limited to 'lt-qcom-openembedded-rpb-morty.yaml')
-rw-r--r--lt-qcom-openembedded-rpb-morty.yaml25
1 files changed, 13 insertions, 12 deletions
diff --git a/lt-qcom-openembedded-rpb-morty.yaml b/lt-qcom-openembedded-rpb-morty.yaml
index d56a6fe42..c67730295 100644
--- a/lt-qcom-openembedded-rpb-morty.yaml
+++ b/lt-qcom-openembedded-rpb-morty.yaml
@@ -31,11 +31,8 @@
name: BASE_URL
default: 'https://builds.96boards.org/'
- string:
- name: BUNDLE_STREAM_NAME
- default: '/public/team/linaro/lt-qualcomm-oe-morty/'
- - string:
name: LAVA_SERVER
- default: 'validation.linaro.org/RPC2/'
+ default: 'staging.validation.linaro.org/RPC2/'
disabled: false
node: master
display-name: 'Qualcomm OpenEmbedded RPB (morty)'
@@ -93,27 +90,31 @@
- shell: |
case "${MACHINE}" in
dragonboard-410c)
- export DEVICE_TYPE=apq8016-sbc
+ export DEVICE_TYPE=dragonboard410c
;;
*)
echo "Skip DEVICE_TYPE for ${MACHINE}"
;;
esac
- rm -rf configs lci-build-tools
- git clone --depth 1 http://git.linaro.org/ci/lci-build-tools.git
+ rm -rf configs
git clone --depth 1 http://git.linaro.org/ci/job/configs.git
# Handle LAVA v1 (json)/v2 (yaml) test definitions
case "${DEVICE_TYPE}" in
- apq8016-sbc)
- ./lci-build-tools/yaml-to-json.py configs/lt-qcom-openembedded-rpb/lava-job-definitions/${DEVICE_TYPE}/template.yaml \
- > custom_lava_job_definition.json
+ dragonboard410c)
+ sed -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \
+ -e "s|\${DISTRO}|${DISTRO}|" \
+ -e "s|\${MANIFEST_BRANCH}|${MANIFEST_BRANCH}|" \
+ -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \
+ -e "s|\${BOOT_URL}|${BOOT_URL}|" \
+ -e "s|\${ROOTFS_SPARSE_BUILD_URL}|${ROOTFS_SPARSE_BUILD_URL}|" \
+ < configs/lt-qcom-openembedded-rpb/lava-job-definitions/${DEVICE_TYPE}/template.yaml \
+ > custom_lava_job_definition.yaml
cat << EOF > post_build_lava_parameters
DEVICE_TYPE=${DEVICE_TYPE}
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json
+ CUSTOM_YAML_URL=${JOB_URL}/ws/custom_lava_job_definition.yaml
LAVA_SERVER=${LAVA_SERVER}
EOF
;;