Fix ci issues

1) Drop tripleo-common constraint

The new pip dependency resolver doesn't work well with links. See pip
issue #8253.  Also we should require a release of tripleo-common for CI
to function. This is similar to what we do with tripleoclient.

2) Exclude reqs and tox files from modules job temporarly, will be
fixed in next patch

Change-Id: I1363d911a39e4072a706c61d83d113db6f85f71c
Closes-Bug: #1908079
(cherry picked from commit 82659a89a7)
This commit is contained in:
Alex Schultz 2020-12-14 08:49:19 -07:00
parent 633348b78d
commit 98a76506b5
6 changed files with 7 additions and 12 deletions

View File

@ -1,4 +1,4 @@
ansible>=2.8,!=2.8.9,!=2.9.12,<2.10.0
metalsmith>=0.13.0 # Apache-2.0
importlib-metadata<2.0.0
importlib-metadata
jsonschema # MIT

View File

@ -1 +0,0 @@
-e git+https://github.com/openstack/tripleo-common@master#egg=tripleo-common

View File

@ -1,7 +1,7 @@
# this is required for the molecule jobs
ansi2html
# https://github.com/sqlalchemy/dogpile.cache/issues/178 (openstacksdk)
dogpile.cache>=0.6.5,<0.9.1 # MIT
dogpile.cache>=0.6.5,!=0.9.1 # MIT
openstacksdk
pytest
pytest-cov

View File

@ -5,7 +5,7 @@ skipdist = True
[testenv]
usedevelop = True
install_command = pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/ussuri} -c{toxinidir}/constraints.txt {opts} {packages}
install_command = pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/ussuri} {opts} {packages}
passenv = *
setenv =
VIRTUAL_ENV={envdir}
@ -51,7 +51,7 @@ setenv =
UPPER_CONSTRAINTS_FILE=file:///dev/null
deps =
pre-commit
virtualenv<20 # known to break things
virtualenv
-r {toxinidir}/ansible-requirements.txt
commands =
bash -c "ANSIBLE_ROLES_PATH='{toxinidir}/tripleo_ansible/roles.galaxy' \
@ -71,11 +71,6 @@ basepython = python3
deps =
-r {toxinidir}/doc/requirements.txt
commands=
# NOTE(cloudnull): This will ensure we always have the latest version of
# tripleo-common installed, which is required for documentation
# to build when running with in development modules which use
# tripleo-common as a library.
pip install tripleo-common -c{toxinidir}/constraints.txt --force --upgrade
doc8 doc
sphinx-build -a -E -W -d doc/build/doctrees --keep-going -b html doc/source doc/build/html -T

View File

@ -6,6 +6,9 @@
- openstack-python3-ussuri-jobs
check:
jobs:
- tripleo-ci-centos-8-content-provider:
irrelevant-files:
- ^tox.ini$
- openstack-tox-linters: &tripleo-linters
nodeset: centos-8
- openstack-tox-docs: &tripleo-docs

View File

@ -200,8 +200,6 @@
- job:
files:
- ^tripleo_ansible/ansible_plugins/.*$
- ^tox.ini
- ^molecule-requirements.txt
name: tripleo-ansible-centos-8-molecule-tripleo-modules
parent: tripleo-ansible-centos-8-base
- job: