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

Paolo Bonzini posted 1 patch 5 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/patchew next tags/patchew/20190304085710.9573-1-pbonzini@redhat.com
scripts/playbooks/deploy-testers.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[Patchew-devel] [PATCH v2] deploy: use --no-wait -N 1 for testers
Posted by Paolo Bonzini 5 years, 7 months ago
This avoids long running processes, and makes it easier to deploy updated
testers.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 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@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel
Re: [Patchew-devel] [PATCH v2] deploy: use --no-wait -N 1 for testers
Posted by Fam Zheng 5 years, 7 months ago

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

Reviewed-by: Fam Zheng <fam@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@redhat.com
> https://www.redhat.com/mailman/listinfo/patchew-devel



_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel