-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
"az storage blob upload-batch" no longer works #14641
Comments
Having the same issue, thanks for posting. Checking your suggestion for using diff image |
I'm also having the same issue, I have reverted to using vs code plugin to deploy since delete task nuked my site. |
Same issue here |
Same here |
Same here. |
add to S174 |
same here |
1 similar comment
same here |
Hi @yonzhan. Looking at that milestone, it is planned to be released on August 25th (3 weeks from now).
Is that an accurate timeline here? I'm trying to determine whether I should submit a patch to revert back to v2.9.1 or wait for a hotfix, as this is a major blocker for those using Azure Storage for static website hosting. Thanks! |
Having the same issue here. FileNotFoundError: [Errno 2] No such file or directory: |
Me too - duplicate bug: #14648 |
same here |
Still failing for me. In case I'm doing something wrong, here's what I'm doing as a GitHub Action: - name: Login to Azure
uses: Azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
# build stuff
- name: Publish app
uses: Azure/cli@v1.0.0
with:
azcliversion: latest
inlineScript: |
az storage blob upload-batch -s $GITHUB_WORKSPACE/dist -d \$web --account-name ${{ secrets.STORAGE_ACCOUNT_NAME }} This was working at Mon, 03 Aug 2020 19:28:44 GMT. |
I had the same issue. 2.9.1 worked but latest didn't Failed: name: Publish styles az storage blob upload-batch -s Worked name: Publish styles |
Posting here for those looking for a workaround with the
bacongobbler/azure-blob-storage-upload@7946522 was the fix reported by a few community members (thanks to @linkeshkanna for reporting the bug and following up with confirmation on a fix). Changing |
Thanks @trendoid and @bacongobbler... I had wrongly tried updating the image tag (not the |
@yonzhan any ETA to provide the fix or workaround for .sh script? |
The latest azure-cli version have the issue, try to use the old version, it solved the issue for me, I revert back to version: 2.1.0 for ubuntu 18 : azure-cli=2.1.0-1~bionic |
@akhilrajmailbox There should be a 2.9.1 package I would try The issue just seems to be with 2.10+. |
It worked after switching my gitlab build from
to
I didn't even notice until now that I was using an older docker image |
Hi @patrickgalbraith, the fix is done in attached PR. Currently you could find artifacts here https://dev.azure.com/azure-sdk/public/_build/results?buildId=484329&view=artifacts&type=publishedArtifacts with the fix and we will release the hotfix version soon. |
@danmana like you I was using the oldest docker image but since we are impacted by the CLI, it seems that even the oldest one has been updated with the broken CLI version isn't it ? |
@lgmorand yes, it looks like there was an update also on the old docker image microsoft/azure-cli. The |
We will let you know after the hotfix version is ready. |
@yonzhan it should be interesting to understand why someone updated the old docker image at the same time. it should be definitly frozen (or now, fixed and then frozen) |
Add @fengzhou-msft to help with docker image. |
Hi all, |
Could you please tell us when the docker image will also be updated and thus updated. thanks for the quick fix |
@lgmorand we have updated the docker image with the |
Thanks, but I couldn't use the tag 2.9.1, because I'm using the github action from someone else who relies on the latest tag. but you fixed it and now everything is working again 👍 |
To clarify, this issue has been mitigated, and a fix has been made available in the latest release of the Azure CLI. If that assumption is correct, should this ticket be closed, or are there further action items needed to be taken here by the Azure CLI devs preventing this ticket from being closed? |
IMHO, it can be closed as we just need to take the latest version of the CLI (and because docker image has also been updated) |
Describe the bug
Using
mcr.microsoft.com/azure-cli:latest
fails with "No such file or directory: '$web'". However usingmcr.microsoft.com/azure-cli:2.9.1
works.To Reproduce
Using
mcr.microsoft.com/azure-cli:latest
Expected behavior
Command to finish successfully.
Environment summary
Docker image sha256:55a65eee1172e112a466d82671410fd2b3d1bed4f7c144e4f375dca2f2c7347f for mcr.microsoft.com/azure-cli
The text was updated successfully, but these errors were encountered: