fluent / fluent-package-builder

td-agent (Fluentd) Building and Packaging System
Apache License 2.0
22 stars 23 forks source link

Improve downloading artifiacts procedure #585

Closed kenhys closed 8 months ago

kenhys commented 10 months ago

Problem

downloading artifacts procedure is not automated yet.

Expected

automate downloading prebuilt artifacts and integrate repository easily.

kenhys commented 10 months ago

https://docs.github.com/en/rest/actions/artifacts?apiVersion=2022-11-28 may fit for us.

kenhys commented 10 months ago

If head_branch and head_sha is determined, we can filter response.

kenhys commented 10 months ago

Note archive_download_page must access with Authorization: for download.

kenhys commented 10 months ago

changed interface to more simple one such as:

$ ./manage-fluent-repositories.sh download-artifacts https://github.com/fluent/fluent-package-builder/pull/587