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 remove the 'ssl' job, given that the person working on
   that is no longer doing so, and no-one else has picked up
   the work.
2. We revert the use of project templates to using job config
   directly, given that nothing other than Ubuntu is supported.

Depends-On: https://review.openstack.org/600906
Change-Id: Icc88c81c5c8247a4f511819d38b08ac1cf5262e5
This commit is contained in:
Jesse Pretorius 2018-09-07 14:58:36 +01:00 committed by Jesse Pretorius (odyssey4me)
parent 7266fe2197
commit 9a2f843dc1
3 changed files with 9 additions and 49 deletions

View File

@ -93,14 +93,6 @@ 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

@ -1,21 +0,0 @@
---
# Copyright 2017, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- job:
name: openstack-ansible-ironic-ssl-nv
parent: openstack-ansible-functional-ubuntu-xenial
voting: false
vars:
tox_env: ssl

View File

@ -14,30 +14,19 @@
- project:
templates:
- openstack-ansible-role-jobs
- check-requirements
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- openstack-ansible-ironic-ssl-nv
# TODO(jrosser) Revert this once centos-7 passes
- openstack-ansible-functional-centos-7:
voting: false
# TODO(jrosser) Revert this once opensuse-150 passes
- openstack-ansible-functional-opensuse-150:
voting: false
# TODO(jrosser) Revert this once opensuse-423 passes
- openstack-ansible-functional-opensuse-423:
voting: false
- openstack-ansible-linters
- openstack-ansible-functional-ubuntu-xenial
- openstack-ansible-functional-ubuntu-bionic
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-150 passes
- openstack-ansible-functional-opensuse-150:
voting: false
# TODO(jrosser) Revert this once opensuse-423 passes
- openstack-ansible-functional-opensuse-423:
voting: false
- openstack-ansible-linters
- openstack-ansible-functional-ubuntu-xenial
- openstack-ansible-functional-ubuntu-bionic