aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/release-jjb-octopus-snapshot/release-jjb-octopus-snapshot.yaml
blob: 0573618b2207baafcd3834c51ab3187ce8afc3b4 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
---
- project:
    name: release-jjb-octopus-snapshot
    jobs:
      - release-jjb-octopus-snapshot

- job-template:
    name: 'release-jjb-octopus-snapshot'
    project-type: matrix
    concurrent: false
    node: control-slave

    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/tags/octopus_14.92.0
          description: "refspec to build"
      - string:
          name: RELEASE_VERSION
          default: 14.92.0
          description: "release version number for build"
      - string:
          name: RELEASE_BRANCH
          default: octopus
          description: "release branch to build"
      - string:
          name: UPLOAD
          default: yes_or_no
          description: "Upload?"
      - string:
          name: BUILDONLY
          default: ignore
          description: "build only specified machine"
      - string:
          name: DISABLE_SSTATE_MIRROR
          default: ignore
          description: "Set to YES to disable sstate-mirror"
    axes:
      - axis:
          type: user-defined
          name: MACHINE
          values:
            - qemux86-64
            - qemuarm
            - qemuarm64
            - raspberrypi4
            - m3ulcb-nogfx
            - h3ulcb-nogfx
            - bbe
            # for aarch64
      - axis:
          type: slave
          name: label
          values:
            - agl-test-slave

    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: 'regs/tags/octopus/**'

    wrappers:
      - agl-infra-wrappers:
          build-timeout: '{build-timeout}'
      - credentials-binding:
          - username-password-separated:
              credential-id: agl_main_lava_instance
              username: AGLLAVAUSER
              password: AGLLAVATOKEN
          - username-password-separated:
              credential-id: agl_main_lava_instance
              username: LAB_AGL_USER
              password: LAB_AGL_TOKEN
          - username-password-separated:
              credential-id: lab_baylibre_lava_instance
              username: LAB_BAYLIBRE_USER
              password: LAB_BAYLIBRE_TOKEN
          - username-password-separated:
              credential-id: lab_baylibre_seattle_lava_instance
              username: LAB_BAYLIBRE_SEATTLE_USER
              password: LAB_BAYLIBRE_SEATTLE_TOKEN

    builders:
      - shell:
          !include-raw-escape:
          - ../common/include-agl-header.sh
          - ../common/include-agl-repo.sh
          - ../common/include-agl-select.sh
          - ../common/include-agl-export-eula.sh
          - ../common/include-agl-source-aglsetup.sh
          - ../common/include-agl-auto-conf.sh
          - ../common/include-agl-limit-parallelism.sh
          - ../common/include-agl-cat-auto-conf.sh
          - ../common/include-agl-local-conf-archiver.sh
          #- ../common/include-agl-local-conf-isafw.sh
          - ../common/include-agl-local-conf-include-ptest.sh
          - ../common/include-agl-local-conf-DISTROFEATURES-AGLCI.sh
          - ../common/include-agl-local-conf-vmdk.sh
          - ../common/include-agl-local-conf-rpi3-imagetype.sh
          #- ../common/include-agl-bitbake-image.sh
          - ../common/include-agl-bitbake-sdk.sh
          - bitbake-html5-image-qemux86-64.sh
      - shell:
          !include-raw-escape: include-release-jjb-octopus-snapshot-rsync.sh
      - shell:
          !include-raw-escape:
          - ../common/include-agl-header.sh
          - ../common/include-agl-run-test-prepare.sh
          #- ../common/include-agl-run-test-rsync-release.sh
          - ../common/include-agl-lava-labs-prepare.sh
          - ../common/include-agl-run-test-short-octopus.sh
          - ../common/include-agl-lava-jobs-submit-only.sh