Commit Graph

4 Commits (master)

Author SHA1 Message Date
Ade Lee 933a7b7e6c Add fips check jobs
This patch adds two new FIPS enabled jobs to determine if there are any
issues when FIPS is enabled.

Because the FIPS jobs currently run on centos, code is added to the
test setup script to set up the databases correctly.  Also had
to increase the swap space on the nodes; see [0] for an explanation.

[0] https://review.opendev.org/c/openstack/devstack/+/803706

Depends-On: https://review.opendev.org/c/openstack/devstack-plugin-nfs/+/847087
Depends-On: https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/847086

Change-Id: Ib85b6ecc6f1b12eb8afa866e56afbfb13aad0cba
2023-04-18 19:45:55 +00:00
Sean McGinnis f766c76f2a
Make test-setup.sh compatible with mysql8
Starting from mysql version 8 it's not possible to create a user
implictly when using GRANT.

This patch makes the behavior compatible with that.

Change-Id: Ia13402213bc82027e3d658918a22003be26576d6
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-06-22 14:27:34 -05:00
Andreas Jaeger afeb6f5aeb Minor cleanup on tools/test-setup.sh
Remove unused variable.
Fix comment nit.

This addresses a review comment in https://review.openstack.org/430069.

Change-Id: I47e75a68c7e97340dab8b51b9fab9ed2983061ef
2017-02-07 11:40:16 +01:00
Andreas Jaeger 1c91c0f033 Prepare for using standard python tests
Add simple script to setup mysql and postgresql databases, this script
can be run by users during testing and will be run by CI systems for
specific setup before running unit tests. This is exactly what is
currently done by OpenStack CI in project-config.

This allows to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.

See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html

Update devref for this.

Needed-By: I628f825d9200f7951eae46b7be78b111b1a8141c
Change-Id: If549e6f108ec6184a432d5050da4386efe794a4e
2017-02-03 07:34:35 +01:00