[OpenStack-Infra] How do I run "zuul_return" if tests are failed on Zuul v3?

Tobias Henkel tobias.henkel at bmw.de
Mon Nov 13 06:20:26 UTC 2017


Hi,


On 11/13/2017 06:50 AM, Rikimaru Honjo wrote:
> I give some supplementary additional explanation to my question.
>
> On 2017/11/08 18:49, Rikimaru Honjo wrote:
>> Hello,
>>
>> * I'm using Zuul v3 ver.2.5.3.dev1585.
>>
>> I created a job which runs following two tasks for zuul v3.[1]
>>
>> 1. Run tests on remote host which is created by Nodepool.
>>     (In this time, "hosts" value is "all".)
>> 2. Run zuul_return on localhost where is zuul-executor.
>>     And, submit a URL of logs specified as "log_url" attribute to 
>> gerrit.
>>     (In this time, "hosts" value is "localhost".)
You can use 'delegate-to: localhost' instead of running directly against 
localhost in the second step. That way you both have the vars of 'all'
  and run on localhost.

Tobias



More information about the OpenStack-Infra mailing list