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
> 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
© 2016 - 2024 Red Hat, Inc.