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: I9c1b192cc8957cc83186d704b7c48eb186d144aa
This commit is contained in:
Jesse Pretorius 2019-05-10 18:54:52 +01:00
parent ed8abbbbb1
commit d88f3c41ef
2 changed files with 2 additions and 88 deletions

View File

@ -1,72 +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_heat-centos-7
parent: openstack-ansible-deploy-aio
nodeset: centos-7
vars:
action: deploy
scenario: aio_metal_heat
- job:
name: openstack-ansible-deploy-aio_distro_metal_heat-centos-7
parent: openstack-ansible-deploy-aio
nodeset: centos-7
vars:
action: deploy
scenario: aio_metal_heat
install_method: distro
- job:
name: openstack-ansible-deploy-aio_metal_heat-opensuse-150
parent: openstack-ansible-deploy-aio
nodeset: opensuse-150
vars:
action: deploy
scenario: aio_metal_heat
- job:
name: openstack-ansible-deploy-aio_distro_metal_heat-opensuse-150
parent: openstack-ansible-deploy-aio
nodeset: opensuse-150
vars:
action: deploy
scenario: aio_metal_heat
install_method: distro
- job:
name: openstack-ansible-deploy-aio_metal_heat-ubuntu-bionic
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
vars:
action: deploy
scenario: aio_metal_heat
- job:
name: openstack-ansible-deploy-aio_distro_metal_heat-ubuntu-bionic
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
vars:
action: deploy
scenario: aio_metal_heat
install_method: distro
- job:
name: openstack-ansible-deploy-aio_metal_heat-debian-stable
parent: openstack-ansible-deploy-aio
nodeset: debian-stable
vars:
action: deploy
scenario: aio_metal_heat

View File

@ -17,21 +17,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_heat-centos-7
- openstack-ansible-deploy-aio_metal_heat-debian-stable
- openstack-ansible-deploy-aio_metal_heat-ubuntu-bionic
gate:
jobs:
- openstack-ansible-deploy-aio_metal_heat-centos-7
- openstack-ansible-deploy-aio_metal_heat-debian-stable
- openstack-ansible-deploy-aio_metal_heat-ubuntu-bionic
experimental:
jobs:
- openstack-ansible-deploy-aio_distro_metal_heat-centos-7
- openstack-ansible-deploy-aio_distro_metal_heat-opensuse-150
- openstack-ansible-deploy-aio_distro_metal_heat-ubuntu-bionic
- openstack-ansible-deploy-aio_metal_heat-opensuse-150