zuul/tests/fixtures/config/multi-tenant/main.yaml
James E. Blair 61e5c3a0f9 Add disallowed-labels tenant option
To allow a tenant to use any labels *except* some pattern, add the
disallowed-labels tenant option.  Both this and the allowed-labels
option use re2, and therefore lookahead assertions are not supported.
A complimentary option to allowed-labels is the only way to support
this use case.

Change-Id: Ic722b1d2b0b609ec7de583dab159094159f00630
2020-02-05 07:36:47 -08:00

42 lines
843 B
YAML

- tenant:
name: tenant-one
max-job-timeout: 1800
allowed-reporters:
- gerrit
allowed-labels:
- tenant-one-.*
- ubuntu-trusty
- fake
source:
gerrit:
config-projects:
- common-config
- tenant-one-config
untrusted-projects:
- org/project1
- tenant:
name: tenant-two
max-nodes-per-job: 10
allowed-triggers: gerrit
disallowed-labels:
- tenant-one-.*
source:
gerrit:
config-projects:
- common-config
- tenant-two-config
untrusted-projects:
- org/project2
- tenant:
name: tenant-three
max-nodes-per-job: 10
allowed-triggers: gerrit
source:
gerrit:
config-projects:
- common-config
untrusted-projects:
- org/project3