DataDog / dd-trace-dotnet

.NET Client Library for Datadog APM
https://docs.datadoghq.com/tracing/
Apache License 2.0
456 stars 142 forks source link

Fix gitlab build (#6025 -> v2) #6027

Closed andrewlock closed 2 months ago

andrewlock commented 2 months ago

Summary of changes

Enables longpath support on the gitlab Windows jobs

Reason for change

We moved the location of the repo in GitLab, which increased the path length, and we hit long path issues

Implementation details

Make the runner set git config --system core.longpaths true - it's a crazy olde time restriction, so realistically everyone should have this anyway

Test coverage

The build works, so it's fixed!

Other details

We could shorten the paths to work around it, but it's just another accident waiting to happen. This is not the first time 🙈

Backport of #6025