aboutsummaryrefslogtreecommitdiff
path: root/trigger-lt-qcom-linux-integration.yaml
blob: 2f77888a070e5275c440ca1d1038ccd4df0aca05 (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
- job:
    name: trigger-lt-qcom-linux-integration
    project-type: freestyle
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
                - job-workspace
            linaro-landing-team-qualcomm-personnel:
                - job-read
                - job-extended-read
                - job-build
                - job-cancel
        - 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_parameters
        - inject:
            properties-file: lt_qcom_parameters
    publishers:
        - trigger-parameterized-builds:
            - project: lt-qcom-linux-integration
              predefined-parameters: |
                KERNEL_IMAGE_URL=${KERNEL_IMAGE_URL}
                KERNEL_MODULES_URL=${KERNEL_MODULES_URL}
                KERNEL_VERSION=${KERNEL_VERSION}
                KERNEL_DT_URL_apq8016_sbc=${KERNEL_DT_URL_apq8016_sbc}
                RAMDISK_URL_apq8016_sbc=${RAMDISK_URL_apq8016_sbc}
                ROOTFS_URL_apq8016_sbc=${ROOTFS_URL_apq8016_sbc}
                KERNEL_DT_URL_apq8096_db820c=${KERNEL_DT_URL_apq8096_db820c}
                RAMDISK_URL_apq8096_db820c=${RAMDISK_URL_apq8096_db820c}
                ROOTFS_URL_apq8096_db820c=${ROOTFS_URL_apq8096_db820c}
                KERNEL_DT_URL_sdm845_mtp=${KERNEL_DT_URL_sdm845_mtp}
                RAMDISK_URL_sdm845_mtp=${RAMDISK_URL_sdm845_mtp}
                ROOTFS_URL_sdm845_mtp=${ROOTFS_URL_sdm845_mtp}
              condition: SUCCESS