From 456749ef9764c149b6319a8fd1a2d43ac6305553 Mon Sep 17 00:00:00 2001 From: Arx Cruz Date: Tue, 20 Nov 2018 16:37:43 +0100 Subject: [PATCH] Add centos-7 job with support to python-tempestconf Since os_tempest already have support to python-tempestconf, adding a job that test it on check and gate. Change-Id: I2ae6057d197a7f7f40b2bb544dc2381ab8044aed --- tox.ini | 7 +++++++ zuul.d/jobs.yaml | 20 ++++++++++++++++++++ zuul.d/project.yaml | 6 ++++++ 3 files changed, 33 insertions(+) create mode 100644 zuul.d/jobs.yaml diff --git a/tox.ini b/tox.ini index 14cc30bd..ca8d04f4 100644 --- a/tox.ini +++ b/tox.ini @@ -90,6 +90,13 @@ 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 = diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml new file mode 100644 index 00000000..36e661f2 --- /dev/null +++ b/zuul.d/jobs.yaml @@ -0,0 +1,20 @@ +# Copyright 2018, Red Hat, 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-functional-tempestconf-centos-7 + parent: openstack-ansible-functional + nodeset: centos-7 + vars: + tox_env: tempestconf diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index 12a420c8..5c4d31f1 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -19,3 +19,9 @@ - publish-openstack-docs-pti - release-notes-jobs-python3 - openstack-ansible-role-distro_install-jobs + check: + jobs: + - openstack-ansible-functional-tempestconf-centos-7 + gate: + jobs: + - openstack-ansible-functional-tempestconf-centos-7