From 08410c9463812a580774fd531e19d0d379f62c9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Thu, 27 Jul 2017 14:52:01 +0100 Subject: example/qemu-aarch64-user-risu.yaml: my first pipeline job --- examples/qemu-aarch64-user-risu.yaml | 79 ++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 examples/qemu-aarch64-user-risu.yaml diff --git a/examples/qemu-aarch64-user-risu.yaml b/examples/qemu-aarch64-user-risu.yaml new file mode 100644 index 0000000..e94267c --- /dev/null +++ b/examples/qemu-aarch64-user-risu.yaml @@ -0,0 +1,79 @@ +device_type: lxc +job_name: Build/grab QEMU user and run RISU in LXC container + +timeouts: + job: + minutes: 30 + action: + minutes: 15 + connection: + minutes: 2 +priority: medium +visibility: public + +# context allows specific values to be overridden or included +context: + # tell the qemu template which architecture is being tested + # the template uses that to ensure that qemu-system-x86_64 is executed. + arch: amd64 + netdevice: tap + +protocols: + lava-lxc: + name: qemu-risu-build-and-test + template: debian + distribution: debian + release: stretch + mirror: http://ftp.uk.debian.org/debian/ + +metadata: + docs-source: qemu-aarch64 testing + docs-filename: qemu-aarch64-user-risu.yaml + +# Setup test +actions: +- deploy: + timeout: + minutes: 20 + to: lxc + os: debian + +- boot: + method: lxc + timeout: + minutes: 3 + prompts: + - 'root@(.*):/#' + +- test: + failure_retry: 3 + name: build-qemu + timeout: + minutes: `(format "%s" (lava-mode-end-of-day-timeout "18:00"))` + definitions: + # - repository: http://git.linaro.org/people/alex.bennee/test-definitions.git + # from: git + # path: ubuntu/build-qemu-from-source.yaml + # name: build + # parameters: + # "TARGET": aarch64-linux-user + # "BRANCH": master + # "REPO": http://git.qemu.org/git/qemu.git + # "BUILD_OPTS": "--disable-strip --disable-gnutls" + - repository: http://git.linaro.org/people/alex.bennee/test-definitions.git + from: git + path: ubuntu/install-qemu-from-repo.yaml + name: install-qemu + parameters: + "PKG": qemu-user-binfmt + - repository: http://git.linaro.org/people/alex.bennee/test-definitions.git + from: git + path: ubuntu/risu.yaml + name: build-risu-and-run + # - repository: https://git.linaro.org/lava-team/hacking-session.git + # from: git + # path: hacking-session-debian.yaml + # name: hacking + # parameters: + # "IRC_USER": "ajb-linaro" + # "PUB_KEY": `(format "\"%s\"" (s-trim (shell-command-to-string "cat ~/.ssh/id_rsa.pub")))` -- cgit v1.2.3