aboutsummaryrefslogtreecommitdiff
path: root/leg-erp-venv-debian.yaml
blob: dc0431f7f7e9125bcd7257bc9be231c4d2d2b08c (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
- job:
    name: leg-erp-venv-debian
    project-type: freestyle
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
            linaro:
                - job-read
                - job-extended-read
                - job-build
                - job-cancel
        - build-discarder:
            days-to-keep: 7
            num-to-keep: 7
    disabled: false
    node: docker-jessie-arm64
    display-name: 'LEG ERP Virtualenv Debian packages'
    scm:
        - git:
            url: git://git.linaro.org/leg/sdi/openstack-ref-architecture.git
            refspec: +refs/heads/master:refs/remotes/origin/master
            name: origin
            branches:
                - refs/heads/master
            skip-tag: true
            clean: true
            disable-submodules: true
            wipe-workspace: false
    wrappers:
        - timestamps
        - build-name:
            name: '#${BUILD_NUMBER}'
    builders:
        - shell: |
            #!/bin/bash

            set -e

            sudo apt-get update -q
            sudo apt-get install -q -y --no-install-recommends quilt

            cd openstack-venvs/packages/debian

            ./_update-venvs.sh
            ls -l
            ./_changelog-bump

            ./_build-all.sh source

            mv *.changes *.dsc *.gz *.xz params-* $WORKSPACE
    publishers:
        - archive:
            artifacts: '*.changes, *.dsc, *.gz, *.bz2, *.xz'
            latest-only: true
        - trigger-parameterized-builds:
            - project: build-package
              property-file: params-cinder
              condition: SUCCESS
            - project: build-package
              property-file: params-glance
              condition: SUCCESS
            - project: build-package
              property-file: params-heat
              condition: SUCCESS
            - project: build-package
              property-file: params-horizon
              condition: SUCCESS
            - project: build-package
              property-file: params-keystone
              condition: SUCCESS
            - project: build-package
              property-file: params-neutron
              condition: SUCCESS
            - project: build-package
              property-file: params-nova
              condition: SUCCESS
            - project: build-package
              property-file: params-openstack-cli
              condition: SUCCESS
            - project: build-package
              property-file: params-swift
              condition: SUCCESS
        - email:
            recipients: 'marcin.juszkiewicz@linaro.org'