Slawek Kaplonski 836592a8bc Add functional and fullstack jobs with FIPS enabled
This patch adds definition of the functional and fullstack jobs
with enabled support for FIPS [1].
Jobs are based on the Centos 8 stream as this disto allows to enable
FIPS support.
Jobs are added to the experimental queue for now.

This patch also makes some changes in the bindep and
configure_functional_tests role to make functional/fullstack tests
working on the Centos.

[1] https://csrc.nist.gov/publications/detail/fips/140/3/final

Co-Authored-By: Ade Lee <alee@redhat.com>
Change-Id: I582495826155740ad2660ee2a8717696b0393d26
2021-11-17 13:41:40 +01:00

39 lines
1.2 KiB
YAML

- shell:
cmd: |
set -e
set -x
GATE_STACK_USER={{ ansible_user }}
IS_GATE=True
BASE_DIR={{ base_dir }}
GATE_DEST={{ gate_dest_dir }}
PROJECT_NAME={{ project_name }}
NEUTRON_DIR={{ neutron_dir }}
DEVSTACK_PATH={{ devstack_dir }}
TOP_DIR={{ devstack_dir }}
VENV={{ tests_venv }}
STACK_USER=stack
OVS_BRANCH={{ OVS_BRANCH }}
OVN_BRANCH={{ OVN_BRANCH }}
# This is DB USER used in e.g. pgsql db
DATABASE_USER=openstack_citest
source $DEVSTACK_PATH/functions
source $DEVSTACK_PATH/lib/neutron_plugins/ovn_agent
source $NEUTRON_DIR/tools/configure_for_func_testing.sh
if is_fedora; then
# NOTE(slqweq) Running functional job e.g. on Centos requires to
# have repo with rabbitmq-server and some other packages available
install_package centos-release-openstack-victoria
install_package iproute-tc haproxy keepalived
# NOTE(slaweq) On Fedora/CentOS systems make sure that SELinux is
# not in enforcing mode
sudo setenforce 0
fi
configure_host_for_func_testing
executable: /bin/bash