aboutsummaryrefslogtreecommitdiff
path: root/trigger-lt-qcom-linux-integration.yaml
blob: 329dd20269c866dfb8b285221bbc30a98a8fc761 (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
- job:
    name: trigger-lt-qcom-linux-integration
    project-type: freestyle
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-read
        - build-discarder:
            days-to-keep: 30
            num-to-keep: 30
    disabled: false
    node: master
    display-name: 'Trigger for LT Qualcomm Linux Integration build'
    triggers:
        - pollurl:
            cron: 'H/5 * * * *'
            polling-node: master
            urls:
              - url: 'https://storage.kernelci.org/qcom-lt/integration-linux-qcomlt/'
                check-content:
                  - simple: true
    wrappers:
        - timestamps
    builders:
        - shell: |
            #!/bin/bash

            set -ex

            pip install --user python-dateutil beautifulsoup4

            rm -rf configs
            git clone --depth 1 http://git.linaro.org/ci/job/configs.git

            python configs/trigger-lt-qcom-linux-integration/get_latest_kernel_ci_build.py \
              > lt_qcom_linux_integration_parameters
        - inject:
            properties-file: lt_qcom_linux_integration_parameters
    publishers:
        - trigger-parameterized-builds:
            - project: lt-qcom-linux-integration
              predefined-parameters: |
                KERNEL_IMAGE_URL=${KERNEL_IMAGE_URL}
                KERNEL_DT_URL=${KERNEL_DT_URL}
                KERNEL_MODULES_URL=${KERNEL_MODULES_URL}
                ROOTFS_URL=${ROOTFS_URL}
              condition: SUCCESS