zuul-jobs/roles/zuul-tenant-conf-check
James E. Blair 73bdf1f2df Add zuul-tenant-conf-check role/job
This performs static validation of Zuul tenant config files.

Change-Id: I5d439d6cfb963e55d07b2a0058de76f030fe47b3
2024-02-01 15:56:29 -08:00
..
defaults Add zuul-tenant-conf-check role/job 2024-02-01 15:56:29 -08:00
tasks Add zuul-tenant-conf-check role/job 2024-02-01 15:56:29 -08:00
README.rst Add zuul-tenant-conf-check role/job 2024-02-01 15:56:29 -08:00

Run the zuul-admin tenant-conf-check command.

This requires a partial zuul.conf (it only needs the connection entries, and those without any credential information) and a tenant config file. It will validate the syntax of the tenant config file (but not the job configuration of any projects in the tenants).

Role Variables

The path to the partial zuul.conf to use. This must contain the connection entries, but no credentials are required. Any other sections are ignored.

The path to the tenant config file to check.

An optional value, expected in the form of a secret, that supplies credential information if zuul_tenant_conf_check_image is in a registry that requires authentication. The format is a dictionary keyed by the registry name. Example:

zuul_tenant_conf_check_registry_credentials:
  docker.io:
    username: 'username'
    password: 'password'

The dictionary key should be the name of the registry

The registry username.

The registry password.