aboutsummaryrefslogtreecommitdiff
path: root/build-rpm-obs.yaml
blob: 1befb226dae6921ffe8fe61bea8abd5a9f18ff7c (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
- job:
    name: build-rpm-obs
    project-type: freestyle
    defaults: global
    logrotate:
        daysToKeep: 30
        numToKeep: 30
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
            linaro:
                - job-read
                - job-extended-read
                - job-build
                - job-cancel
    node: docker-jessie-amd64
    disabled: false
    display-name: 'Build RPM packages in OBS'
    parameters:
        - string:
            name: source
            description: 'url to src.rpm'
        - string:
            name: repo
            description: 'repository to upload to'
            default: 'linaro-staging'
    wrappers:
        - timestamps
        - credentials-binding:
            - text:
                credential-id: OSCRC_USER
                variable: OSCRC_USER
        - credentials-binding:
            - text:
                credential-id: OSCRC_PASS
                variable: OSCRC_PASS
    builders:
        - shell:
            !include-raw: build-package/builder-rpm.sh
    publishers:
        - email:
            recipients: 'packages@lists.linaro.org'