Add FIPS CI jobs

Added jobs to run the swift functional tests when FIPS is enabled.
We'll set these jobs to be non-voting initially, so that we can
ensure that they are stable.

Change-Id: If0b4cfc1ac9a8c66085eb4dc95366d43806d5ae2
This commit is contained in:
Ade Lee 2021-06-11 15:24:54 -04:00 committed by Tim Burke
parent 32da73f5c9
commit 03be71c44a

View File

@ -572,6 +572,34 @@
pass-to-parent: true pass-to-parent: true
vars: *swift_image_vars_py3 vars: *swift_image_vars_py3
- job:
name: swift-tox-func-py36-centos-8-stream-fips
parent: swift-tox-func-py36-centos-8-stream
voting: false
description: |
Functional testing on a FIPS enabled Centos 8 system
vars:
enable_fips: true
- job:
name: swift-tox-func-encryption-py36-centos-8-stream-fips
parent: swift-tox-func-encryption-py36-centos-8-stream
voting: false
description: |
Functional encryption testing on a FIPS enabled
Centos 8 system
vars:
enable_fips: true
- job:
name: swift-tox-func-ec-py36-centos-8-stream-fips
parent: swift-tox-func-ec-py36-centos-8-stream
voting: false
description: |
Functional EC testing on a FIPS enabled Centos 8 system
vars:
enable_fips: true
- project-template: - project-template:
name: swift-jobs-arm64 name: swift-jobs-arm64
description: | description: |
@ -595,6 +623,17 @@
- swift-jobs-arm64 - swift-jobs-arm64
check: check:
jobs: jobs:
- swift-tox-func-encryption-py36-centos-8:
irrelevant-files: &functest-irrelevant-files
- ^(api-ref|doc|releasenotes)/.*$
- ^test/(cors|probe)/.*$
- ^(.gitreview|.mailmap|AUTHORS|CHANGELOG|.*\.rst)$
- swift-tox-func-py36-centos-8-stream-fips:
irrelevant-files: *functest-irrelevant-files
- swift-tox-func-encryption-py36-centos-8-stream-fips:
irrelevant-files: *functest-irrelevant-files
- swift-tox-func-ec-py36-centos-8-stream-fips:
irrelevant-files: *functest-irrelevant-files
- swift-build-image: - swift-build-image:
irrelevant-files: &docker-irrelevant-files irrelevant-files: &docker-irrelevant-files
- ^(api-ref|doc|releasenotes)/.*$ - ^(api-ref|doc|releasenotes)/.*$
@ -614,10 +653,7 @@
# Functional tests # Functional tests
- swift-tox-func-py27: - swift-tox-func-py27:
irrelevant-files: &functest-irrelevant-files irrelevant-files: *functest-irrelevant-files
- ^(api-ref|doc|releasenotes)/.*$
- ^test/(cors|probe)/.*$
- ^(.gitreview|.mailmap|AUTHORS|CHANGELOG|.*\.rst)$
- swift-tox-func-encryption-py27: - swift-tox-func-encryption-py27:
irrelevant-files: *functest-irrelevant-files irrelevant-files: *functest-irrelevant-files
- swift-tox-func-ec-py27: - swift-tox-func-ec-py27: