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/658398
Change-Id: I8a957f38377e36b18fecb950504f2a0cd400b00c
This commit is contained in:
Jesse Pretorius 2019-05-10 18:52:12 +01:00
parent 5bf11d06fd
commit e4187c829a
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_designate-centos-7
parent: openstack-ansible-deploy-aio
nodeset: centos-7
vars:
action: deploy
scenario: aio_metal_designate
- job:
name: openstack-ansible-deploy-aio_metal_designate-opensuse-150
parent: openstack-ansible-deploy-aio
nodeset: opensuse-150
vars:
action: deploy
scenario: aio_metal_designate
- job:
name: openstack-ansible-deploy-aio_metal_designate-ubuntu-bionic
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
vars:
action: deploy
scenario: aio_metal_designate
- job:
name: openstack-ansible-deploy-aio_distro_metal_designate-centos-7
parent: openstack-ansible-deploy-aio
nodeset: centos-7
vars:
action: deploy
scenario: aio_distro_metal_designate
- job:
name: openstack-ansible-deploy-aio_distro_metal_designate-opensuse-150
parent: openstack-ansible-deploy-aio
nodeset: opensuse-150
vars:
action: deploy
scenario: aio_distro_metal_designate
- job:
name: openstack-ansible-deploy-aio_distro_metal_designate-ubuntu-bionic
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
vars:
action: deploy
scenario: aio_distro_metal_designate
- job:
name: openstack-ansible-deploy-aio_metal_designate-debian-stable
parent: openstack-ansible-deploy-aio
nodeset: debian-stable
vars:
action: deploy
scenario: aio_metal_designate

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_designate-centos-7
- openstack-ansible-deploy-aio_metal_designate-debian-stable
- openstack-ansible-deploy-aio_metal_designate-ubuntu-bionic
- openstack-ansible-deploy-aio_distro_metal_designate-centos-7
- openstack-ansible-deploy-aio_distro_metal_designate-ubuntu-bionic
gate:
jobs:
- openstack-ansible-deploy-aio_metal_designate-centos-7
- openstack-ansible-deploy-aio_metal_designate-debian-stable
- openstack-ansible-deploy-aio_metal_designate-ubuntu-bionic
- openstack-ansible-deploy-aio_distro_metal_designate-centos-7
- openstack-ansible-deploy-aio_distro_metal_designate-ubuntu-bionic
experimental:
jobs:
- openstack-ansible-deploy-aio_metal_designate-opensuse-150
- openstack-ansible-deploy-aio_distro_metal_designate-opensuse-150