Describe the bug
ACR Tasks should support using a tarball from a remote webserver, but there is an edge case if the remote server is GitHub. The Tasks service interprets the context as a GitHub repository instead of a tarball.
Expected behavior
Successfully find, download, and extract the tarball.
Additional context
In the backend code, BaseBuildScheduler.BuildSourceLocationUrl() simply checks whether the URL authority contains Github. If it does, it appends .git to the URL, and ACB will handle the URL as a GitSourceControlURL. A potential fix could involve additionally checking whether the URL is a tarball.
Describe the bug ACR Tasks should support using a tarball from a remote webserver, but there is an edge case if the remote server is GitHub. The Tasks service interprets the context as a GitHub repository instead of a tarball.
To Reproduce Steps to reproduce the behavior:
Expected behavior Successfully find, download, and extract the tarball.
Additional context In the backend code, BaseBuildScheduler.BuildSourceLocationUrl() simply checks whether the URL authority contains
Github
. If it does, it appends.git
to the URL, and ACB will handle the URL as a GitSourceControlURL. A potential fix could involve additionally checking whether the URL is a tarball.