Adapt tempestconf job to use integrated repo

Adapt the tempestconf job to use a variant of the integrated repo's
AIO test job.

Change-Id: Ib05c78339c25da8b3510f363e710992fd95bbeee
This commit is contained in:
Logan V 2019-05-27 12:32:46 -05:00
parent c1b1399ddd
commit 62aa6923e6
4 changed files with 30 additions and 15 deletions

View File

@ -90,14 +90,6 @@ basepython = python3
commands =
bash -c "{toxinidir}/tests/common/test-ansible-lint.sh"
[testenv:tempestconf]
setenv =
{[testenv]setenv}
ANSIBLE_PARAMETERS=-e tempest_use_tempestconf=true
commands =
bash -c "{toxinidir}/tests/common/test-ansible-functional.sh"
[testenv:functional]
commands =
bash -c "{toxinidir}/tests/common/test-ansible-functional.sh"

View File

@ -13,8 +13,7 @@
# limitations under the License.
- job:
name: openstack-ansible-functional-tempestconf-centos-7
parent: openstack-ansible-functional
nodeset: centos-7
vars:
tox_env: tempestconf
name: openstack-ansible-deploy-aio_distro_metal_tempestconf-centos-7
parent: openstack-ansible-deploy-aio_distro_metal-centos-7
pre-run:
- zuul.d/playbooks/pre-tempestconf.yml

View File

@ -0,0 +1,24 @@
---
# Copyright 2019, Logan Vig <logan2211@gmail.com>
#
# 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.
- hosts: all[0]
become: yes
tasks:
- name: Configure the tempestconf settings
copy:
content: |
---
tempest_use_tempestconf: true
dest: /etc/openstack_deploy/user_variables_tempest.yml

View File

@ -23,9 +23,9 @@
- release-notes-jobs-python3
check:
jobs:
- openstack-ansible-functional-tempestconf-centos-7
- openstack-ansible-deploy-aio_distro_metal_tempestconf-centos-7
- tripleo-ci-centos-7-standalone-os-tempest
gate:
jobs:
- openstack-ansible-functional-tempestconf-centos-7
- openstack-ansible-deploy-aio_distro_metal_tempestconf-centos-7
- tripleo-ci-centos-7-standalone-os-tempest