aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/test-lava/test-lava.yaml
blob: 72bd069407c28ee2d6379e9fc18a8e873fdb460f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
- project:
    name: test-lava
    jobs:
        - test-lava

- job-template:
    name: 'test-lava'
    project-type: matrix
    concurrent: false
    node: master

    parameters:
      - string:
          name: GERRIT_PROJECT
          default: AGL/AGL-repo
          description: "Project to build"
      - string:
          name: GERRIT_BRANCH
          default: master
          description: "branch to build"
      - string:
          name: GERRIT_REFSPEC
          default: refs/heads/master
          description: "refspec to build"
    axes:
      - axis:
          type: user-defined
          name: MACHINE
          values:
            - raspberrypi3
      - axis:
          type: slave
          name: label
          values:
            - master

    build-discarder:
      days-to-keep: 30
      num-to-keep: 40
      artifact-days-to-keep: -1
      artifact-num-to-keep: 5

#    triggers:
#      - gerrit-trigger-patch-submitted-silent:
#            name: 'AGL/AGL-repo'
#            branch: 'refs/tags/chinook/**'

    wrappers:
      - agl-infra-wrappers:
          build-timeout: '{build-timeout}'
      - credentials-binding:
          - username-password-separated:
              credential-id: agl_main_lava_instance
              username: AGLLAVAUSER
              password: AGLLAVATOKEN

    builders:
      - shell:
            !include-raw-escape:
                - ../common/include-agl-run-test-snapshot.sh