|author||kochera <email@example.com>||Fri Sep 09 11:02:40 2022 +0000|
|committer||Michael Kochera <firstname.lastname@example.org>||Fri Sep 09 20:20:56 2022 +0000|
Change pip installation to use requirements.txt with hashes Manifest files like requirements.txt are required for all python dependencies to ensure accurate vulnerability scanning among other things. The main steps for developing the requirments.txt is to download pip-tools, make a file called requirements.in, type the package you are trying to install in there, run pip-compile on that file and then a requirement.txt file is auto created with dependencies. BUG=b/242563296 TEST=https://console.cloud.google.com/cloud-build/builds/9184e261-b74d-4fe9-809b-4ebbe1cf7eff?project=228075978874 RELEASE_NOTES=None Change-Id: Iee0e28fa07198eea1286c46c11ed49a7583419c6 Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/36829 Reviewed-by: Vaibhav Rustagi <email@example.com> Tested-by: Vaibhav Rustagi <firstname.lastname@example.org> Cloud-Build: GCB Service account <email@example.com>
This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.
See CONTRIBUTING.md for how to contribute.