From 75d45e9789cfbaf683ce6634c621b387ca112e6c Mon Sep 17 00:00:00 2001 From: Roman Popelka Date: Fri, 2 Jun 2023 12:19:02 +0200 Subject: [PATCH] Add fips job for refstack-client The patch also removes tasks responsible for installing python3-virtualenv package - virtualenv module is part of python3, therefore there is no need to install it. Change-Id: If0fcf61e2dbab88601fd68efb1d10eed6888f8d8 --- .zuul.yaml | 11 +++++++++++ tasks/install-packages.yaml | 12 ------------ 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 351383b..f4b1b12 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -4,6 +4,7 @@ jobs: - openstack-tox-linters - refstack-client-devstack-master + - refstack-client-devstack-master-fips-centos9 - refstack-client-devstack-2023-1 - refstack-client-devstack-zed - refstack-client-devstack-yoga @@ -78,6 +79,16 @@ irrelevant-files: - ^.*\.md$ +- job: + name: refstack-client-devstack-master-fips-centos9 + parent: refstack-client-devstack-master + description: A job for refstack-client on a devstack environment with fips enabled + nodeset: devstack-single-node-centos-9-stream + vars: + configure_swap_size: 4096 + nslookup_target: 'opendev.org' + enable_fips: true + - job: name: refstack-client-devstack-2023-1 parent: refstack-client-devstack-master diff --git a/tasks/install-packages.yaml b/tasks/install-packages.yaml index 623e8d6..23db3c4 100644 --- a/tasks/install-packages.yaml +++ b/tasks/install-packages.yaml @@ -9,15 +9,3 @@ become: true ansible.builtin.package: name: git - -- name: Install virtualenv (py3) - become: true - ansible.builtin.package: - name: python3-virtualenv - when: not python3_is_available.failed - -- name: Check if pip is already installed - ansible.builtin.command: "pip --version" - ignore_errors: true - register: pip_is_installed - when: python3_is_available.failed