• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1job_name: 'test-project: my_pipeline_info'
2device_type: my_fastboot_device_type
3visibility:
4  group:
5  - my_visibility_group
6priority: 75
7context:
8  extra_nfsroot_args: ' init=/init rootwait usbcore.quirks=0bda:8153:k'
9timeouts:
10  job:
11    minutes: 10
12  actions:
13    depthcharge-retry:
14      minutes: 4
15    depthcharge-start:
16      minutes: 1
17    depthcharge-action:
18      minutes: 15
19actions:
20- deploy:
21    timeout:
22      minutes: 10
23    to: nfs
24    nfsrootfs:
25      url: None
26      compression: zstd
27      format: tar
28      overlays: {}
29- deploy:
30    timeout:
31      minutes: 5
32    to: downloads
33    os: oe
34    images:
35      kernel:
36        url: None/None
37      dtb:
38        url: None/my_dtb_filename.dtb
39    postprocess:
40      docker:
41        image: registry.gitlab.collabora.com/lava/health-check-docker
42        steps:
43        - cat Image.gz my_dtb_filename.dtb > Image.gz+dtb
44        - mkbootimg --kernel Image.gz+dtb --cmdline "root=/dev/nfs rw nfsroot=$NFS_SERVER_IP:$NFS_ROOTFS,tcp,hard,v3
45          ip=dhcp init=/init rootwait usbcore.quirks=0bda:8153:k" --pagesize 4096 --base 0x80000000 -o boot.img
46- deploy:
47    timeout:
48      minutes: 2
49    to: fastboot
50    docker:
51      image: registry.gitlab.collabora.com/lava/health-check-docker
52    images:
53      boot:
54        url: downloads://boot.img
55- boot:
56    timeout:
57      minutes: 2
58    docker:
59      image: registry.gitlab.collabora.com/lava/health-check-docker
60    failure_retry: 3
61    method: fastboot
62    prompts:
63    - 'lava-shell:'
64    commands:
65    - set_active a
66- test:
67    timeout:
68      minutes: 10
69    failure_retry: 1
70    definitions:
71    - name: mesa
72      from: inline
73      lava-signal: kmsg
74      path: inline/mesa.yaml
75      repository:
76        metadata:
77          name: mesa
78          description: Mesa test plan
79          os:
80          - oe
81          scope:
82          - functional
83          format: Lava-Test Test Definition 1.0
84        run:
85          steps:
86          - echo test FASTBOOT
87          - export CURRENT_SECTION=dut_boot
88          - set -e
89          - echo Could not find jwt file, disabling S3 requests...
90          - sed -i '/S3_RESULTS_UPLOAD/d' /set-job-env-vars.sh
91          - sleep 1
92          - lava-test-case 'test-project_dut' --shell /init-stage2.sh
93