Skip to content

Commit

Permalink
koji-upload: Change artifact used to store the rpm list
Browse files Browse the repository at this point in the history
 - To store the rpm list in Brew we need to link it to an
artifact, let's change it from qemu (1 GB) to the
commitmeta.json (60 KB) due the size.
 - The rpm list is also generated from commitmeta.json, what
make sense to have it instead.

Signed-off-by: Renata Ravanelli <rravanel@redhat.com>
  • Loading branch information
ravanelli committed May 30, 2023
1 parent 11e41a7 commit dd7315e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd-koji-upload
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ class Upload(_KojiBase):
for _, value in (self.build).get_artifacts():
file_output = self.get_file_meta(value)
if file_output is not None:
if "qcow2" in value['upload_path']:
if "commitmeta.json" in value['upload_path']:
file_output["components"] = self.build.get_rpm_list()
outputs.append(file_output)
self._image_files = outputs
Expand Down

0 comments on commit dd7315e

Please sign in to comment.