aboutsummaryrefslogtreecommitdiff
path: root/khilman-buildroot.yaml
blob: 3e52765872ea8e1bb35a415039b6ec741005a951 (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
- 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: kernelci
    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
    axes:
        - axis:
            type: slave
            name: label
            values:
                - kernelci
        - axis:
            type: user-defined
            name: arch
            values:
                - armel
                - armeb
                - arm64
                - arm64be
                - x86
        - axis:
            type: user-defined
            name: frags
            values:
                - base
                - tests
    wrappers:
        - timestamps
        - build-name:
            name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
    builders:
        - shell: |
            #!/bin/bash

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

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