senlin/.zuul.yaml
Erik Olof Gunnar Andersson de1ab6d96b Fixed sqlalchemy 2.x support
Re-arranged sessions to always be at the top level to make
it easier to know the origin of the current session. This
is important now that we no longer have autocommit enabled.

- Added zuul job testing sqlalchemy 2.x.
- Added new db api for service cleanup.
- Removed broken sqlite cleanup step during testing.

Change-Id: I168f3d9518611ac66cb9eec1132a7add19e92d5f
2023-12-29 12:06:57 -08:00

181 lines
5.4 KiB
YAML

- project:
queue: senlin
templates:
- check-requirements
- openstack-python3-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- senlin-dsvm-tempest-py3-api
- senlin-dsvm-tempest-py3-api-sqlalchemy-2x
- senlin-tempest-api-ipv6-only
- senlin-dsvm-tempest-py3-functional
- senlin-dsvm-tempest-py3-functional-sqlalchemy-2x
- senlin-dsvm-tempest-py3-integration
- senlin-dsvm-tempest-py3-integration-zaqar:
voting: false
- openstack-tox-cover:
voting: false
gate:
jobs:
- senlin-dsvm-tempest-py3-api
- senlin-tempest-api-ipv6-only
- senlin-dsvm-tempest-py3-functional
- job:
name: senlin-tempest-base
parent: devstack-tempest
description: Senlin Devstack tempest base job
timeout: 7800
required-projects: &base_required_projects
- openstack/senlin
- openstack/senlin-tempest-plugin
irrelevant-files: &base_irrelevant_files
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^releasenotes/.*$
vars: &base_vars
tox_envlist: all
devstack_services:
tempest: true
devstack_plugins:
senlin: https://opendev.org/openstack/senlin
devstack_localrc:
TEMPEST_PLUGINS: '/opt/stack/senlin-tempest-plugin'
USE_PYTHON3: true
devstack_local_conf:
test-config:
$TEMPEST_CONFIG:
clustering:
min_microversion: 1.12
max_microversion: 1.12
delete_with_dependency: True
health_policy_version: '1.1'
- job:
name: senlin-dsvm-tempest-py3-api
parent: senlin-tempest-base
vars:
tempest_test_regex: senlin_tempest_plugin.tests.api
devstack_localrc:
USE_PYTHON3: true
devstack_local_conf:
post-config:
$SENLIN_CONF:
DEFAULT:
cloud_backend: openstack_test
- job:
name: senlin-dsvm-tempest-py3-api-sqlalchemy-2x
parent: senlin-tempest-base
required-projects:
- name: openstack/oslo.db
vars:
tempest_test_regex: senlin_tempest_plugin.tests.api
devstack_localrc:
USE_PYTHON3: true
USE_SQLALCHEMY_LATEST: true
devstack_local_conf:
post-config:
$SENLIN_CONF:
DEFAULT:
cloud_backend: openstack_test
- job:
name: senlin-dsvm-tempest-py3-functional
parent: senlin-tempest-base
vars:
tempest_test_regex: senlin_tempest_plugin.tests.functional
devstack_localrc:
USE_PYTHON3: true
devstack_local_conf:
post-config:
$SENLIN_CONF:
DEFAULT:
cloud_backend: openstack_test
health_check_interval_min: 10
- job:
name: senlin-dsvm-tempest-py3-functional-sqlalchemy-2x
parent: senlin-tempest-base
required-projects:
- name: openstack/oslo.db
vars:
tempest_test_regex: senlin_tempest_plugin.tests.functional
devstack_localrc:
USE_PYTHON3: true
USE_SQLALCHEMY_LATEST: true
devstack_local_conf:
post-config:
$SENLIN_CONF:
DEFAULT:
cloud_backend: openstack_test
health_check_interval_min: 10
- job:
name: senlin-dsvm-tempest-py3-integration
parent: senlin-tempest-base
vars:
tempest_test_regex: senlin_tempest_plugin.tests.integration(?!\.test_nova_server_cluster.TestNovaServerCluster).*
devstack_plugins:
heat: https://opendev.org/openstack/heat
devstack_localrc:
USE_PYTHON3: true
TEMPEST_PLUGINS: '"/opt/stack/senlin-tempest-plugin /opt/stack/zaqar-tempest-plugin"'
devstack_local_conf:
post-config:
$SENLIN_CONF:
DEFAULT:
health_check_interval_min: 10
required-projects:
- openstack/heat
- openstack/octavia
- openstack/python-zaqarclient
- openstack/senlin
- openstack/senlin-tempest-plugin
- openstack/zaqar-tempest-plugin
- job:
name: senlin-dsvm-tempest-py3-integration-zaqar
parent: senlin-tempest-base
vars:
tempest_test_regex: senlin_tempest_plugin.tests.integration.test_nova_server_cluster.TestNovaServerCluster
devstack_plugins:
zaqar: https://opendev.org/openstack/zaqar
heat: https://opendev.org/openstack/heat
devstack_localrc:
USE_PYTHON3: true
TEMPEST_PLUGINS: '"/opt/stack/senlin-tempest-plugin /opt/stack/zaqar-tempest-plugin"'
devstack_local_conf:
post-config:
$SENLIN_CONF:
DEFAULT:
health_check_interval_min: 10
required-projects:
- openstack/heat
- openstack/python-zaqarclient
- openstack/senlin
- openstack/senlin-tempest-plugin
- openstack/zaqar
- openstack/zaqar-ui
- openstack/zaqar-tempest-plugin
- job:
name: senlin-tempest-api-ipv6-only
parent: devstack-tempest-ipv6
description: |
Senlin devstack tempest tests job for IPv6-only deployment
irrelevant-files: *base_irrelevant_files
required-projects: *base_required_projects
timeout: 7800
vars:
<<: *base_vars
tempest_test_regex: senlin_tempest_plugin.tests.api
devstack_local_conf:
post-config:
$SENLIN_CONF:
DEFAULT:
cloud_backend: openstack_test