Upgrade specified Git version to 2.30.2
What does this MR do?
Upgrades git to the newest release.
Why was this MR needed?
The version we were using was vulnerable to a security issue on Windows.
What's the best way to test this MR?
Testing instructions given here : !2825 (comment 614354284)
Configurations used
config.toml
concurrent = 1
check_interval = 0
[session_server]
session_timeout = 1800
[[runners]]
name = "windows-docker-1809"
url = "https://gitlab.com/"
token = "TOKEN_HERE"
executor = "docker-windows"
pre_clone_script = "git version"
[runners.docker]
image = "mcr.microsoft.com/windows/servercore:1809_amd64"
helper_image = "registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-6bd99b9d-servercore1809"
pull_policy = ["if-not-present"]
volumes = ["c:\\cache"]
.gitlab-ci.yml
variables:
DURATION: 20
job:
script:
- Write-Output $PSVersionTable
- for ($i = 1 ; $i -le $DURATION ; $i++){ Get-Date; Start-Sleep -s 1; Write-Output "================================="; }
Testing results
-
Job log : the git version is well set to
git version 2.30.2.windows.1
for windows 1809 as result of thepre_clone_script = "git version"
.
What are the relevant issue numbers?
closes #27674
Edited by Arran Walker