feat(infra): add binary mirroring workflows and tool#166
Merged
Conversation
Add infrastructure to mirror all runtime binaries to builds.dtvem.io: - scripts/mirror-binaries: Go tool to download from upstream and upload to R2 - Supports parallel downloads with configurable workers - Verifies SHA256 checksums when available - Sync-only mode to skip files already in R2 - Dry-run mode for testing - mirror-all.yml: Bulk migration workflow - Matrix strategy to parallelize by runtime - Can run for specific runtime or all at once - Supports dry-run mode - mirror-sync.yml: Periodic sync workflow - Triggers after manifest deployments - Only uploads new files not already in R2 - Can also be triggered manually This enables dtvem to be the single source for all runtime binaries, improving reliability and consistency. Part of #159
- Add generate-manifests-from-r2 tool to scan R2 bucket and generate manifests
- Update mirror tool to write .meta.json files with checksum source
- Add sha256_source field to manifest schema ("upstream" or "dtvem")
- Add SHA256Source field to Go manifest.Download struct
- Update mirror-sync workflow to weekly schedule (not manifest-triggered)
- Add generate-manifests-from-r2.yml workflow
Contributor
Author
|
/release-note We are now hosting all of the binaries for all supported runtimes, mirrored from upstream sources where necessary! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add infrastructure to mirror all runtime binaries to
builds.dtvem.ioand generate manifests from R2:scripts/mirror-binaries): Downloads from upstream and uploads to R2 with metadatascripts/generate-manifests-from-r2): Scans R2 and generates manifestsScope
Based on current manifests:
Features
upstreamordtvem).meta.json) stored alongside binaries in R2Workflow Chain
Test Plan
After merging:
dry_run: trueto verifybuilds.dtvem.ioCloses #167