commit | 46884ba2f01c2439c9aa08eed67c4911434f7413 | [log] [tgz] |
---|---|---|
author | Arnav Kansal <rnv@google.com> | Mon Jul 18 21:04:30 2022 +0000 |
committer | Arnav Kansal <rnv@google.com> | Fri Sep 23 22:46:26 2022 +0000 |
tree | 06eeb4ea1bbc00c4327556db33a7c6faa440b83b | |
parent | 67a7536786b0f1ab212180a60608e22ded7dd335 [diff] |
Add Kernel CI config generation - cos_gpu_config_builder container Built the container using the supplied Dockerfile and ran the container: ``` docker run --rm config-builder:latest --driver-versions "450.119.04,470.82.01" --kernel-version 5.15.67-11.m101 ``` This produced two files per "config": gs://cos-gpu-configs/2022-09-20T22:20:19-0032b70a/config.textproto gs://cos-gpu-configs/2022-09-20T22:20:19-0032b70a/metadata The config.textproto is the actual build request file: ``` $ gsutil cat gs://cos-gpu-configs/2022-09-20T22:20:19-0032b70a/config.textproto kernel_src_tarball_gcs: "gs://cos-kernel-artifacts/builds/5.15.67-11.m101/cos-kernel-src-5.15.67-11.m101.tgz" kernel_headers_tarball_gcs: "gs://cos-kernel-artifacts/builds/5.15.67-11.m101/cos-kernel-headers-5.15.67-11.m101-x86_64.tgz" nvidia_runfile_address: "https://us.download.nvidia.com/tesla/450.119.04/NVIDIA-Linux-x86_64-450.119.04.run" toolchain_tarball_gcs: "gs://chromiumos-sdk/2021/06/x86_64-cros-linux-gnu-2021.06.26.094653.tar.xz" toolchain_env_gcs: "gs://cos-kernel-artifacts/builds/5.15.67-11.m101/toolchain_env.x86_64" driver_output_gcs_dir: "gs://nvidia-drivers-us-public/nvidia-cos-project/5.15.67-11.m101/" ``` The metadata file: ``` $ gsutil cat gs://cos-gpu-configs/2022-09-20T22:20:19-0032b70a/metadata { "driver_version":"450.119.04", "milestone":"101", "version":"5.15.67-11.m101", "version_type:"Kernel" } ``` BUG=b/238798451 Change-Id: I0a6b0afe24e7e6a6be6eb5be1e5a89770a9be9b6 Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/37087 Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com> Tested-by: Arnav Kansal <rnv@google.com> Reviewed-by: Robert Kolchmeyer <rkolchmeyer@google.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.