Disable mysql and postgresql unit tests

The purpose of units is to tests input/output of different functions /
methods of a program.
This is not to test the fact that it works using mysql or any other sql
engine.

So, lets focus on units that are easy to run locally with sqlite (while
mysql / postgresql needs specific installation)

Change-Id: I7d7c499c7176cbd75f02b2aff5d070733305c4cd
Signed-off-by: Arnaud M <arnaud.morin@gmail.com>
This commit is contained in:
Arnaud M 2024-10-04 23:19:32 +02:00
parent 2d3f025181
commit 6d96f938b5

View File

@ -60,34 +60,36 @@
# run: playbooks/legacy/mistral-ha/run
# timeout: 4200
- job:
name: mistral-tox-unit-mysql
parent: openstack-tox
vars:
tox_envlist: unit-mysql
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
timeout: 3600
required-projects:
- openstack/mistral-lib
- openstack/mistral-extra
# This job does not work. We can come back to it later.
# - job:
# name: mistral-tox-unit-mysql
# parent: openstack-tox
# vars:
# tox_envlist: unit-mysql
# irrelevant-files:
# - ^.*\.rst$
# - ^doc/.*$
# - ^releasenotes/.*$
# timeout: 3600
# required-projects:
# - openstack/mistral-lib
# - openstack/mistral-extra
- job:
name: mistral-tox-unit-postgresql
parent: openstack-tox
vars:
tox_envlist: unit-postgresql
tox_environment: {CI_PROJECT: "{{ zuul['project']['name'] }}"}
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
timeout: 3600
required-projects:
- openstack/mistral-lib
- openstack/mistral-extra
# This job does not work. We can come back to it later.
# - job:
# name: mistral-tox-unit-postgresql
# parent: openstack-tox
# vars:
# tox_envlist: unit-postgresql
# tox_environment: {CI_PROJECT: "{{ zuul['project']['name'] }}"}
# irrelevant-files:
# - ^.*\.rst$
# - ^doc/.*$
# - ^releasenotes/.*$
# timeout: 3600
# required-projects:
# - openstack/mistral-lib
# - openstack/mistral-extra
- project:
templates:
@ -109,8 +111,9 @@
- mistral-devstack-non-apache-tempest-ipv6-only
- mistral-devstack-non-apache
- mistral-devstack-kombu
- mistral-tox-unit-mysql
- mistral-tox-unit-postgresql
# Disable mysql / postgresql units as they are not working as expected
# - mistral-tox-unit-mysql
# - mistral-tox-unit-postgresql
queue: mistral
gate:
jobs:
@ -119,8 +122,9 @@
- mistral-devstack-non-apache-tempest-ipv6-only
- mistral-devstack-non-apache
- mistral-devstack-kombu
- mistral-tox-unit-mysql
- mistral-tox-unit-postgresql
# Disable mysql / postgresql units as they are not working as expected
# - mistral-tox-unit-mysql
# - mistral-tox-unit-postgresql
post:
jobs:
- mistral-docker-buildimage: