summaryrefslogtreecommitdiffstats
path: root/jjb/armband/armband-ci-jobs.yaml
blob: 0e99cfbdde976f430ec3da2bd2b01d35979e119c (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
---
# jenkins job templates for Armband
- project:
    name: 'armband-ci'
    project: 'armband'
    installer: 'fuel'

    # -------------------------------
    # BRANCH ANCHORS
    # -------------------------------
    master: &master
      stream: master
      branch: '{stream}'
      gs-pathname: ''
      disabled: false
      functest_docker_tag: hunter
    hunter: &hunter
      stream: hunter
      branch: 'stable/{stream}'
      gs-pathname: '/{stream}'
      disabled: true
      functest_docker_tag: '{stream}'
    # -------------------------------
    # POD, INSTALLER, AND BRANCH MAPPING
    # -------------------------------
    # CI POD's
    # -------------------------------
    pod:
      # -------------------------------
      #        hunter
      # -------------------------------
      - armband-baremetal:
          deploy-type: 'baremetal'
          slave-label: 'armband-{deploy-type}'
          <<: *hunter
      # -------------------------------
      #        master
      # -------------------------------
      - armband-baremetal:
          deploy-type: 'baremetal'
          slave-label: 'armband-{deploy-type}'
          <<: *master
    # -------------------------------
    #       scenarios
    # -------------------------------
    scenario:
      # HA scenarios
      - 'os-nosdn-nofeature-ha':
          auto-trigger-name: 'fuel-{scenario}-{pod}-{stream}-trigger'
      - 'os-odl-nofeature-ha':
          auto-trigger-name: 'fuel-{scenario}-{pod}-{stream}-trigger'
      - 'os-ovn-nofeature-ha':
          auto-trigger-name: 'fuel-{scenario}-{pod}-{stream}-trigger'
      - 'os-nosdn-ovs-ha':
          auto-trigger-name: 'fuel-{scenario}-{pod}-{stream}-trigger'

      # NOHA scenarios
      - 'os-nosdn-nofeature-noha':
          auto-trigger-name: 'fuel-{scenario}-{pod}-{stream}-trigger'
      - 'os-nosdn-fdio-noha':
          auto-trigger-name: 'fuel-{scenario}-{pod}-{stream}-trigger'

    jobs:
      - 'fuel-{scenario}-{pod}-daily-{stream}'
      - 'fuel-deploy-{pod}-daily-{stream}'

########################
# job templates: Armband uses Fuel's job templates, no need to duplicate
########################

########################
# trigger macros
########################
# CI PODs
# ----------------------------------------------------------------
# Enea Armband CI Baremetal Triggers running against master branch
# ----------------------------------------------------------------
- trigger:
    name: 'fuel-os-nosdn-nofeature-ha-armband-baremetal-master-trigger'
    triggers:
      - timed: '0 1 * * 7'
- trigger:
    name: 'fuel-os-odl-nofeature-ha-armband-baremetal-master-trigger'
    triggers:
      - timed: '0 1 * * 4,6'
- trigger:
    name: 'fuel-os-ovn-nofeature-ha-armband-baremetal-master-trigger'
    triggers:
      - timed: '0 1 * * 2'
- trigger:
    name: 'fuel-os-nosdn-ovs-ha-armband-baremetal-master-trigger'
    triggers:
      - timed: '0 1 * * 1'
- trigger:
    name: 'fuel-os-nosdn-nofeature-noha-armband-baremetal-master-trigger'
    triggers:
      - timed: ''
- trigger:
    name: 'fuel-os-nosdn-fdio-noha-armband-baremetal-master-trigger'
    triggers:
      - timed: '0 1 * * 3,5'
# ---------------------------------------------------------------------
# Enea Armband CI Baremetal Triggers running against hunter branch
# ---------------------------------------------------------------------
- trigger:
    name: 'fuel-os-nosdn-nofeature-ha-armband-baremetal-hunter-trigger'
    triggers:
      - timed: '10 1 * * 1'
- trigger:
    name: 'fuel-os-odl-nofeature-ha-armband-baremetal-hunter-trigger'
    triggers:
      - timed: '10 1 * * 7'
- trigger:
    name: 'fuel-os-ovn-nofeature-ha-armband-baremetal-hunter-trigger'
    triggers:
      - timed: '10 1 * * 2'
- trigger:
    name: 'fuel-os-nosdn-ovs-ha-armband-baremetal-hunter-trigger'
    triggers:
      - timed: '10 1 * * 4,6'
- trigger:
    name: 'fuel-os-nosdn-nofeature-noha-armband-baremetal-hunter-trigger'
    triggers:
      - timed: ''
- trigger:
    name: 'fuel-os-nosdn-fdio-noha-armband-baremetal-hunter-trigger'
    triggers:
      - timed: '10 1 * * 3,5'