[Patchew-devel] [PATCH v2] deploy: use --no-wait -N 1 for testers

Fam Zheng fam at euphon.net
Wed Mar 6 07:43:15 UTC 2019



> On Mar 4, 2019, at 16:57, Paolo Bonzini <pbonzini at redhat.com> wrote:
> 
> This avoids long running processes, and makes it easier to deploy updated
> testers.
> 
> Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>

Reviewed-by: Fam Zheng <fam at euphon.net>

> ---
> scripts/playbooks/deploy-testers.yml | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/scripts/playbooks/deploy-testers.yml b/scripts/playbooks/deploy-testers.yml
> index a875d99..c7d7fbb 100644
> --- a/scripts/playbooks/deploy-testers.yml
> +++ b/scripts/playbooks/deploy-testers.yml
> @@ -68,5 +68,5 @@
>     - cron:
>         name: "Patchew tester {{ instance_name }}"
>         user: "{{ cron_user }}"
> -        minute: "*/10"
> -        job: "{ {{ patchew_cmd }} login {{ tester_user }} $(cat {{ base_dir }}/patchew-tester-pass); {{ patchew_cmd }} tester --name {{ instance_name }} --singleton -p {{ tester_project }}; } >>{{ base_dir }}/log 2>&1"
> +        minute: "*/3"
> +        job: "{ {{ patchew_cmd }} login {{ tester_user }} $(cat {{ base_dir }}/patchew-tester-pass); {{ patchew_cmd }} tester --name {{ instance_name }} --singleton -N 1 --no-wait -p {{ tester_project }}; } >>{{ base_dir }}/log 2>&1"
> -- 
> 2.20.1
> 
> _______________________________________________
> Patchew-devel mailing list
> Patchew-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/patchew-devel






More information about the Patchew-devel mailing list