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