aboutsummaryrefslogtreecommitdiff
path: root/warp7-openembedded
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2019-04-12 16:03:57 +0100
committerRyan Harkin <ryan.harkin@linaro.org>2019-04-12 16:31:19 +0100
commit45fcad983e3eb9eb7c089600ae6408da7b0e32db (patch)
tree65ed81304863c51348d3e8366c6c68f360adc2d4 /warp7-openembedded
parent7a5a46af812dc9f581c44429ae19c897ec3b1124 (diff)
warp7-openembedded: added new job for WaRP7 board
Add a new job definition for building WaRP7 with rpb-openembedded style builds. This was copied from rpb-openembedded-sumo.yaml and related files, then customised for WaRP7. Change-Id: I73a7a1a1bd1c32b4573bfa799f91f5bdc5b77b13 Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Diffstat (limited to 'warp7-openembedded')
-rw-r--r--warp7-openembedded/lava-job-definitions/imx7s-warp/template-boot.yaml77
-rwxr-xr-xwarp7-openembedded/submit_for_testing.sh19
2 files changed, 96 insertions, 0 deletions
diff --git a/warp7-openembedded/lava-job-definitions/imx7s-warp/template-boot.yaml b/warp7-openembedded/lava-job-definitions/imx7s-warp/template-boot.yaml
new file mode 100644
index 00000000..45789e01
--- /dev/null
+++ b/warp7-openembedded/lava-job-definitions/imx7s-warp/template-boot.yaml
@@ -0,0 +1,77 @@
+device_type: imx7s-warp
+
+job_name: WaRP7 ${MACHINE} ${MANIFEST_BRANCH} ${BUILD_NUMBER}
+timeouts:
+ job:
+ minutes: 100
+ action:
+ minutes: 50
+ connection:
+ minutes: 20
+priority: medium
+visibility: public
+
+actions:
+- deploy:
+ timeout:
+ minutes: 50
+ to: u-boot-ums
+ os: oe
+ image:
+ url: ${IMAGE_URL}
+ compression: gz
+ root_partition: 2
+
+- boot:
+ method: u-boot
+ commands: ums
+ auto_login:
+ login_prompt: 'imx7s-warp login:'
+ username: 'root'
+ prompts:
+ - 'root@imx7s-warp:~#'
+ timeout:
+ minutes: 50
+- test:
+ timeout:
+ minutes: 50
+ definitions:
+ - from: inline
+ repository:
+ metadata:
+ format: Lava-Test Test Definition 1.0
+ name: uname-test
+ description: "uname test"
+ run:
+ steps:
+ - uname -a
+ name: uname-test
+ path: inline/uname-test.yaml
+ - path: automated/linux/badblocks/badblocks.yaml
+ repository: https://git@git.linaro.org/qa/test-definitions.git
+ history: false
+ name: badblocks
+ from: git
+ branch: master
+ - path: automated/linux/memtester/memtester.yaml
+ repository: https://git@git.linaro.org/qa/test-definitions.git
+ history: false
+ name: memtester
+ from: git
+ branch: master
+
+metadata:
+ machine: ${MACHINE}
+ manifest branch: ${MANIFEST_BRANCH}
+ manifest commit: ${MANIFEST_COMMIT}
+ build url: ${BUILD_URL}
+ build location: ${PUBLISH_SERVER}${PUB_DEST}
+
+notify:
+ recipients:
+ - to:
+ method: email
+ email: ryan.harkin@linaro.org
+ criteria:
+ status: complete
+ verbosity: verbose
diff --git a/warp7-openembedded/submit_for_testing.sh b/warp7-openembedded/submit_for_testing.sh
new file mode 100755
index 00000000..9659097c
--- /dev/null
+++ b/warp7-openembedded/submit_for_testing.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+rm -rf configs
+git clone --depth 1 http://git.linaro.org/ci/job/configs.git
+
+# Used by DB410C's template:
+export RESIZE_ROOTFS=${RESIZE_ROOTFS:-}
+
+[ -z "${DEVICE_TYPE}" ] || \
+python configs/openembedded-lkft/submit_for_testing.py \
+ --device-type ${DEVICE_TYPE} \
+ --build-number ${BUILD_NUMBER} \
+ --lava-server ${LAVA_SERVER} \
+ --qa-server ${QA_SERVER} \
+ --qa-server-team ${QA_SERVER_TEAM} \
+ --qa-server-project ${QA_SERVER_PROJECT} \
+ --git-commit ${MANIFEST_COMMIT} \
+ --template-path configs/warp7-openembedded/lava-job-definitions/ \
+ --template-names template-boot.yaml