Skip to content

ci: fix jobs failing on Ubuntu 26.04

Harald Nordgren via GitGitGadget git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ci: use apt-get in the linux32 job.github/workflows/main.yml+1 -10 replies
2/3install-dependencies: work around a permission problemci/install-dependencies.sh+1 -10 replies
3/3ci: pin linux32 to ubuntu-24.04 to restore networking.github/workflows/main.yml+3 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchJohannes Schindelin
1/3
2/3Based-on-patch-by
3/3Based-on-patch-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] ci: fix jobs failing on Ubuntu 26.04

Four CI jobs fail since ubuntu-latest moved to Ubuntu 26.04.

* documentation, fuzz smoke test and static-analysis fail with ln: failed to create symbolic link '/usr/bin/dirname': Already exists. Run the ln with sudo.
* linux32 cannot resolve deb.debian.org. Pin it to ubuntu-24.04. The Docker update in actions/runner-images#15205 fixes this on 26.04, but a new runner image will take a long time to roll out, and CI should not stay broken while we wait.
* Use apt-get in linux32 to get rid of the apt does not have a stable CLI interface warnings.

The first two are based on Johannes Schindelin's fixes in Git for Windows (git-for-windows/git#6473).

Harald Nordgren (3):
ci: use apt-get in the linux32 job
install-dependencies: work around a permission problem
ci: pin linux32 to ubuntu-24.04 to restore networking

 .github/workflows/main.yml | 6 ++++--
 ci/install-dependencies.sh | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

base-commit: 50fe5cc63f9cd6e89b87a2c9ccf96a444f4cfdb7
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2478%2FHaraldNordgren%2Fci-linux32-apt-get-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2478/HaraldNordgren/ci-linux32-apt-get-v1
Pull-Request: https://github.com/git/git/pull/2478

Signature · 1 line
gitgitgadget