zuul/tests/fixtures/config
James E. Blair e74f571085 Do not add implied branch matchers in project-templates
We parse the project-pipeline definition of a job at the location
of the project-pipeline.  This includes both 'project' stanzas and
'project-templates' which are parsed in exactly the same way.  This
normally gives us the behavior we expect in that the job variants
defined by the project or project-template appear to be defined in
the location of the project or project-template.  However, in one
case, we want a 'late-binding' rather than 'early-binding' behavior.

When it comes to calculating implied branch matchers, we want to
use the value that would be derived if there were no project-template,
and instead the job were simply defined on the project stanza itself.

What is intended to happen is that project-pipeline job variants in
a config project should never have implied branch matchers (since
config projects don't have more than one branch).  However, project-
pipeline job variants on in-repo project stazas should get an implied
branch matcher for the branch it's defined on.  This is how we end up
with behavior where the project definition in a project's master branch
controls behavior only on the master branch (unless branches are
explicitly specified), and the definition in a stable branch controls
only the stable branch.

That behavior should happen regardless of where a project-template is
defined.  Currently we are setting an implied branch matcher for job
variants in a project template at the location of definition.  Instead,
set them when the job is actually used in a project.

Change-Id: I5c8fbb3e0a2ecfac8bd95795be002e8cd15e61db
2017-09-30 10:19:07 -07:00
..
ansible Add job.nodeset parameter to supercede job.nodes 2017-09-21 13:41:11 -07:00
base-jobs Add comments about base jobs 2017-08-08 12:44:59 -07:00
broken Case sensitive label matching 2017-07-27 07:46:35 +02:00
conflict-config Require a base job 2017-08-07 14:52:37 -07:00
data-return Rename allow-secrets to post-review 2017-08-11 10:40:48 -07:00
dependency-graph Require a base job 2017-08-07 14:52:37 -07:00
disk-accountant Rename allow-secrets to post-review 2017-08-11 10:40:48 -07:00
duplicate-pipeline Require a base job 2017-08-07 14:52:37 -07:00
final Expose final job attribute 2017-08-10 09:13:51 -07:00
git-driver Require a base job 2017-08-07 14:52:37 -07:00
implicit-roles Require a base job 2017-08-07 14:52:37 -07:00
in-repo Fix dynamic dependent pipeline failure 2017-09-06 12:01:15 -07:00
in-repo-join Fix dynamic dependent pipeline failure 2017-09-06 12:01:15 -07:00
inventory Add job.nodeset parameter to supercede job.nodes 2017-09-21 13:41:11 -07:00
job-output Add a test to verify basic console output 2017-08-23 10:14:58 -07:00
merge-modes/git/common-config/playbooks Merge "Add playbooks for all test jobs" into feature/zuulv3 2017-02-06 16:45:58 +00:00
merges Require a base job 2017-08-07 14:52:37 -07:00
multi-driver Require a base job 2017-08-07 14:52:37 -07:00
multi-tenant Add job.nodeset parameter to supercede job.nodes 2017-09-21 13:41:11 -07:00
multi-tenant-semaphore Require a base job 2017-08-07 14:52:37 -07:00
openstack Add job.nodeset parameter to supercede job.nodes 2017-09-21 13:41:11 -07:00
pre-playbook Rename allow-secrets to post-review 2017-08-11 10:40:48 -07:00
push-reqs Require a base job 2017-08-07 14:52:37 -07:00
requirements Require a base job 2017-08-07 14:52:37 -07:00
roles Require a base job 2017-08-07 14:52:37 -07:00
secret-leaks Test that secrets don't leak into logs 2017-08-15 13:53:07 -07:00
semaphore Require a base job 2017-08-07 14:52:37 -07:00
shadow Require a base job 2017-08-07 14:52:37 -07:00
single-tenant Add job.nodeset parameter to supercede job.nodes 2017-09-21 13:41:11 -07:00
split-config Require a base job 2017-08-07 14:52:37 -07:00
sql-driver Fix sql reporting start/end times 2017-09-28 17:10:25 -07:00
streamer Require a base job 2017-08-07 14:52:37 -07:00
success-url Require a base job 2017-08-07 14:52:37 -07:00
templated-project Do not add implied branch matchers in project-templates 2017-09-30 10:19:07 -07:00
tenant-parser Require a base job 2017-08-07 14:52:37 -07:00
unprotected-branches Require a base job 2017-08-07 14:52:37 -07:00
zuul-connections-multiple-gerrits Require a base job 2017-08-07 14:52:37 -07:00
zuul-connections-same-gerrit Require a base job 2017-08-07 14:52:37 -07:00
zuultrigger Require a base job 2017-08-07 14:52:37 -07:00