summaryrefslogtreecommitdiffstats
path: root/jjb/container4nfv/container4nfv-arm64.yaml
blob: 9ebaea97bc93df1d89ec5b425349a76ce203b0f4 (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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
---

- project:
    name: 'container4nfv-arm64'
    project: 'container4nfv'
    installer: 'compass'
    stream:
      - master:
          branch: master
      - fraser:
          branch: stable/fraser
    scenario:
      - 'k8-multus-nofeature-noha':
          disabled: false
      - 'k8-sriov-nofeature-noha':
          disabled: false
      - 'k8-vpp-nofeature-noha':
          disabled: false
    pod:
      - virtual:
          slave-label: arm-packet01
      - baremetal:
          slave-label: compass-baremetal-arm
    jobs:
      - 'container4nfv-arm-deploy-{pod}-daily-{stream}'
      - 'container4nfv-{scenario}-{pod}-daily-{stream}'


- job-template:
    name: 'container4nfv-arm-deploy-{pod}-daily-{stream}'
    disabled: false
    node: '{slave-label}'

    wrappers:
      - timeout:
          timeout: 300
          fail: true

    scm:
      - git:
          url: https://gerrit.opnfv.org/gerrit/compass4nfv
          branches:
            - '{branch}'
          basedir: compass4nfv
          wipe-workspace: true

    triggers:
      - 'trigger-deploy-{pod}-{stream}'

    builders:
      - shell:
          !include-raw: arm64/compass-build.sh
      - shell:
          !include-raw: arm64/compass-deploy.sh
      - trigger-builds:
          - project: yardstick-arm64-compass-arm-virtual03-daily-master
            current-parameters: false
            same-node: true
            block: true
            block-thresholds:
              build-step-failure-threshold: 'never'
              failure-threshold: 'never'
              unstable-threshold: 'Failure'
          - project: functest-compass-arm-virtual-daily-master
            current-parameters: false
            predefined-parameters:
              DEPLOY_SCENARIO={scenario}
            same-node: true
            block: true
            block-thresholds:
              build-step-failure-threshold: 'never'
              failure-threshold: 'never'
              unstable-threshold: 'Failure'
          - project: container4nfv-k8-multus-nofeature-noha-{pod}-daily-{stream}
            current-parameters: true
            same-node: true
            block: true
            block-thresholds:
              build-step-failure-threshold: 'never'
              failure-threshold: 'never'
              unstable-threshold: 'Failure'
          - project: container4nfv-k8-sriov-nofeature-noha-{pod}-daily-{stream}
            current-parameters: true
            same-node: true
            block: true
            block-thresholds:
              build-step-failure-threshold: 'never'
              failure-threshold: 'never'
              unstable-threshold: 'Failure'
          - project: container4nfv-k8-vpp-nofeature-noha-{pod}-daily-{stream}
            current-parameters: true
            same-node: true
            block: true
            block-thresholds:
              build-step-failure-threshold: 'never'
              failure-threshold: 'never'
              unstable-threshold: 'never'


- job-template:
    name: 'container4nfv-{scenario}-{pod}-daily-{stream}'
    disabled: '{obj:disabled}'
    node: '{slave-label}'

    scm:
      - git:
          url: https://gerrit.opnfv.org/gerrit/container4nfv
          branches:
            - master
          basedir: container4nfv
          wipe-workspace: true

    builders:
      - shell:
          !include-raw: arm64/deploy-cni.sh


- trigger:
    name: 'trigger-deploy-virtual-master'
    triggers:
      - timed: '0 12 * * *'
- trigger:
    name: 'trigger-deploy-virtual-fraser'
    triggers:
      - timed: '0 18 * * *'
- trigger:
    name: 'trigger-deploy-baremetal-master'
    triggers:
      - timed: '0 12 * * *'
- trigger:
    name: 'trigger-deploy-baremetal-fraser'
    triggers:
      - timed: '0 18 * * *'