Skip to content

Attempt error reporting for zip file uploads #611

@cfjedimaster

Description

@cfjedimaster

While using zip uploads

az functionapp deployment source config-zip -g myResourceGroup -n <app_name> --src <zip_file_path>

I noticed an odd issue. The first time I tried it, I zipped it from a parent directory. So if foo was the folder with my function app, I zipped from the parent foo. This created a zip file where the root was a foo folder and not the contents of foo. (Obviously those contents were in there, just not at root.)

When I deployed, the CLI reported no issue with the zip. It took me a while to realize that I was zipped incorrectly. But the CLI never reported anything weird or wrong with the zip. If it had done so, it would have saved me quite a bit of time.

Activity

ahmelsayed

ahmelsayed commented on Aug 16, 2018

@ahmelsayed
Contributor

This issue was moved to Azure/azure-cli#7072

ghost locked as resolved and limited conversation to collaborators on Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @cfjedimaster@ahmelsayed

        Issue actions

          Attempt error reporting for zip file uploads · Issue #611 · Azure/azure-functions-core-tools