2 Commits

Author SHA1 Message Date
James E. Blair
d9252e7b28 Consolidate zuul_connection variable
All zuul.conf files can have the same contents, including the
connection information.  To reduce the chances of error, set
it in only one place.

If some entries in zuul_connections_secrets aren't available
(because they are specified in a narrower group), we simply won't
include them in the zuul.conf file for that group.  That should
be fine.

Change-Id: I446f531162f409e7479eb904251d0c75b9a6e8ff
2020-06-08 14:48:49 -07:00
Monty Taylor
83ced7f6e6 Split inventory into multiple dirs and move hostvars
Make inventory/service for service-specific things, including the
groups.yaml group definitions, and inventory/base for hostvars
related to the base system, including the list of hosts.

Move the exisitng host_vars into inventory/service, since most of
them are likely service-specific. Move group_vars/all.yaml into
base/group_vars as almost all of it is related to base things,
with the execption of the gerrit public key.

A followup patch will move host-specific values into equivilent
files in inventory/base.

This should let us override hostvars in gate jobs. It should also
allow us to do better file matchers - and to be able to organize
our playbooks move if we want to.

Depends-On: https://review.opendev.org/731583
Change-Id: Iddf57b5be47c2e9de16b83a1bc83bee25db995cf
2020-06-04 07:44:36 -05:00