diff options
author | Aníbal Limón <anibal.limon@linaro.org> | 2017-11-17 12:44:12 -0600 |
---|---|---|
committer | Anibal Limon <anibal.limon@linaro.org> | 2017-11-22 14:39:48 +0000 |
commit | 3528b537f8b6eecccfe218d41a72978ad9da7c06 (patch) | |
tree | eb3f1eb8f4d52365f7f5afa89db49e69dc3083b8 /lt-qcom-openembedded-rpb-morty.yaml | |
parent | 53ce723f4f5295b4d6d615a5fdde7c81ce21c823 (diff) |
lt-qcom: Changes to make LAVA templates usable in OE/Debian
- Move the LAVA templates from lt-qcom-openembedded-rpb to lt-qcom.
- Use --template-base-pre to avoid duplication on protocols (LXC) and
deploy/boot images, the actual templates only differs on description
and test plans.
- Change namespace of target devices to dragonboard410c instead of
dragonboard410c-oe.
- Add parameters to set OS_INFO, DEPLOY_OS and BOOT_OS_PROMPT that
differs on OE and Debian.
- Add support to use LXC containers to execute a conversion of boot or
rootfs in this case be able to resize the rootfs, now LXC_BOOT_FILE
and LXC_ROOTFS_FILE parameters are needed.
- Adapt lt-qcom-openembedded-rpb-morty jenkins template to use the new
LAVA generic templates created.
Change-Id: I7fd88831ce041eef374f3a4bf0a2cf72cbfa04fa
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.yaml | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/lt-qcom-openembedded-rpb-morty.yaml b/lt-qcom-openembedded-rpb-morty.yaml index b11af69a75..5cc05df498 100644 --- a/lt-qcom-openembedded-rpb-morty.yaml +++ b/lt-qcom-openembedded-rpb-morty.yaml @@ -98,6 +98,21 @@ rm -rf configs git clone --depth 1 http://git.linaro.org/ci/job/configs.git + # main parameters + export DEPLOY_OS=oe + export OS_INFO=openembedded-${DISTRO}-${MANIFEST_BRANCH} + export BOOT_OS_PROMPT=\'root@dragonboard-410c:~#\' + + # boot and rootfs parameters, BOOT_URL comes from builders.sh + # and has not compression + export BOOT_URL_COMP= + export LXC_BOOT_FILE=`basename ${BOOT_URL}` + + export ROOTFS_URL=${ROOTFS_SPARSE_BUILD_URL} + export ROOTFS_URL_COMP="gz" + export LXC_ROOTFS_FILE=`basename ${ROOTFS_URL} .gz` + export RESIZE_ROOTFS= + case "${MACHINE}" in dragonboard-410c) export DEVICE_TYPE="${MACHINE}" @@ -113,7 +128,8 @@ --qa-server-project openembedded-rpb-morty \ --env-suffix="-${DISTRO}" \ --git-commit ${BUILD_NUMBER} \ - --template-path configs/lt-qcom-openembedded-rpb/lava-job-definitions \ + --template-path configs/lt-qcom/lava-job-definitions \ + --template-base-pre base_template.yaml --template-names template.yaml template-wifi.yaml template-bt.yaml template-ptest.yaml ;; rpb-wayland) |