summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2017-07-27 14:52:01 +0100
committerAlex Bennée <alex.bennee@linaro.org>2017-07-27 14:52:01 +0100
commit08410c9463812a580774fd531e19d0d379f62c9d (patch)
tree97b2738818556a0f07a02f0846a1b8ac211e3e4d
parent8cfc6f57485b5def874b50c08226cdf7a7aa6c73 (diff)
example/qemu-aarch64-user-risu.yaml: my first pipeline job
-rw-r--r--examples/qemu-aarch64-user-risu.yaml79
1 files changed, 79 insertions, 0 deletions
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")))`