[OpenStack-Infra] [openstack-dev] [cinder] How to configure the third party CI to be triggered only when jenkins +1

liuxinguo liuxinguo at huawei.com
Wed Feb 24 10:20:55 UTC 2016


In layout.yaml:
Delete:
      - event: patchset-created
And add:  
      - event: comment-added
          require-approval:
            - verified: 1
              username: Jenkins

Works for me now, thanks for all your input!
Wilson Liu

-----邮件原件-----
发件人: Mikhail Medvedev [mailto:mihailmed at gmail.com] 
发送时间: 2016年2月23日 20:35
收件人: OpenStack Development Mailing List (not for usage questions)
抄送: OpenStack Infra; Luozhen
主题: Re: [OpenStack-Infra] [openstack-dev] [cinder] How to configure the third party CI to be triggered only when jenkins +1

On Mon, Feb 22, 2016 at 7:32 PM, liuxinguo <liuxinguo at huawei.com> wrote:
> Hi,
>
>
>
> There is no need to trigger third party CI if a patch does not pass 
> Jenkins Verify.
>
> I think there is a way to reach this but I’m not sure how.
>
>
>
> So is there any reference or suggestion to configure the third party 
> CI to be triggered only when jenkins +1?
>
>

If you are using zuul, then you should look into 'approval' setting in layout. E.g. check the current layout that Infra uses for gate
pipeline: https://github.com/openstack-infra/project-config/blob/6b71e8cac676e04141839eeecce3462df3a04848/zuul/layout.yaml#L41-L46.

>
> Thanks for any input!
>
>
>
> Regards,
>
> Wilson Liu
>
>
>
>
>
>
> ______________________________________________________________________
> ____ OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: 
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>

_______________________________________________
OpenStack-Infra mailing list
OpenStack-Infra at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra


More information about the OpenStack-Infra mailing list