]> git.ipfire.org Git - thirdparty/git.git/commit
ci/github: add missing 'CI_JOB_IMAGE' env variable
authorKarthik Nayak <karthik.188@gmail.com>
Wed, 19 Mar 2025 16:33:28 +0000 (17:33 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Mar 2025 02:46:12 +0000 (19:46 -0700)
commitee89f7c79ddb1193c57b67bd7e258ca88a5e87cc
tree01c1299696517a4fdded19683285f0bbbad6c104
parent683c54c999c301c2cd6f715c411407c413b1d84e
ci/github: add missing 'CI_JOB_IMAGE' env variable

The CI setups of GitLab and GitHub use a common dependency management
script 'ci/install-dependencies.sh'. The script install the necessary
packages based on a combination of the "$distro" and "$jobname" env
variables.

The "$distro" variable is derived from the "CI_JOB_IMAGE" env variable
set by the CI configs. In the GitHub CI config, some of the jobs are
missing this variable. For the 'Documentation' job which depends on
'meson' being installed, this raises an error since the 'meson'
dependency is never installed.

Fix this by adding the 'CI_JOB_IMAGE' variable to all missing jobs. We
don't add it the windows jobs, since they manager their dependency as
part of the CI config and no further dependency management is needed.

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.github/workflows/main.yml