kubernetes-sigs / bom

A utility to generate SPDX-compliant Bill of Materials manifests
https://kubernetes-sigs.github.io/bom/
Apache License 2.0
329 stars 48 forks source link

Use http agent for requests #464

Closed puerco closed 1 month ago

puerco commented 1 month ago

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

This PR modifies a function that pulls data from a URL to a tmp file to use the sig release HTTP agent as the function we are using is now deprecated.

Which issue(s) this PR fixes:

This fixes the CI preventing k8s-sigs/release-utils to be updated as it pulls in a deprecated function:

https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_bom/463/pull-bom-verify/1817235153437593600

Special notes for your reviewer:

Does this PR introduce a user-facing change?

HTTP requests are now done using the HTTP agent from `sigs.k8s.io/release-utils`
k8s-ci-robot commented 1 month ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cpanato, puerco

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubernetes-sigs/bom/blob/main/OWNERS)~~ [cpanato,puerco] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment