Skip to content

[Bug]: azldev does not function in ADO pipelines natively due to git mis-configuration #241

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions