summaryrefslogtreecommitdiff
path: root/example.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'example.yaml')
-rw-r--r--example.yaml94
1 files changed, 94 insertions, 0 deletions
diff --git a/example.yaml b/example.yaml
new file mode 100644
index 0000000..c1fbd54
--- /dev/null
+++ b/example.yaml
@@ -0,0 +1,94 @@
+job_name: generator-hacking-session
+
+timeouts:
+ job:
+ hours: 4
+ action:
+ hours: 5
+ connection:
+ hours: 5
+
+visibility: public
+priority: medium
+device_type: x86
+
+protocols:
+ lava-multinode:
+ roles:
+ vpp_host:
+ device_type: x86
+ count: 1
+ lava-vland:
+ vpp_host:
+ vlan_jpc:
+ tags:
+ - 40G
+
+actions:
+- deploy:
+ role:
+ - vpp_host
+ timeout:
+ minutes: 10
+ to: tftp
+
+ kernel:
+ url: http://people.linaro.org/~bogdan.pricope/kernel4.4/vmlinuz-4.4.0-31-generic
+ nfsrootfs:
+ url: http://people.linaro.org/~bogdan.pricope/kernel4.4/linaro-jessie-nano-20150123-1.tar.gz
+ compression: gz
+ prefix: binary/
+ modules:
+ url: http://people.linaro.org/~bogdan.pricope/kernel4.4/overlay.tar.gz
+ compression: gz
+ ramdisk:
+ url: http://people.linaro.org/~bogdan.pricope/kernel4.4/initramfs.amd64-new18.cpio.gz
+ compression: gz
+ os: debian
+
+- boot:
+ role:
+ - vpp_host
+ timeout:
+ minutes: 10
+ method: ipxe
+ commands: nfs
+ parameters:
+ shutdown-message: "reboot: Restarting system"
+ prompts:
+ - 'linaro-test'
+ - 'root@linaro-nano:'
+ - 'root@linaro'
+
+- test:
+ role:
+ - vpp_host
+ timeout:
+ hours: 4
+ definitions:
+ - repository:
+ metadata:
+ format: Lava-Test Test Definition 1.0
+ name: setup-host
+ description: Sets up the host environment
+ os:
+ - debian
+ - fedora
+ scope:
+ - functional
+ run:
+ steps:
+ - lscpu
+ - echo "nameserver 8.8.8.8" >> /etc/resolv.conf
+ - cat /etc/resolv.conf
+ from: inline
+ path: inline/setup-host.yaml
+ name: setup-host
+
+ - repository: https://git.linaro.org/lava-team/hacking-session.git
+ from: git
+ path: hacking-session-debian.yaml
+ name: hacking-server
+ parameters:
+ "IRC_USER": "michal.mazur"
+ "PUB_KEY": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC60L2Qo88u1DAMeYxsHIRQMiKRBxAzXQZj+E4aQlpAAdAq2USMQrvnfBxude63r3ChENgDb56FrZ50d7ANKpAXwk1PjAaAkA4sbjPAVMV6dBfG7pwUAE7P6SOUHNAvbR/ZQHOpeq5bXR0u8y+onaDACO3H0j0AiSTEHQ6Sr9Awluvs/ybjuqXLizjaIetzm5A+CbS7a3UnYOCH1kC4ojHRCYUXEWkPfKAEbLqiwFvDhfkVw8AaXmc92S748MwZjq6RB0mx+3Qv12OXeHuJlQ1cFgAlpYWkq/8hBQOHzRuRYdbRkYKzPb/r02y9BP/H95ogdf6c5ifR19qxjTScuSBl mkm@mkm-spire"