[PATCH v3 00/10] A couple of CI improvements
Hi,
this patch series addresses a couple of issues I've found while investigating flaky CI jobs. Besides two more fixes for flaky jobs it also removes some stale code and simplifies the setup on GitHub Actions to always use containerized jobs on Linux.
Test runs can be found for GitLab [1] and GitHub [2].
Changes in v2:
- Expand a bit on the reasoning behind the conversion to use
containerized jobs.
- Fix commit message typo.
- Properly fix the race in t7422 via pipe stuffing, as proposed by
Peff.
- Link to v1: https://lore.kernel.org/r/20250103-b4-pks-ci-fixes-v1-0-a9bb95dff833@pks.imChanges in v3:
- Another iteration on the SIGPIPE test, which should now finally plug
the race.
- Link to v2: https://lore.kernel.org/r/20250106-b4-pks-ci-fixes-v2-0-06ae540771b7@pks.imThanks!
Patrick
[1]: https://gitlab.com/gitlab-org/git/-/merge_requests/277 [2]: https://github.com/git/git/pull/1865
---
Patrick Steinhardt (10):
t0060: fix EBUSY in MinGW when setting up runtime prefix
t7422: fix flaky test caused by buffered stdout
github: adapt containerized jobs to be rootless
github: convert all Linux jobs to be containerized
github: simplify computation of the job's distro
gitlab-ci: remove the "linux-old" job
gitlab-ci: add linux32 job testing against i386
ci: stop special-casing for Ubuntu 16.04
ci: use latest Ubuntu release
ci: remove stale code for Azure Pipelines.github/workflows/main.yml | 78 ++++++++++++++++++++++----------------------- .gitlab-ci.yml | 19 ++++++----- ci/install-dependencies.sh | 6 ++-- ci/lib.sh | 34 +++----------------- ci/print-test-failures.sh | 5 --- t/t0060-path-utils.sh | 10 +++--- t/t7422-submodule-output.sh | 43 ++++++++++++++++++++++--- 7 files changed, 100 insertions(+), 95 deletions(-)
Range-diff versus v2:
1: 924cc137a7 = 1: 2d20c22e1c t0060: fix EBUSY in MinGW when setting up runtime prefix 2: 85f732d57f < -: ---------- t7422: fix flaky test caused by buffered stdout -: ---------- > 2: 97e94a22d0 t7422: fix flaky test caused by buffered stdout 3: 96ffed8ad9 = 3: 5f105f2d04 github: adapt containerized jobs to be rootless 4: a276e87563 = 4: ffcb18fe34 github: convert all Linux jobs to be containerized 5: 736d660c31 = 5: e7a9dc276c github: simplify computation of the job's distro 6: 0c2e227cb8 = 6: 7e1f6b651a gitlab-ci: remove the "linux-old" job 7: 60c3cb0d76 = 7: 03b4a82fc0 gitlab-ci: add linux32 job testing against i386 8: 216c043aac = 8: df57d16eb9 ci: stop special-casing for Ubuntu 16.04 9: 234b741805 = 9: 7c63294ace ci: use latest Ubuntu release 10: 421852878a = 10: d47387d596 ci: remove stale code for Azure Pipelines
--- base-commit: 1b4e9a5f8b5f048972c21fe8acafe0404096f694 change-id: 20250103-b4-pks-ci-fixes-2d0a23fb5c78