Learn how to implement repository rules and MODULE extensions in Bazel to securely fetch private data from authenticated HTTP endpoints in this 10-minute technical talk from the Linux Foundation. Discover best practices for accessing external data during build processes while maintaining build determinism. Explore optimal usage of Bazel's downloader, repository cache, and new credential helper mechanism to save disk space and execution time. Master techniques for avoiding non-deterministic builds caused by direct wget usage in genrules, and understand the proper implementation of data fetching in Bazel's ecosystem.
Overview
Syllabus
Fetching private data with Repo Rules and MODULE Extensions - Malte Poll, Modus Create
Taught by
Linux Foundation