hello-stephen opened a new pull request, #394:
URL: https://github.com/apache/doris-thirdparty/pull/394
## Summary
- Add `build-4.0.yml` to automate prebuilt thirdparty artifacts and Docker
image for Apache Doris `branch-4.0`, following the same pattern as existing
`build-3.1.yml` but with the `update-docker` job from `build.yml` (master)
- Fix download failures for packages whose upstream mirrors are unavailable
from GitHub Actions runners:
- `lzo-2.10.tar.gz`: `fossies.org` returns **410 Gone** for this file;
switch to official `oberhumer.com` mirror
- `libuuid-1.0.3.tar.gz`: `nchc.dl.sourceforge.net` (Taiwan mirror) is
blocked from GitHub Actions; use the main SourceForge redirector instead
- Change `prerelease` job runner from `macos-14` to `ubuntu-latest` to avoid
macOS runner network restrictions that cause silent empty-file downloads
- Fix `gh release upload --clobber` race-condition that returns exit 1
("release not found") when overwriting an existing asset, even though the
upload succeeds; replace with explicit delete-then-upload
- Sync `build.yml` (master workflow) improvements: add `force_build` input
for `workflow_dispatch`, switch `DORIS_TOOLCHAIN` to `clang`
## Key differences from `build-3.1.yml`
| | `build-3.1.yml` | `build-4.0.yml` |
|---|---|---|
| Tracked branch | `branch-3.1` | `branch-4.0` |
| Release tag | `automation-3.1` | `automation-4.0` |
| `update-docker` job | ✗ | ✓ (same as master) |
| Docker image tags | N/A | `build-env-ldb-toolchain-4.0-latest` |
| ldb_toolchain | v0.18 | v0.25 |
| llvm | llvm@16 | llvm@20 |
| `prerelease` runner | macos-14 | ubuntu-latest |
## Test plan
- [x] `Prerelease` job: successfully creates `automation-4.0` release,
downloads sources, detects thirdparty changes
- [x] `Build (Linux)`: thirdparty compiled and prebuilt artifact uploaded
- [x] `Build (macOS-arm64)`: thirdparty compiled and prebuilt artifact
uploaded
- [x] `Update Docker Image`: Dockerfile pulled from `branch-4.0`, all three
patches applied successfully, Docker image built (push requires apache Docker
Hub credentials)
- [ ] `Build (macOS-x86_64)`: validated in CI but `macos-13` runner
availability on GitHub is currently limited
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]