4d5d55d15a
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1.3 KiB
1.3 KiB
Tooling: Alibaba Cloud OSS distribution for Release assets
Release downloads no longer depend on GitHub's reachability alone (#166).
- A new
mirror-ossrelease job downloads the exact assets attached to the GitHub Release, re-verifies their checksums, and mirrors the same bytes to an Alibaba Cloud OSS bucket;latest.jsonis uploaded last and only after every asset landed, so the mirror never advertises a partially mirrored version. The job reads its provider/role ARNs and bucket settings from theoss-productionenvironment and fails fast with a named error when one is missing. install.sh/install.ps1gain a download-source switch:PENGUIN_DOWNLOAD_SOURCE=auto(default) prefers the OSS mirror and falls back to the same version on GitHub when the mirror is unavailable;ossandgithubpin one source.PENGUIN_DOWNLOAD_BASE_URL/PENGUIN_DOWNLOAD_FALLBACK_BASE_URLoverride the asset directories directly (https-validated), and download progress names the source it is actually using.- An
oss-stagingworkflow plusscripts/publish-release-to-oss.sh,scripts/install-ossutil.shandscripts/test-oss-staging.shexercise the mirror path end to end before production, and the hermetic installer tests cover the source switch on both platforms. - The installation docs document the download-source row for both languages.