Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AzOps - Pull fails to push changes to git #439

Closed
reckitt-maciejglowacki opened this issue Oct 6, 2021 · 6 comments
Closed

AzOps - Pull fails to push changes to git #439

reckitt-maciejglowacki opened this issue Oct 6, 2021 · 6 comments
Labels
waiting-for-response Maintainers have replied and are awaiting a response from the bug/issue/feature creator

Comments

@reckitt-maciejglowacki
Copy link

While executing AzOps - Pull pipeline of AzOps Accelerator it fails on Push task because the path is too long:

2021-10-06_15h55_19

Is this an OS issue? A git one? Or something else entirely? Does anyone know a way around it? We obviously cannot change subscription / rg names just to make it work :)

@daltondhcp daltondhcp added the waiting-for-response Maintainers have replied and are awaiting a response from the bug/issue/feature creator label Oct 8, 2021
@daltondhcp
Copy link
Contributor

Thank you for reporting this. What OS do you have on the runners? In Windows, this is certainly an issue as below https://github.com/Azure/Enterprise-Scale/blob/aro-const-set-01/docs/Deploy/getting-started.md#enabling-long-paths-on-windows

@reckitt-maciejglowacki
Copy link
Author

I'm using a default pipeline from https://github.com/Azure/AzOps-Accelerator/blob/main/.pipelines/pull.yml with vmImage: "ubuntu-20.04" and run it on an MS-hosted agent. Nothing fancy I'd say :)

@daltondhcp
Copy link
Contributor

Thank you! I will try to reproduce this and get back to you.

@daltondhcp
Copy link
Contributor

Hey @reckitt-maciejglowacki, unfortunately, I have not been able to reproduce this in a vanilla ADO environment.
Can you please confirm that the below repository policy is not enabled in your ADO project?
image
https://docs.microsoft.com/en-us/azure/devops/repos/git/repository-settings?view=azure-devops&tabs=browser#restrict-path-length

@reckitt-maciejglowacki
Copy link
Author

That was it! Thank you so much for helping me find it. I think we can close this ticket now.

@daltondhcp
Copy link
Contributor

Excellent! Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-for-response Maintainers have replied and are awaiting a response from the bug/issue/feature creator
Projects
None yet
Development

No branches or pull requests

2 participants