aboutsummaryrefslogtreecommitdiff
path: root/khilman-buildroot.yaml
blob: 47b0a6a768620917867ac1f6640f610f878ac540 (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
- job:
    name: khilman-buildroot
    project-type: matrix
    defaults: global
    logrotate:
        daysToKeep: 30
        numToKeep: 30
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
            kevin.hilman@linaro.org:
                - job-read
                - job-extended-read
                - job-build
                - job-cancel
        - github:
            url: https://github.com/kernelci/buildroot/
    disabled: false
    node: kernel_build_vps
    child-workspace: .
    display-name: 'khilman - Buildroot'
    scm:
        - git:
            url: https://github.com/kernelci/buildroot.git
            refspec: +refs/heads/kernelci/latest:refs/remotes/origin/kernelci/latest
            name: origin
            branches:
                - refs/heads/kernelci/latest
            skip-tag: true
            shallow-clone: true
            wipe-workspace: false
    triggers:
        - github
        - pollscm: '@daily'
    axes:
        - axis:
            type: slave
            name: label
            values:
                - kernel_build_vps
        - axis:
            type: user-defined
            name: arch
            values:
                - armel
                - armeb
                - arm64
                - x86
    wrappers:
        - timestamps
        - build-name:
            name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
    builders:
        - shell: |
            #!/bin/bash

            make clean
            ./configs/frags/build ${arch}
        - shell: |
            #!/bin/bash

            scp output/images/rootfs.cpio.* output/images/rootfs.tar.* storage.armcloud.us:/var/www/images/kernel-ci/images/rootfs/buildroot/${arch}
    publishers:
        - email:
            recipients: 'khilman@kernel.org'