DPDK CI discussions
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add a script to create series artifacts
@ 2024-01-12 22:40 Adam Hassick
  2024-01-12 22:40 ` [PATCH v2 1/2] tools: Add script to create artifacts Adam Hassick
  2024-01-12 22:40 ` [PATCH v2 2/2] config: Add example config file Adam Hassick
  0 siblings, 2 replies; 4+ messages in thread
From: Adam Hassick @ 2024-01-12 22:40 UTC (permalink / raw)
  To: ci; +Cc: Adam Hassick

The process of applying patches and bundling the source code into an
archive varies across testing labs. Historically, the process for
applying patches at the Community Lab was not visible to the broader
community and was inextricable from lab infrastructure. The new script
introduced in this patch aims to resolve these issues. This script is
intended to serve as a reference process for creating series artifacts.
A "series artifact" is an archive containing a copy of the DPDK source
code with a patch series applied. We perform a test build prior to
creating the archive as well. At the Community Lab, these archives are
used for all of our tests. At the time of writing, this script is being
used in production.

The script depends on the "pw_maintainers_cli" and patch parser scripts
in the CI repository. It also depends on pygit2 for managing the DPDK
repository, pyyaml for parsing the configuration file, and git_pw for
pulling in the series as a patch file.

This script does not implement handling of the dependency labels. There
is an ongoing effort to get this implemented into Patchwork as a
feature.
---

v1:
* Add script to create artifacts
* Add example config file

v2:
* Add a branch mapping from tree names to branches on GitHub
* Untangled dataclass and argument parsing code
* Add retry loop around cloning the repository
* Removed a couple subprocess calls
* Add an example to the description text

Adam Hassick (2):
  tools: Add script to create artifacts
  config: Add example config file

 config/artifacts.yml            |  22 ++
 tools/create_series_artifact.py | 472 ++++++++++++++++++++++++++++++++
 2 files changed, 494 insertions(+)
 create mode 100644 config/artifacts.yml
 create mode 100755 tools/create_series_artifact.py

-- 
2.43.0


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

end of thread, other threads:[~2024-01-15 13:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-12 22:40 [PATCH v2 0/2] Add a script to create series artifacts Adam Hassick
2024-01-12 22:40 ` [PATCH v2 1/2] tools: Add script to create artifacts Adam Hassick
2024-01-15 13:07   ` Juraj Linkeš
2024-01-12 22:40 ` [PATCH v2 2/2] config: Add example config file Adam Hassick

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).