DPDK CI discussions
 help / color / mirror / Atom feed
* [RFC v2 0/3] Add a recheck framework to pw-ci
@ 2023-11-07 20:31 Aaron Conole
  2023-11-07 20:31 ` [RFC v2 1/3] pw_mon: improve command line options Aaron Conole
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Aaron Conole @ 2023-11-07 20:31 UTC (permalink / raw)
  To: ci
  Cc: Michael Santana, David Marchand, Thomas Monjalon, Patrick Robb,
	Dumitru Ceara

This allows users to send repsonse emails to patches and force
rebuilds of the workflow in github actions.

This has been tested with the following:

for recheck in $(./recheck_tool --pw-project=dpdk \
                                --pw-instance=patches.dpdk.org \
                                --filter=github-robot --state=1 | \
                                jq -rc '.rechecks[]'); do
    ./github_restart --pw-project=dpdk --pw-instance=patches.dpdk.org \
                     --series-id=$(echo "$recheck" | \
                                  jq -rc '.series_id') \
                     --repository=ovsrobot/dpdk \
                     --sha=$(echo "$recheck" | jq -rc '.sha') \
                     --github-token=XXXXXXXX
done

And succesffully rebuilt 6457922075 from series 29774 which does have
a recheck-request (we used the iol-unit-amd64-testing filter to do
the test).

To be added is a way to filter on specific workflows so we don't
restart all workflows associated with the run for those projects which
have more than one workflow.

This can be combined with a second call of the recheck tool to advance
the state.  When the series id is provided, the tool will update the
gap_sync column for the specific row and future calls to
github_monitor script will then scan the new run.

Aaron Conole (3):
  pw_mon: improve command line options
  recheck: Add a recheck parser for patchwork comments
  github: add a tool for restarting checks

 github_restart   | 141 +++++++++++++++++++++++++++++++++++++++++++++++
 pw_mon           | 123 ++++++++++++++++++++++++++++++++++++-----
 recheck_tool     | 100 +++++++++++++++++++++++++++++++++
 series_db_lib.sh |  80 ++++++++++++++++++++++++++-
 4 files changed, 428 insertions(+), 16 deletions(-)
 create mode 100755 github_restart
 create mode 100755 recheck_tool

-- 
2.41.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-11-17 22:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-07 20:31 [RFC v2 0/3] Add a recheck framework to pw-ci Aaron Conole
2023-11-07 20:31 ` [RFC v2 1/3] pw_mon: improve command line options Aaron Conole
2023-11-17 16:26   ` Michael Santana
2023-11-17 19:28     ` Aaron Conole
2023-11-07 20:31 ` [RFC v2 2/3] recheck: Add a recheck parser for patchwork comments Aaron Conole
2023-11-09 20:45   ` Dumitru Ceara
2023-11-10 14:05     ` Aaron Conole
2023-11-17 16:35   ` Michael Santana
2023-11-17 19:28     ` Aaron Conole
2023-11-07 20:31 ` [RFC v2 3/3] github: add a tool for restarting checks Aaron Conole
2023-11-17 16:47   ` Michael Santana
2023-11-17 19:31     ` Aaron Conole
2023-11-17 22:20       ` Michael Santana

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).