Add FIPS gate job

Add a new FIPS enabled gate job  This job will be
for Centos 8 with FIPS enabled, and will use a playbook in
zuul-jobs to enable FIPS.

The dogtag bindep dependencies are curently broken.  Lets
temporarily remove them here until we can figure out how to
fix them and thereby fix the dogtag gate.

Change-Id: Ibcd8cb6fc356e27266ba04cd972834dcd97c1a9b
Depends-On: https://review.opendev.org/c/zuul/zuul-jobs/+/788778
This commit is contained in:
Ade Lee 2020-10-30 16:29:28 -04:00
parent b5d10b3c03
commit 94a45c1ecd
3 changed files with 19 additions and 3 deletions

View File

@ -22,6 +22,14 @@
devstack_services: devstack_services:
barbican-dogtag: true barbican-dogtag: true
- job:
name: barbican-tox-functional-fips
nodeset: devstack-single-node-centos-8-stream
parent: barbican-tox-functional
description: |
Functional testing for a FIPS enabled Centos 8 system
pre-run: playbooks/enable-fips.yaml
- job: - job:
name: barbican-vault-tox-functional name: barbican-vault-tox-functional
parent: barbican-tox-functional parent: barbican-tox-functional
@ -94,6 +102,7 @@
- barbican-tempest-plugin-simple-crypto - barbican-tempest-plugin-simple-crypto
- barbican-tempest-plugin-simple-crypto-secure-rbac - barbican-tempest-plugin-simple-crypto-secure-rbac
- barbican-tempest-plugin-simple-crypto-ipv6-only - barbican-tempest-plugin-simple-crypto-ipv6-only
- barbican-tox-functional-fips
- octavia-v2-dsvm-tls-barbican - octavia-v2-dsvm-tls-barbican
# TripleO jobs that deploy Barbican. # TripleO jobs that deploy Barbican.
# Note we don't use a project-template here, so it's easier # Note we don't use a project-template here, so it's easier

View File

@ -7,9 +7,12 @@ libnss3-dev [platform:dpkg]
gettext [test] gettext [test]
# Required for the Dogtag plugin # Required for the Dogtag plugin
389-ds-base [platform:rpm] # Comment out for now -- these are not installing due to need to
pki-ca [platform:rpm] # enable idm module
pki-kra [platform:rpm] # yum module enable idm:DL1
# 389-ds-base [platform:rpm]
# pki-ca [platform:rpm]
# pki-kra [platform:rpm]
#Required for cryptography lib #Required for cryptography lib
libssl-dev [platform:dpkg] libssl-dev [platform:dpkg]

View File

@ -0,0 +1,4 @@
- hosts: all
tasks:
- include_role:
name: enable-fips