Repository navigation
distribution: Split the release .changes per distro locally - #49289
Conversation
The `.changes` are new with every commit, so each of the 40 per-distro splits for signing (2 arches x 4 packages x 5 distros) ran remotely on every release build: trivial text splits, which each waited in the RBE queue (for up to ~2m when it was busy, measured in envoy-ci-staging), on the critical path of the signing. The splits, and the extraction of the `.changes` from the packages tarball (which also uploaded the whole tarball for it), run locally. Signed-off-by: Ryan Northey <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the changes to run release extraction and distribution splitting locally.
No open issues 🎉
What changed in this PR
This PR moves release .changes extraction and per-distribution splitting to local execution, reducing remote build queue delays and avoiding large tarball uploads for extraction.
Changes:
- Adds
no-remotetags to package extraction and distribution-splitting targets. - Marks splitting targets as
manualand documents why local execution is preferred.
| File | Description |
|---|---|
distribution/changes.bzl |
Configures release .changes extraction and splitting to run locally. |
Review effort: Balanced
ravenblackx
left a comment
There was a problem hiding this comment.
Not clear why one of these merits "manual" tag and the other does not, but I also don't have a problem with it. (I would expect both deserve the tag.)
|
The split's |
…xy#49289) For signing, each package's `.changes` is extracted from the per-arch packages tarball and split into one file per distro (`pgp_sign_changes_split`): 40 splits (2 arches x 4 packages x 5 distros). Both are new with every commit, and neither had tags, so on RBE: - each split is a trivial text split that waits in the RBE queue: in envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the publish build when the pool was busy (locally, all 40 take ~0.4s in total) - each extraction uploads the whole packages tarball to the CAS to read one file from it Both run locally (`no-remote`). Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 785685b) Signed-off-by: Ryan Northey <[email protected]>
…xy#49289) For signing, each package's `.changes` is extracted from the per-arch packages tarball and split into one file per distro (`pgp_sign_changes_split`): 40 splits (2 arches x 4 packages x 5 distros). Both are new with every commit, and neither had tags, so on RBE: - each split is a trivial text split that waits in the RBE queue: in envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the publish build when the pool was busy (locally, all 40 take ~0.4s in total) - each extraction uploads the whole packages tarball to the CAS to read one file from it Both run locally (`no-remote`). Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 785685b) Signed-off-by: Ryan Northey <[email protected]>
For signing, each package's `.changes` is extracted from the per-arch packages tarball and split into one file per distro (`pgp_sign_changes_split`): 40 splits (2 arches x 4 packages x 5 distros). Both are new with every commit, and neither had tags, so on RBE: - each split is a trivial text split that waits in the RBE queue: in envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the publish build when the pool was busy (locally, all 40 take ~0.4s in total) - each extraction uploads the whole packages tarball to the CAS to read one file from it Both run locally (`no-remote`). Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 785685b) Signed-off-by: Ryan Northey <[email protected]>
…xy#49289) For signing, each package's `.changes` is extracted from the per-arch packages tarball and split into one file per distro (`pgp_sign_changes_split`): 40 splits (2 arches x 4 packages x 5 distros). Both are new with every commit, and neither had tags, so on RBE: - each split is a trivial text split that waits in the RBE queue: in envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the publish build when the pool was busy (locally, all 40 take ~0.4s in total) - each extraction uploads the whole packages tarball to the CAS to read one file from it Both run locally (`no-remote`). Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 785685b) Signed-off-by: Ryan Northey <[email protected]>
…xy#49289) For signing, each package's `.changes` is extracted from the per-arch packages tarball and split into one file per distro (`pgp_sign_changes_split`): 40 splits (2 arches x 4 packages x 5 distros). Both are new with every commit, and neither had tags, so on RBE: - each split is a trivial text split that waits in the RBE queue: in envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the publish build when the pool was busy (locally, all 40 take ~0.4s in total) - each extraction uploads the whole packages tarball to the CAS to read one file from it Both run locally (`no-remote`). Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 785685b) Signed-off-by: Ryan Northey <[email protected]>
…xy#49289) For signing, each package's `.changes` is extracted from the per-arch packages tarball and split into one file per distro (`pgp_sign_changes_split`): 40 splits (2 arches x 4 packages x 5 distros). Both are new with every commit, and neither had tags, so on RBE: - each split is a trivial text split that waits in the RBE queue: in envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the publish build when the pool was busy (locally, all 40 take ~0.4s in total) - each extraction uploads the whole packages tarball to the CAS to read one file from it Both run locally (`no-remote`). Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 785685b) Signed-off-by: Ryan Northey <[email protected]>
…xy#49289) For signing, each package's `.changes` is extracted from the per-arch packages tarball and split into one file per distro (`pgp_sign_changes_split`): 40 splits (2 arches x 4 packages x 5 distros). Both are new with every commit, and neither had tags, so on RBE: - each split is a trivial text split that waits in the RBE queue: in envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the publish build when the pool was busy (locally, all 40 take ~0.4s in total) - each extraction uploads the whole packages tarball to the CAS to read one file from it Both run locally (`no-remote`). Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 785685b) Signed-off-by: Ryan Northey <[email protected]>
…xy#49289) For signing, each package's `.changes` is extracted from the per-arch packages tarball and split into one file per distro (`pgp_sign_changes_split`): 40 splits (2 arches x 4 packages x 5 distros). Both are new with every commit, and neither had tags, so on RBE: - each split is a trivial text split that waits in the RBE queue: in envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the publish build when the pool was busy (locally, all 40 take ~0.4s in total) - each extraction uploads the whole packages tarball to the CAS to read one file from it Both run locally (`no-remote`). Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 785685b) Signed-off-by: Ryan Northey <[email protected]>
…xy#49289) For signing, each package's `.changes` is extracted from the per-arch packages tarball and split into one file per distro (`pgp_sign_changes_split`): 40 splits (2 arches x 4 packages x 5 distros). Both are new with every commit, and neither had tags, so on RBE: - each split is a trivial text split that waits in the RBE queue: in envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the publish build when the pool was busy (locally, all 40 take ~0.4s in total) - each extraction uploads the whole packages tarball to the CAS to read one file from it Both run locally (`no-remote`). Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 785685b) Signed-off-by: Ryan Northey <[email protected]>
Commit Message: distribution: Split the release .changes per distro locally
Additional Description:
For signing, each package's
.changesis extracted from the per-arch packages tarball and split into one file per distro (pgp_sign_changes_split): 40 splits (2 arches x 4 packages x 5 distros). Both are new with every commit, and neither had tags, so on RBE:Both run locally (
no-remote).Risk Level: low
Testing: CI (Sign), envoy-ci-staging
Docs Changes: n/a
Release Notes: n/a