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
This commit is contained in:
Roman Popelka 2023-06-02 12:19:02 +02:00 committed by Martin Kopec
parent a5521597a0
commit 75d45e9789
2 changed files with 11 additions and 12 deletions

View File

@ -4,6 +4,7 @@
jobs: jobs:
- openstack-tox-linters - openstack-tox-linters
- refstack-client-devstack-master - refstack-client-devstack-master
- refstack-client-devstack-master-fips-centos9
- refstack-client-devstack-2023-1 - refstack-client-devstack-2023-1
- refstack-client-devstack-zed - refstack-client-devstack-zed
- refstack-client-devstack-yoga - refstack-client-devstack-yoga
@ -78,6 +79,16 @@
irrelevant-files: irrelevant-files:
- ^.*\.md$ - ^.*\.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: - job:
name: refstack-client-devstack-2023-1 name: refstack-client-devstack-2023-1
parent: refstack-client-devstack-master parent: refstack-client-devstack-master

View File

@ -9,15 +9,3 @@
become: true become: true
ansible.builtin.package: ansible.builtin.package:
name: git 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