microsoft / microsoft/azure-linux-dev-tools
[Bug]: azldev does not function in ADO pipelines natively due to git mis-configuration
- Dominant language
- Go
- Stars
- 18
- Forks
- 27
- Avg merge
- 4d 33m
- Merged PRs (30d)
- 24
Description
**Bug Description**
ADO pipelines mis-configure the cloned git repo (set `worktreeconfig` with `core.repositoryformatversion=0`)
**Reproduction Steps**
Steps to reproduce the behavior:
Run `azldev comp build` in an ADO pipeline against the 4.0 distro branch.
**Expected behavior**
Should run build successfully.
**Actual behavior**
00:02:04 ERR Error: opening project repository:
core.repositoryformatversion does not support extension: worktreeconfig
**Additional context**
Technically this could be considered a mis-configuration in the cloned repo, but CLI git accepts it. There is a bug in `go-git` v5 which means it does not accept the same config. `v6` fixes it, but is still in beta.
We should upgrade once its stable.
Contributor guide
Assessment
This issue has not been assessed yet.