summaryrefslogtreecommitdiff
path: root/.zuul.yaml
blob: 1ae750731ee50125cabf24f597838ae2d3c84797 (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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
- job:
    name: heat-functional-base
    parent: devstack
    abstract: true
    run: playbooks/devstack/functional/run.yaml
    post-run: playbooks/devstack/functional/post.yaml
    description: Base heat functional test job
    timeout: 7800
    roles:
      - zuul: opendev.org/openstack/devstack
      - zuul: opendev.org/openstack/tempest
    required-projects:
      - openstack/devstack-gate
      - openstack/barbican
      - openstack/heat
      - openstack/heat-templates
      - openstack/heat-tempest-plugin
      - openstack/octavia
      - openstack/neutron
      - openstack/oslo.messaging
      - openstack/python-barbicanclient
      - openstack/python-heatclient
      - openstack/heat-agents
      - openstack/tempest
    vars:
      configure_swap_size: 8192
      tempest_plugins:
        - heat-tempest-plugin
      devstack_localrc:
        TEMPEST_PLUGINS: '/opt/stack/heat-tempest-plugin'
        HEAT_USE_MOD_WSGI: True
        CEILOMETER_PIPELINE_INTERVAL: 60
      devstack_services:
        tls-proxy: false
        s-account: false
        s-container: false
        s-object: false
        s-proxy: false
        tempest: true
      devstack_plugins:
        barbican: https://opendev.org/openstack/barbican
        heat: https://opendev.org/openstack/heat
        octavia: https://opendev.org/openstack/octavia
      devstack_local_conf:
        post-config:
          $HEAT_CONF:
            DEFAULT:
              convergence_engine: true
              stack_scheduler_hints: true
              hidden_stack_tags: hidden
              encrypt_parameters_and_properties: True
              logging_exception_prefix: "%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s"
              enable_stack_adopt: true
              enable_stack_abandon: true
              max_stacks_per_tenant: 256
            heat_api:
              workers: 2
            heat_api_cfn:
              workers: 2
            cache:
              enabled: True
            eventlet_opts:
              client_socket_timeout: 120
            oslo_messaging_notifications:
              driver: messagingv2
        test-config:
          $TEMPEST_CONFIG:
            service_available:
              heat: True
            heat_plugin:
              convergence_engine_enabled: true
              minimal_image_ref: ${DEFAULT_IMAGE_NAME:-cirros-0.3.6-x86_64-disk}
              instance_type: m1.heat_int
              minimal_instance_type: m1.heat_micro
              image_ref: Fedora-Cloud-Base-36-1.5.x86_64
              hidden_stack_tag: hidden
              heat_config_notify_script: /opt/stack/heat-agents/heat-config/bin/heat-config-notify
              boot_config_env: /opt/stack/heat-templates/hot/software-config/boot-config/test_image_env.yaml
              credential_secret_id: $OS_CREDENTIAL_SECRET_ID
            heat_features_enabled:
              multi_cloud: True
            # disable cinder backup feature
            volume-feature-enabled:
              backup: False
      test_results_stage_name: test_results
      zuul_copy_output:
        '{{ devstack_base_dir }}/tempest/etc/tempest.conf': logs
        '{{ devstack_base_dir }}/tempest/etc/accounts.yaml': logs
        '{{ devstack_base_dir }}/tempest/tempest.log': logs
        '{{ stage_dir }}/{{ test_results_stage_name }}.subunit': logs
        '{{ stage_dir }}/{{ test_results_stage_name }}.html': logs
        '{{ stage_dir }}/stackviz': logs
      extensions_to_txt:
        conf: true
        log: true
        yaml: true
        yml: true
    irrelevant-files:
      - ^.*\.rst$
      - ^api-ref/.*$
      - ^doc/.*$
      - ^heat/locale/.*$
      - ^heat/tests/.*$
      - ^releasenotes/.*$


- job:
    name: heat-functional
    parent: heat-functional-base

- job:
    name: heat-functional-legacy
    parent: heat-functional-base
    vars:
      devstack_local_conf:
        post-config:
          $HEAT_CONF:
            DEFAULT:
              convergence_engine: false
        test-config:
          $TEMPEST_CONFIG:
            heat_plugin:
              convergence_engine_enabled: false

- job:
    name: heat-functional-non-apache
    parent: heat-functional-base
    voting: false
    vars:
      devstack_localrc:
        HEAT_USE_MOD_WSGI: False

- job:
    name: grenade-heat-multinode
    parent: grenade-multinode
    required-projects:
      - opendev.org/openstack/heat
      - opendev.org/openstack/heat-tempest-plugin
      - opendev.org/openstack/python-heatclient
    vars:
      grenade_devstack_localrc:
        shared:
          HOST_TOPOLOGY: multinode
          HOST_TOPOLOGY_ROLE: primary
          HOST_TOPOLOGY_SUBNODES: "{{ hostvars['compute1']['nodepool']['public_ipv4'] }}"
      configure_swap_size: 8192
      devstack_services:
        h-api: true
        h-api-cfn: true
        h-eng: true
        heat: true
      # We do run a list of tests after upgrade. This is just to bypass the req from parent.
      tempest_test_regex: ^tempest\.api\.identity\.v3\.test_tokens
      tox_envlist: all
      devstack_plugins:
        heat: https://opendev.org/openstack/heat
      tempest_plugins:
        - heat-tempest-plugin
    group-vars:
      subnode:
        grenade_devstack_localrc:
          shared:
            HOST_TOPOLOGY: multinode
            HOST_TOPOLOGY_ROLE: subnode
            HOST_TOPOLOGY_SUBNODES: "{{ hostvars['compute1']['nodepool']['public_ipv4'] }}"
        configure_swap_size: 8192
        devstack_services:
          h-api: true
          h-api-cfn: true
          h-eng: true
          heat: true
        # We do run a list of tests after upgrade. This is just to bypass the req from parent.
        devstack_plugins:
          heat: https://opendev.org/openstack/heat
    irrelevant-files:
      - ^.*\.rst$
      - ^api-ref/.*$
      - ^doc/.*$
      - ^heat/locale/.*$
      - ^heat/tests/.*$
      - ^releasenotes/.*$

- project:
    queue: heat
    templates:
      - openstack-cover-jobs
      - openstack-python3-jobs
      - openstack-python3-jobs-arm64
      - periodic-stable-jobs
      - publish-openstack-docs-pti
      - check-requirements
      - release-notes-jobs-python3
    check:
      jobs:
        - grenade-heat-multinode
        - heat-functional
        - heat-functional-legacy
    gate:
      jobs:
        - grenade-heat-multinode
        - heat-functional
        - heat-functional-legacy