Fix CI for bugfix/8.6

- All jobs should run on ubuntu focal
- Fix tox.ini for tox4

Change-Id: I21824e5b1fb8d7c67f80a2264bc6d9a5f278ea1c
This commit is contained in:
Riccardo Pittau
2022-12-19 11:24:40 +01:00
parent 55957efef9
commit fea10bf0a5
3 changed files with 23 additions and 3 deletions

11
tox.ini
View File

@@ -1,8 +1,9 @@
[tox]
minversion = 3.18.0
skipsdist = True
envlist = py3,functional,pep8
ignore_basepython_conflict=true
requires =
tox<4
[testenv]
usedevelop = True
@@ -19,7 +20,13 @@ deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = stestr run {posargs}
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
passenv =
http_proxy
HTTP_PROXY
https_proxy
HTTPS_PROXY
no_proxy
NO_PROXY
[testenv:functional]
# Define virtualenv directory, port to use for functional testing, and number

View File

@@ -98,6 +98,7 @@
# Security testing for known issues
name: ipa-tox-bandit
parent: openstack-tox
nodeset: ubuntu-focal
timeout: 2400
vars:
tox_envlist: bandit
@@ -115,6 +116,7 @@
- job:
name: ipa-tox-examples
parent: openstack-tox
nodeset: ubuntu-focal
timeout: 600
vars:
tox_envlist: examples
@@ -192,14 +194,17 @@
check:
jobs:
- openstack-tox-pep8:
nodeset: ubuntu-focal
required-projects:
- name: openstack/requirements
override-checkout: stable/zed
- openstack-tox-py38:
nodeset: ubuntu-focal
required-projects:
- name: openstack/requirements
override-checkout: stable/zed
- openstack-tox-py39:
nodeset: ubuntu-focal
required-projects:
- name: openstack/requirements
override-checkout: stable/zed
@@ -211,14 +216,17 @@
gate:
jobs:
- openstack-tox-pep8:
nodeset: ubuntu-focal
required-projects:
- name: openstack/requirements
override-checkout: stable/zed
- openstack-tox-py38:
nodeset: ubuntu-focal
required-projects:
- name: openstack/requirements
override-checkout: stable/zed
- openstack-tox-py39:
nodeset: ubuntu-focal
required-projects:
- name: openstack/requirements
override-checkout: stable/zed
@@ -234,12 +242,14 @@
check:
jobs:
- openstack-tox-cover:
nodeset: ubuntu-focal
required-projects:
- name: openstack/requirements
override-checkout: stable/zed
gate:
jobs:
- openstack-tox-cover:
nodeset: ubuntu-focal
required-projects:
- name: openstack/requirements
override-checkout: stable/zed

View File

@@ -4,14 +4,15 @@
- openstack-cover-jobs-ipa-bugfix86
- openstack-python3-zed-jobs-ipa-bugfix86
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- openstack-tox-functional:
nodeset: ubuntu-focal
required-projects:
- name: openstack/requirements
override-checkout: stable/zed
- openstack-tox-cover:
nodeset: ubuntu-focal
required-projects:
- name: openstack/requirements
override-checkout: stable/zed
@@ -38,10 +39,12 @@
gate:
jobs:
- openstack-tox-functional:
nodeset: ubuntu-focal
required-projects:
- name: openstack/requirements
override-checkout: stable/zed
- openstack-tox-cover:
nodeset: ubuntu-focal
required-projects:
- name: openstack/requirements
override-checkout: stable/zed