-
Notifications
You must be signed in to change notification settings - Fork 32
Feat: send input files ref to kcidb, add input files to maestro "artifacts" field #1140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Feat: send input files ref to kcidb, add input files to maestro "artifacts" field #1140
Conversation
a01d1d5
to
5497db3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have some nitpicking, which you can select on your discretion, but consider also that we could, otherwise, rename _get_output_files
to something like _filter_artifacts
and pass
exclude_properties=[f"input_{i}" for i in INPUT_FILE_TYPES]
to avoid adding the duplicated code within _get_input_files
5497db3
to
37ed033
Compare
Thanks @tales-aparecida for the suggestions! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not to abuse your patience, but here's more nit picking
Signed-off-by: Simone Tollardo <[email protected]>
Signed-off-by: Simone Tollardo <[email protected]>
Signed-off-by: Simone Tollardo <[email protected]>
…ts input and output files Signed-off-by: Simone Tollardo <[email protected]>
91331a3
to
81ff54a
Compare
parsed_test_node['output_files'] = self._get_output_files( | ||
parsed_test_node['input_files'] = self._filter_artifacts( | ||
artifacts=artifacts, | ||
include_properties=('input_') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
include_properties=('input_') | |
include_properties=('input_',) |
This PR complements what added in kernelci/kcidb-io#99 and kernelci/kcidb#635, allowing to send reference to input files to kcidb as well as input files to "artifacts" field in maestro.
This PR requires kernelci/kernelci-core#2872.