Parallel docs build improvements
Get series with b4
b4 am [email protected] change-id 20251218-concurrent-safety-e3a1a2394064Versions newest first
- v1 Latest8 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | tools/build-docs-container: guarantee the image to run matches the just-built imagedocumentation/ | +10 | 0 replies | |
| 2/8 | Makefile: allow to specify build directorydocumentation/ | +1 | 0 replies | |
| 3/8 | tools/build-docs-container: build in separate directory for each distrodocumentation/ | +2 | 0 replies | |
| 4/8 | tools/build-docs-container: create symlink to latest build outputdocumentation/ | +4 | 1 reply | |
| 5/8 | Makefile: wrap set_versions.py with flockdocumentation/ documentation/ | +5 | 1 reply | |
| 6/8 | tools/build-docs-container: allow running non-interactivelydocumentation/ | +11 | 1 reply | |
| 7/8 | tools/build-docs-container: allow passing extra args to $OCI rundocumentation/ | +6 | 1 reply | |
| 8/8 | tools/build-docs-container: make it possible to print the distro listdocumentation/ | +32 | 1 reply |
Reviews trailers per patch
1 of 8 patches has a Reviewed-by or Acked-by.
| Patch | Quentin Schulz |
|---|---|
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 | R-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] Parallel docs build improvements
The aim of this series is to take the work of Quentin[1] and with additional commit that improve the concurrent safety of the docs build, and some general improvements to the build-docs-container script.
This allows building the docs on all supported distros with this bash snippet:
```
declare -a distros=( $(./documentation/tools/build-docs-container supported_distros) )
for distro in "${distros[@]}"; do
./documentation/tools/build-docs-container $distro "$target" >/tmp/docs-build-"$distro".log 2>&1 &
done
wait
```---
Antonin Godard (6):
tools/build-docs-container: build in separate directory for each distro tools/build-docs-container: create symlink to latest build output
Makefile: wrap set_versions.py with flock tools/build-docs-container: allow running non-interactively tools/build-docs-container: allow passing extra args to $OCI run tools/build-docs-container: make it possible to print the distro list
Quentin Schulz (2):
tools/build-docs-container: guarantee the image to run matches the just-built image
Makefile: allow to specify build directory
documentation/.gitignore | 1 + documentation/Makefile | 10 ++-- documentation/tools/build-docs-container | 90 +++++++++++++++++++++++--------- 3 files changed, 71 insertions(+), 30 deletions(-)
---
base-commit: f9042e1da554017fe46460c1fd2bdf8c74b3fa18
change-id: 20251218-concurrent-safety-e3a1a2394064