From 1a60257f4853aeffd83c11c528bd266d79550a22 Mon Sep 17 00:00:00 2001 From: Fathi Boudra Date: Sat, 13 Sep 2014 07:14:59 +0300 Subject: linux-linaro-stable-lsk: add lava job definitions templates Signed-off-by: Fathi Boudra --- .../lava-job-definitions/arndale/template.json | 55 +++++++++++++++++ .../beaglebone-black/template.json | 70 ++++++++++++++++++++++ .../lava-job-definitions/panda-es/template.json | 56 +++++++++++++++++ 3 files changed, 181 insertions(+) create mode 100644 linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/arndale/template.json create mode 100644 linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/beaglebone-black/template.json create mode 100644 linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/panda-es/template.json (limited to 'linux-linaro-stable-lsk-v3.14-rt') diff --git a/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/arndale/template.json b/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/arndale/template.json new file mode 100644 index 0000000000..afe7330367 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/arndale/template.json @@ -0,0 +1,55 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 10800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp-realtime.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 10800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/beaglebone-black/template.json b/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/beaglebone-black/template.json new file mode 100644 index 0000000000..5e16e5482a --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/beaglebone-black/template.json @@ -0,0 +1,70 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "boot_cmds": [ + "setenv kernel_addr_r '0x80200000'", + "setenv fdt_addr_r '0x815f0000'", + "setenv initrd_high '0xffffffff'", + "setenv fdt_high '0xffffffff'", + "setenv bootargs 'console=ttyO0,115200n8 root=/dev/mmcblk0p5 rootwait ro'", + "fatload mmc 0:3 ${kernel_addr_r} uImage", + "fatload mmc 0:3 ${fdt_addr_r} board.dtb", + "bootm ${kernel_addr_r} - ${fdt_addr_r}" + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp-realtime.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/panda-es/template.json b/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/panda-es/template.json new file mode 100644 index 0000000000..570422365c --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/panda-es/template.json @@ -0,0 +1,56 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "dtb": "omap4-panda-es.dtb", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp-realtime.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} -- cgit v1.2.3