Clean up role tests

Now that we're using the general templates, we can slim down
the role test definitions. We can also remove tests which are
not being watched, or which are fundamentally broken. With
this we can also remove unused scripts/plays.

We do the following:

1. We revert the use of project templates to using job config
   directly, given that nothing other than Ubuntu Xenial is
   currently working.
2. We remove the unused tox targets.

Change-Id: I695dcdbef6eb5f2cec69697a9cff50e03aeff1e2
This commit is contained in:
Jesse Pretorius 2018-09-09 11:47:04 +01:00
parent 3865bb0aa9
commit 2f73146e0c
2 changed files with 7 additions and 44 deletions

25
tox.ini
View File

@ -89,31 +89,6 @@ commands =
bash -c "{toxinidir}/tests/common/test-ansible-functional.sh"
[testenv:upgrade]
setenv =
{[testenv]setenv}
TEST_PLAYBOOK={toxinidir}/tests/test-upgrade.yml
CLONE_UPGRADE_TESTS=yes
commands =
bash -c "{toxinidir}/tests/test-zun-upgrades.sh"
[testenv:func_lxd]
setenv =
{[testenv]setenv}
ANSIBLE_OVERRIDES={toxinidir}/tests/os_zun-overrides-lxd.yml
commands =
bash -c "{toxinidir}/tests/common/test-ansible-functional.sh"
[testenv:ssl]
setenv =
{[testenv]setenv}
ANSIBLE_PARAMETERS=-vvv -e galera_use_ssl=True
commands =
bash -c "{toxinidir}/tests/common/test-ansible-functional.sh"
[testenv:linters]
commands =
bash -c "{toxinidir}/tests/common/test-ansible-env-prep.sh"

View File

@ -14,29 +14,17 @@
- project:
templates:
- openstack-ansible-role-jobs
- check-requirements
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
# TODO(jrosser) Revert this once centos-7 passes
- openstack-ansible-functional-centos-7:
voting: false
# TODO(jrosser) Revert this once opensuse-423 passes
- openstack-ansible-functional-opensuse-423:
voting: false
# TODO(jrosser) Revet this once bionic passes
- openstack-ansible-functional-ubuntu-bionic:
voting: false
- openstack-ansible-linters
- openstack-ansible-functional-ubuntu-xenial
experimental:
jobs:
- openstack-ansible-integrated-deploy-aio
gate:
jobs:
# TODO(jrosser) Revert this once centos-7 passes
- openstack-ansible-functional-centos-7:
voting: false
# TODO(jrosser) Revert this once opensuse-423 passes
- openstack-ansible-functional-opensuse-423:
voting: false
# TODO(jrosser) Revet this once bionic passes
- openstack-ansible-functional-ubuntu-bionic:
voting: false
- openstack-ansible-linters
- openstack-ansible-functional-ubuntu-xenial