Gitlab-runner 16.4.0 Getting source from Git repository issue
Summary
Hello! We upgraded Gitlab CE to version 16.4.1 and gitlab-runners to 16.4.0. And deploy stopped working on some runners with error we cannot find how to resolve. However there are no such issues with gitlab-runner 16.3.1
Steps to reproduce
.gitlab-ci.yml
variables:
GIT_SUBMODULE_STRATEGY: recursive
ErrorActionPreference: STOP
NAME: Name
NUGET: 'C:\NuGet\nuget'
MSBUILD: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\bin\MsBuild.exe'
before_script:
- '& "$NUGET" restore ./App/Lk.sln -MSBuildVersion 16.9'
- git submodule update --init
- cd App/v3/; ./ci-deploy.bat
- cd ../../; npm i
stages:
- deploy
deploy-job:
stage: deploy
script:
- '& "$MSBUILD" Project.msbuild /p:ContinueOnError="false" /p:StopOnFirstFailure="true" /v:m'
- npm run build
- npm run deploy $CI_COMMIT_REF_NAME
only:
- /^.*master$/
except:
- merge_requests
tags:
- Server23
Actual behavior
Relevant logs and/or screenshots
gitlab-runner 16.4.0 log
Environment description
Gitlab CE 16.4.1 on Ubuntu 18.04 Gitlab-runner 16.4.0 on Windows Server 2008R2
config.toml contents
concurrent = 1
check_interval = 0
log_level = "warning"
[session_server]
session_timeout = 1800
[[runners]]
name = "Server23-RUNNER2"
url = "https://gitlab.domain.ru/"
token = ""
executor = "shell"
shell = "powershell"
environment = ["GIT_SSL_NO_VERIFY=true"]
[runners.custom_build_dir]
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
Used GitLab Runner version
D:\gitlab-runner\2>"gitlab-runner 16.4.0.exe" --version
time="2023-10-03T12:05:36+03:00" level=info msg="Did not set console mode for cli" error="The parameter is incorrect."
time="2023-10-03T12:05:36+03:00" level=info msg="Did not set console mode for cli" error="The parameter is incorrect."
Version: 16.4.0
Git revision: 6e766faf
Git branch: refs/pipelines/1015573085
GO version: go1.20.5
Built: 2023-09-25T11:27:42+0000
OS/Arch: windows/amd64
Possible fixes
Edited by Спокойная Волна