aboutsummaryrefslogtreecommitdiff
path: root/build-rpm-obs.yaml
blob: 255f4c75a869d30d7d1bde6992981ecff41c562c (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-buster
    disabled: true
    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'