Even though Cyborg had a file dedicated to test database migrations, it was not running since the check functions to verify the migrations were not called. Skip migrations which are only placeholders and add checks for the remaining ones. Also adds oslo-db to test-requirements to ensure the opportunistic mysql mixin can be used and adds a test-setup script to install and configure a database if absent. Remove the logging configuration from the allembic env file that would prevent adding log calls to the test migrations files, following a similar change made in Watcher in the past[1]. [1] https://github.com/openstack/watcher/commit/7d90a079b06a5367704cf696259b08cf192024c9#diff-dbb8e13f149c31912a7d4114ed3b087c483b7be4301e126245c15f3da56c7a7d Assisted-By: claude-code (Opus 4.6) Change-Id: Idb5edbbc904e63c657c1b20d76ee023ece6af6ec Signed-off-by: jgilaber <jgilaber@redhat.com>
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
# This file contains runtime (non-python) dependencies
|
|
# More info at: http://docs.openstack.org/infra/bindep/readme.html
|
|
|
|
# fonts-freefont-otf is needed for pdf docs builds with the 'xelatex' engine
|
|
fonts-freefont-otf [pdf-docs]
|
|
|
|
# Required for running the 'lspci' command
|
|
pciutils
|
|
|
|
# libsrvg2 is needed for sphinxcontrib-svg2pdfconverter in docs builds.
|
|
librsvg2-tools [doc platform:rpm]
|
|
librsvg2-bin [doc platform:dpkg]
|
|
libjpeg-dev [doc platform:dpkg]
|
|
latexmk [pdf-docs]
|
|
texlive [pdf-docs]
|
|
texlive-latex-recommended [pdf-docs]
|
|
texlive-xetex [pdf-docs]
|
|
graphviz [doc]
|
|
|
|
mysql [platform:rpm !platform:redhat test]
|
|
mysql-client [platform:dpkg !platform:debian test]
|
|
mysql-devel [platform:rpm !platform:redhat test]
|
|
mysql-server [!platform:redhat !platform:debian test]
|
|
mariadb-devel [platform:rpm platform:redhat test]
|
|
mariadb-server [platform:rpm platform:redhat platform:debian test]
|
|
python3-all [platform:dpkg test]
|
|
python3-all-dev [platform:dpkg test]
|
|
python3 [platform:rpm test]
|
|
python3-devel [platform:rpm test]
|
|
sqlite-devel [platform:rpm test]
|