From 1307281ed04f75f45b97cd190c3b44a4a03cd02c Mon Sep 17 00:00:00 2001 From: Luis Araujo <luis.araujo@collabora.co.uk> Date: Fri, 10 Mar 2017 19:55:56 +0800 Subject: [PATCH] Add the group-modules job template file This job template file contains all the Apertis modules tests using autopkgtests. The template file also includes the sanity-check and boot-no-crashes tests. Signed-off-by: Luis Araujo <luis.araujo@collabora.co.uk> Reviewed-by: Emanuele Aina <emanuele.aina@collabora.com> Differential Revision: https://phabricator.apertis.org/D6209 --- templates/group-modules-tpl.json | 130 +++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 templates/group-modules-tpl.json diff --git a/templates/group-modules-tpl.json b/templates/group-modules-tpl.json new file mode 100644 index 00000000..e026c70c --- /dev/null +++ b/templates/group-modules-tpl.json @@ -0,0 +1,130 @@ +{ + "job_name": "Modules tests on {{release_version}} {{pretty}} {{image_date}}", + "device_type": "{{device_type}}", + "timeout": 10800, + "actions": [ + { + "command": "deploy_image", + "parameters": { + "image": "{{baseurl}}/{{imgpath}}/{{image_type}}/{{board}}/{{image_date}}/apertis-{{release_version}}-{{image_type}}-{{board}}_{{image_date}}-{{image_variant}}.{{fs}}.img.gz", + "boot_part": 1, + "root_part": 6, + "bootfstype": "{{bootfstype}}", + "login_prompt": "login:", + "username": "user", + "password_prompt": "Password:", + "password": "user", + "login_commands": [ "sudo su" ] + }, + "metadata": { + "image.version": "{{image_date}}", + "image.release": "{{release_version}}", + "image.board": "{{board}}", + "image.type": "{{image_type}}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 900, + "testdef_repos": [ + { + "git-repo": "https://git.apertis.org/git/apertis-tests.git", + "revision": "master", + "testdef": "common/sanity-check.yaml" + }, + { + "git-repo": "https://git.apertis.org/git/apertis-tests.git", + "revision": "master", + "testdef": "misc/add-repo.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 10000, + "testdef_repos": [ + { + "git-repo": "https://git.apertis.org/git/apertis-tests.git", + "revision": "master", + "testdef": "common/sanity-check.yaml" + }, + { + "git-repo": "https://git.apertis.org/git/apertis-tests.git", + "revision": "master", + "testdef": "common/boot-no-crashes.yaml" + }, + { + "git-repo": "https://git.apertis.org/git/apertis-tests.git", + "revision": "master", + "testdef": "modules/canterbury.yaml" + }, + { + "git-repo": "https://git.apertis.org/git/apertis-tests.git", + "revision": "master", + "testdef": "modules/didcot.yaml" + }, + { + "git-repo": "https://git.apertis.org/git/apertis-tests.git", + "revision": "master", + "testdef": "modules/frome.yaml" + }, + { + "git-repo": "https://git.apertis.org/git/apertis-tests.git", + "revision": "master", + "testdef": "modules/libbredon.yaml" + }, + { + "git-repo": "https://git.apertis.org/git/apertis-tests.git", + "revision": "master", + "testdef": "modules/liblightwood.yaml" + }, + { + "git-repo": "https://git.apertis.org/git/apertis-tests.git", + "revision": "master", + "testdef": "modules/libshoreham.yaml" + }, + { + "git-repo": "https://git.apertis.org/git/apertis-tests.git", + "revision": "master", + "testdef": "modules/libthornbury.yaml" + }, + { + "git-repo": "https://git.apertis.org/git/apertis-tests.git", + "revision": "master", + "testdef": "modules/mildenhall.yaml" + }, + { + "git-repo": "https://git.apertis.org/git/apertis-tests.git", + "revision": "master", + "testdef": "modules/newport.yaml" + }, + { + "git-repo": "https://git.apertis.org/git/apertis-tests.git", + "revision": "master", + "testdef": "modules/rhosydd.yaml" + }, + { + "git-repo": "https://git.apertis.org/git/apertis-tests.git", + "revision": "master", + "testdef": "modules/ribchester.yaml" + }, + { + "git-repo": "https://git.apertis.org/git/apertis-tests.git", + "revision": "master", + "testdef": "modules/traprain.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "{{bundle_stream}}", + "server": "https://lava.collabora.co.uk/RPC2/" + } + } + ] +} -- GitLab