git/ci
Johannes Schindelin 8a471a663b ci(pedantic): ensure that awk is installed
The image pointed to by the fedora:latest tag has moved from fedora
41 to 42. The fedora 41 container images have awk installed while
the fedora 42 images do not.  That change is most likely just part
of reducing the size of the base container images.

In both AlmaLinux and Fedora (as well as other RHEL
derivatives/relatives), awk is provided by the gawk package.

On Fedora, `dnf install awk` would work, by using the package
filelist data to determine that /usr/bin/awk is provided by gawk and
installs gawk as a result.

On AlmaLinux (8 & 9, by quick testing by Todd), that is not the case
and you'd need to use `dnf install gawk` or `dnf install '*bin/awk'`
to get it installed. Having said that, awk _is_ included in the
current AlmaLinux 8 and 9 images, so it isn't strictly needed.  But
it's probably better to be explicit that we need it installed, as a
defense against some future change to the AlmaLinux container
removing awk.

Because we know that on both of these distros, our scripts that call
for 'awk' had been using 'gawk' that was installed as part of the
base image, let's make sure that we explicitly install 'gawk'.  If
the image already has it, it would be a no-op that does not cause
breakage.

Suggested-by: Todd Zullinger <tmz@pobox.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-04-16 07:06:02 -07:00
..
config ci: deprecate ci/config/allow-ref script 2023-08-30 15:56:11 -07:00
util
check-directional-formatting.bash ci: unify bash calling convention 2024-07-08 16:23:05 -07:00
check-whitespace.sh check-whitespace: detect if no base_commit is provided 2024-07-23 09:56:50 -07:00
install-dependencies.sh ci(pedantic): ensure that awk is installed 2025-04-16 07:06:02 -07:00
install-sdk.ps1 ci: create script to set up Git for Windows SDK 2024-10-09 11:33:04 -07:00
lib.sh ci: exercise credential helpers 2025-02-20 07:49:52 -08:00
make-test-artifacts.sh ci(github): use grouping also in the `win-build` job 2022-06-13 09:58:41 -07:00
mount-fileshare.sh
print-test-failures.sh ci: remove stale code for Azure Pipelines 2025-01-10 09:15:39 -08:00
run-build-and-minimal-fuzzers.sh fuzz: port fuzz-url-decode-mem from OSS-Fuzz 2024-10-16 18:14:11 -04:00
run-build-and-tests.sh Merge branch 'ps/zlib-ng' 2025-02-06 14:56:45 -08:00
run-static-analysis.sh i18n CI: stop allowing non-ASCII source messages in po/git.pot 2022-05-26 10:30:28 -07:00
run-style-check.sh ci/style-check: add `RemoveBracesLLVM` in CI job 2024-07-23 09:56:50 -07:00
run-test-slice.sh ci: use test-tool as unit test runner on Windows 2024-05-06 14:06:35 -07:00
test-documentation.sh Makefile: refactor GIT-VERSION-GEN to be reusable 2024-12-07 07:52:08 +09:00