Azure-docs: Is Enterprise GIT supported?

Created on 25 Nov 2019  Â·  7Comments  Â·  Source: MicrosoftDocs/azure-docs

when i run this i get below. i changed the original enterprise git url
az acr task create \
--registry amitest \
--name utilsbuild \
--image utils:{{.Run.ID}} \
--context https://scm.abctest.com/kubernetes/utils.git \
--file Dockerfile \
--git-access-token xxxxxxxxx
Operation failed with status: 'Bad Request'. Details: "{\"error\":{\"code\":\"InvalidRepositoryUrl\",\"message\":\"Invalid repository URL 'https://scm.abctest.com/kubernetes/utils.git'. For more information see the tutorial https://aka.ms/acr/tasks/tutorial-git-trigger.\",\"target\":\"VisualStudioTeamService\",\"details\":null}}"


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 assigned-to-author container-registrsvc product-question triaged

Most helpful comment

I will update the documentation to point this out. Thanks @amitamit281 for raising the issue.

All 7 comments

@amitamit281
Thanks for the question! We are investigating and will update you shortly.

@dlepow will acr task support enterprise git?

@dlepow Please add your comments and update the doc if needed

You cannot create Tasks and enable commit or pull-request trigger on github enterprise. It’s not supported. You may still create a task if you want to set up timer trigger or base image update trigger to build your project, but you need to pass ‘—commit-trigger-enabled false’

I will update the documentation to point this out. Thanks @amitamit281 for raising the issue.

I have just created an "idea" on feedback.azure.com for adding support for GitHub Enterprise. For anyone reading this issue, please vote for the idea so that it hopefully gets implemented.

https://feedback.azure.com/forums/903958-azure-container-registry/suggestions/39965746-support-github-enterprise-for-acr-task-triggers

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JeffLoo-ong picture JeffLoo-ong  Â·  3Comments

behnam89 picture behnam89  Â·  3Comments

paulmarshall picture paulmarshall  Â·  3Comments

jharbieh picture jharbieh  Â·  3Comments

DeepPuddles picture DeepPuddles  Â·  3Comments