Skip to content

Conversation

@malt3
Copy link
Collaborator

@malt3 malt3 commented Oct 24, 2025

This change adds a new attribute, "blob_files" to the pull rule.
If set, blobs from that dict are used if available, and only missing blobs are fetched from a registry.

@aspect-workflows
Copy link

aspect-workflows bot commented Oct 24, 2025

Bazel 8 (Test)

1 test target passed

Targets
//util:buildifier.check [k8-fastbuild] 608ms

Total test execution time was 608ms. 17 tests (94.4%) were fully cached saving 11s.


Integration Tests (Test)

13 test targets passed

Targets
//e2e:cc_bazel_8_4_2                     4m 59s
//e2e:cc_bazel_9_0_0-pre_20250921_2      4m 52s
//e2e:generic_bazel_7_4_0                1m 10s
//e2e:generic_bazel_8_4_2                1m 9s
//e2e:generic_bazel_9_0_0-pre_20250921_2 1m 12s
//e2e:go_bazel_7_4_0                     3m 3s
//e2e:go_bazel_8_4_2                     2m 59s
//e2e:go_bazel_9_0_0-pre_20250921_2      3m 3s
//e2e:js_bazel_8_4_2                     38s
//e2e:js_bazel_9_0_0-pre_20250921_2      40s
//e2e:python_bazel_7_4_0                 1m 46s
//e2e:python_bazel_8_4_2                 1m 39s
//e2e:python_bazel_9_0_0-pre_20250921_2  1m 44s

Total test execution time was 29m 1s. 4 tests (23.5%) were fully cached saving 6m 18s.


Buildifier

@malt3 malt3 force-pushed the pull_tool_blobstore branch 4 times, most recently from ff6ed75 to bc71ec5 Compare October 28, 2025 15:15
malt3 added 5 commits October 28, 2025 17:19
In the future, we want to enable a partially initialized blobs directory.
For that, we want to shortcut any HTTP requests to a registry for which blobs are already downloaded.
This package implement a HTTP transport that can read from a "blobs" directory and substitues some of the reads.
Adds a new "blob_files" attribute to the pull rule.
If set, it can be used to give the pull rule blobs that have been downloaded elsewhere.
Effectively, this allows us to use other repositories for caching / sharing of blobs.
Adds a new "airgapped" attribute to the pull rule.
If set, it can be used to ensure that any requests are provided by predownloaded files from "blob_files".
@malt3 malt3 force-pushed the pull_tool_blobstore branch from bc71ec5 to 13eb43a Compare October 28, 2025 16:19
@malt3 malt3 force-pushed the pull_tool_blobstore branch from e663d0c to e010a72 Compare October 28, 2025 16:27
@malt3 malt3 force-pushed the pull_tool_blobstore branch from e010a72 to ac08ba0 Compare October 28, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants