Migrate CI from buildjet to warpbuild #3138
Draft
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.
This pull request updates the CI/CD workflow configurations to use newer GitHub Actions versions and modernize the runner infrastructure around warpbuild. It also refactors the Docker image build and publish process to streamline jobs and improve caching and platform support. The changes help ensure compatibility, improve build performance, and simplify maintenance.
Workflow runner and actions modernization:
ubuntu-latestorwarp-ubuntu-2404-x64-4x) instead ofbuildjet-*runners, improving reliability and future compatibility. (.github/workflows/ci.yml: [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]actions/checkoutto version 5 across workflows for improved performance and security. (.github/workflows/ci.yml: [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]; .github/workflows/create_version.yml: [11]; .github/workflows/delete-test-env.yml: [12]; .github/workflows/deploy-test-env.yml: [13]; .github/workflows/dependencies.yml: [14] [15]; .github/workflows/docker-images.yml: [16] [17]Docker workflow refactor and improvements:
Warpbuilds/build-push-action, and added multi-platform support (linux/amd64,linux/arm64). Removed custom cache and manifest logic for simplicity. (.github/workflows/docker-images.yml: [1] [2] [3] [4]actions/upload-artifact@v5,actions/download-artifact@v6) for dependency and build logs. (.github/workflows/dependencies.yml: [1] [2]Workflow triggers and permissions:
pull_requestevent triggers to Docker workflows for better CI coverage on PRs. (.github/workflows/docker-images.yml: .github/workflows/docker-images.ymlR10-R11)id-token: writewhere needed for secure registry publishing. (.github/workflows/docker-images.yml: .github/workflows/docker-images.ymlL27-R41)These updates make use of warpbuilds improved caching infrastructure and better runner cost / performance / security.
Note
Migrates workflows to warp/ubuntu runners and checkout v5, and refactors Docker builds to Warpbuilds with multi-arch and PR triggers.
CI Workflows
buildjet-*toubuntu-latestorwarp-ubuntu-*across jobs.actions/checkout@v5everywhere; update artifact actions toupload-artifact@v5anddownload-artifact@v6.buildjet/cachewithWarpBuilds/rust-cache@v2; keep mold setup.cargo-verifications,publish-crates(-check), andcargo-test-kmsto warp runners; minor matrix/env tweaks.matrix.job.target.ci.yml(e.g.,RUST_VERSION_FMT/COV).Docker Images
publish-docker-images; useWarpbuilds/build-push-action@v6with multi-platform (linux/amd64,linux/arm64).pull_requesttrigger; keep GHCR/DockerHub/ECR logins; usedocker/metadata-action@v5for tags.deploy-eph-envdepends onpublish-docker-imagesand runs on warp.Other Workflows
create_version,delete/deploy-test-env,e2e-test-beta4-dev,nightly-*,publish-codecov,releasy,spellcheck, andupdate_readme_versions.publish-codecovruns on warp and retains llvm-cov publishing tocodecov-pages.Written by Cursor Bugbot for commit 87ff1aa. This will update automatically on new commits. Configure here.