zuul/tests
Tristan Cacqueray 2f520fe720 scheduler: fix enqueue event to use canonical project name
When trying to enqueue an event using a canonical project name, we need to
fix the doEnqueueEvent method to use the full project name. Otherwise it fails
with:

zuul.rpcclient.RPCFailure: Traceback (most recent call last):
[...]
  File "zuul/scheduler.py", line 829, in _doEnqueueEvent
    (trusted, project) = tenant.getProject(event.project_name)
  File "zuul/model.py", line 3458, in getProject
    "with a hostname" % (name,))
Exception: Project name 'openstack/tripleo-heat-templates' is ambiguous,
           please fully qualify the project with a hostname

Even when the enqueue command was done using the canonical project name.

Change-Id: I68210993ca4d5917c40df9a198f2e47dd2b0399c
2018-07-13 06:58:36 +00:00
..
fixtures scheduler: fix enqueue event to use canonical project name 2018-07-13 06:58:36 +00:00
nodepool Fix nodepool-zuul-functional 2018-02-16 15:56:02 +00:00
remote Fix log streaming for delegated hosts 2018-06-14 12:27:59 +02:00
unit scheduler: fix enqueue event to use canonical project name 2018-07-13 06:58:36 +00:00
__init__.py Add non-voting jobs. 2012-08-23 23:20:09 +00:00
base.py Add test facility to add file contents in github tests 2018-07-09 09:51:02 +02:00
encrypt_secret.py Make tests' encrypt_secret.py work with python3 2017-10-19 18:09:57 +00:00
fakegithub.py Merge "github: prevent AttributeError when missing branch protection" 2018-07-11 20:55:45 +00:00
make_playbooks.py Use libyaml if possible 2017-04-04 11:49:05 -07:00
print_layout.py Do not add implied branch matchers in project-templates 2017-09-30 10:19:07 -07:00