Use the dynamic aio scenario

Rather than have to define a job per non-aio service, we have
zuul introspect the origin test repo and add the service name
to the scenario variable on the fly. This allows us to simplify
our job definitions and simply use the AIO job template for all
repositories.

Depends-On: https://review.opendev.org/669894/
Change-Id: If5bee358089562669ebfa4b967d0bfc8f68695e0
This commit is contained in:
Jesse Pretorius 2019-05-10 19:25:04 +01:00 committed by Jean-Philippe Evrard
parent ef7d00f085
commit 15453cb82c
2 changed files with 2 additions and 87 deletions

View File

@ -1,69 +0,0 @@
---
#
# 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-deploy-aio_metal_mistral-centos-7
parent: openstack-ansible-deploy-aio
nodeset: centos-7
vars:
action: deploy
scenario: aio_metal_mistral
- job:
name: openstack-ansible-deploy-aio_metal_mistral-opensuse-150
parent: openstack-ansible-deploy-aio
nodeset: opensuse-150
vars:
action: deploy
scenario: aio_metal_mistral
- job:
name: openstack-ansible-deploy-aio_metal_mistral-ubuntu-bionic
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
vars:
action: deploy
scenario: aio_metal_mistral
- job:
name: openstack-ansible-deploy-aio_distro_metal_mistral-centos-7
parent: openstack-ansible-deploy-aio
nodeset: centos-7
vars:
action: deploy
scenario: aio_distro_metal_mistral
- job:
name: openstack-ansible-deploy-aio_distro_metal_mistral-opensuse-150
parent: openstack-ansible-deploy-aio
nodeset: opensuse-150
vars:
action: deploy
scenario: aio_distro_metal_mistral
- job:
name: openstack-ansible-deploy-aio_distro_metal_mistral-ubuntu-bionic
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
vars:
action: deploy
scenario: aio_distro_metal_mistral
- job:
name: openstack-ansible-deploy-aio_metal_mistral-debian-stable
parent: openstack-ansible-deploy-aio
nodeset: debian-stable
vars:
action: deploy
scenario: aio_metal_mistral

View File

@ -16,23 +16,7 @@
templates:
- check-requirements
- openstack-ansible-linters
- openstack-ansible-deploy-aio_distro_metal-jobs
- openstack-ansible-deploy-aio_metal-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- openstack-ansible-deploy-aio_metal_mistral-centos-7
- openstack-ansible-deploy-aio_metal_mistral-debian-stable
- openstack-ansible-deploy-aio_metal_mistral-ubuntu-bionic
- openstack-ansible-deploy-aio_distro_metal_mistral-centos-7
- openstack-ansible-deploy-aio_distro_metal_mistral-ubuntu-bionic
gate:
jobs:
- openstack-ansible-deploy-aio_metal_mistral-centos-7
- openstack-ansible-deploy-aio_metal_mistral-debian-stable
- openstack-ansible-deploy-aio_metal_mistral-ubuntu-bionic
- openstack-ansible-deploy-aio_distro_metal_mistral-centos-7
- openstack-ansible-deploy-aio_distro_metal_mistral-ubuntu-bionic
experimental:
jobs:
- openstack-ansible-deploy-aio_metal_mistral-opensuse-150
- openstack-ansible-deploy-aio_distro_metal_mistral-opensuse-150