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
Azcopy add support to copy files to $web container #133
Comments
Yesterday I tried to use static website hosting by setting up a release task in VSTS. AzCopy v7.1.0, then I tried 8.0.0-netcorepreview - still broken. |
Hi, @JohnReeson and @onpaws: Sorry that AzCopy v7.1.0 doesn't support static website, and we'll release a new version AzCopy recently which involves static website support, it will be hopefully in this week. Thanks, |
The next version would likely be a minor version(7.3.0), there should not be any breaking change. Will update this thread if there is any change. Best Wishes, |
Thanks for the update @jiacfan. |
@jiacfan - will that azcopy update be available on Azure Cloud Shell right away, too? (Will that version there be immediately upgraded?) --tested it on my beloved Cloud Shell and $web broke everything. |
FYI until AzCopy supports it you can use the Azure CLI to copy files to the $web container. Worked for me:
|
Hi, @MrBRUE Thanks for providing feedback, FYI, v7.3.0 has been released(Windows, based on .Net Framework), involved $web support. The Azure Cloud Shell support hasn't yet get ready, and I have established a tracking item to follow. Will share more details once get any update on the Cloud Shell support. Thanks, |
@hoetz Where did you test that? On macOS it doesn't work. The error is:
|
@tpetrina try putting |
@onpaws Wow, that did the trick! Thanks! |
@jiacfan Thanks for the fix! @rajatagrawal-dev Any idea when we'll see this available on VSTS hosted agents? |
@vivaladan This is a fix in the Azure File Copy v2 task itself and not the agent. Your VSTS account will be updated with the new task version soon. The deployment is scheduled to start by early next week. |
As $web has been supported in AzCopy, close this issue, Please feel free to reopen it or open a new issue if any further assistant needed. |
@rajatagrawal-dev - Has this fix been released to the VSTS Azure File Copy v2 task yet? I am still seeing the issue in my release pipeline. |
@mikeclymer Please follow microsoft/azure-pipelines-tasks#7611 for updates. |
Thanks, is there a Linux version available for download? |
Yes, please download AzCopy v7.3.0-netcore from here
The document will be updated accordingly as well. Thanks, |
@jiacfan I assume it doesn't work on a MAC? Thanks |
Has this been released into Azure DevOps (VSTS) yet? I am still seeing issues in the release pipeline trying to copy to $web. EDIT: apologies, this was fixed in preview microsoft/azure-pipelines-tasks#7611 |
Thanks for the info! |
In this new feature--Static website hosting for Azure Storage now in public preview. A container
$web
will be created for hosting static websites.The problem is, Azcopy can't recognize this container, test in cmd
[ERROR] Error parsing destination location "https://{accountname}.blob.core.windows.net/$web": Invalid location 'https://{accountname}.blob.core.windows.net/$web', address could not be parsed.
Also test in powershell, no breaking, but files are just uploaded to
$root
despite the name after$
.For now seems that it can only resolve container
$root
with$
in name.The text was updated successfully, but these errors were encountered: