Hey Ernesto, Thanks! On Mon, Feb 8, 2021 at 6:46 PM Ernesto Puerta <epuertat@redhat.com> wrote:
Hey Sunny,
Happy to hear about this effort!
Regarding the label/s, there's already this `needs-qa` label, which is basically to ask QA folks to run that PR through teuthology. Could we reuse it?
Additionally, this other 'skip-teuthology' label (we could rename it as 'skip-qa' for consistency) is to make it explicit that a PR doesn't need to go through it.
Yes sure we can use any existing labels, I was considering `next` to imply this will be marked for the next batch. There is no need for skip-label as this action will be only triggered for the PRs marked with label `next`. In addition to `next` there also will be a list of required labels (like needs-qa) and conditions(all mandatory checks passed) to be met before getting included in the next batch. If any PR(s) will not satisfy these criteria a comment with proper explanation will be made.
On the batching process, my vote is for the component-wise grouping, but I understand this might mean a significant increase in runs, right? Are you planning to introduce some 'wait' period to allow more PRs enter the batch?
Yes! component-wise will increase the number of runs. I am working to make it more like a schedule say run once or twice a day. Longer the duration, more PRs can enter the next batch.
Kind Regards, Ernesto
On Mon, Feb 8, 2021 at 12:50 PM Sunny Kumar <sunkumar@redhat.com> wrote:
Hi Folks,
I am working on GitHub action based automation for running teuthology on some batch of PRs.
Following step describes this workflow:
Step 1: Once any PR passes necessary checks( make etc) a newly introduced label `next` can be assigned to PR.
Step 2: The `next` labeled PRs will be batched together and scheduled for the next teuthology run.
The collected labels from all the batched PRs will be used for selecting the teuthology suite. Having said that, there are two options to batch and schedule a tethology run: 1. Batch all patch together 2. Batch patch component wise
Both of the above options have their pros and cons one being the high number of teuthology jobs per run if batched together and more number teuthology runs if batched component wise.
Please, let me know which option is good to go ahead with and if there are ways to improve it.
/sunny _______________________________________________ Dev mailing list -- dev@ceph.io To unsubscribe send an email to dev-leave@ceph.io