system-config/playbooks/zuul/templates/gate-groups.yaml.j2
Ian Wienand d4c46ecdef
Abstract name of bastion host for testing path
This replaces hard-coding of the host "bridge.openstack.org" with
hard-coding of the first (and only) host in the group "bastion".

The idea here is that we can, as much as possible, simply switch one
place to an alternative hostname for the bastion such as
"bridge.opendev.org" when we upgrade.  This is just the testing path,
for now; a follow-on will modify the production path (which doesn't
really get speculatively tested)

This needs to be defined in two places :

 1) We need to define this in the run jobs for Zuul to use in the
    playbooks/zuul/run-*.yaml playbooks, as it sets up and collects
    logs from the testing bastion host.

 2) The nested Ansible run will then use inventory
    inventory/service/groups.yaml

Various other places are updated to use this abstracted group as the
bastion host.

Variables are moved into the bastion group (which only has one host --
the actual bastion host) which means we only have to update the group
mapping to the new host.

This is intended to be a no-op change; all the jobs should work the
same, but just using the new abstractions.

Change-Id: Iffb462371939989b03e5d6ac6c5df63aa7708513
2022-10-20 09:00:43 +11:00

32 lines
774 B
Django/Jinja

# This is just to ensure nodes only defined in system-config-run-base
# for gate jobs are put in the right groups for testing
plugin: yamlgroup
groups:
docker:
- bionic-docker
certcheck:
- bridge[0-9]*.open*.org
letsencrypt:
- letsencrypt01.opendev.org
- letsencrypt02.opendev.org
- mirror01.openafs.provider.opendev.org
- mirror02.openafs.provider.opendev.org
borg-backup-server:
- borg-backup01.region.provider.opendev.org
borg-backup:
- borg-backup-bionic.opendev.org
- borg-backup-focal.opendev.org
- borg-backup-jammy.opendev.org
kerberos-kdc:
- kdc-primary.opendev.org
- kdc-replica.opendev.org
kerberos-kdc-primary:
- kdc-primary.opendev.org
kerberos-kdc-replica:
- kdc-replica.opendev.org