Skip to content
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

[Auto] AI Gallery Standard Validation #57

Closed
11 of 13 tasks
ai-apps-bot opened this issue Jul 3, 2024 · 2 comments
Closed
11 of 13 tasks

[Auto] AI Gallery Standard Validation #57

ai-apps-bot opened this issue Jul 3, 2024 · 2 comments

Comments

@ai-apps-bot
Copy link

ai-apps-bot commented Jul 3, 2024

AI Gallery Standard Validation: FAILED

Repository Management:

  • README.md File.
  • LICENSE.md File.
  • SECURITY.md File.
  • CODE_OF_CONDUCT.md File.
  • CONTRIBUTING.md File.
  • ISSUE_TEMPLATE.md File.
  • Topics on repo contains ['azd-templates', 'ai-azd-templates'].

Source code structure and conventions:

  • azure-dev.yml File.
  • azure.yml File.
  • infra Folder.
  • .devcontainer Folder.

Functional Requirements:

  • azd up. [How to fix?]

    Details

    Downloading Bicep
    (✓) Done: Downloading Bicep
    Initialize bicep provider

    Packaging services (azd package)

    Packaging service web
    (✓) Done: Packaging service web

    Provisioning Azure resources (azd provision)
    Provisioning Azure resources can take some time.

    Initialize bicep provider
    Retrieving subscriptions...
    Reading subscription and location from environment...
    Subscription: Azure SDK Test Resources - AI Apps (90b334cb-854f-4207-a89c-cf44ab8673fe)
    Location: South Central US

    Creating a deployment plan
    Comparing deployment state
    Creating/Updating resources

    ERROR: error executing step command 'provision': deployment failed: error deploying infrastructure: starting deployment to subscription: PUT https://management.azure.com/subscriptions/90b334cb-854f-4207-a89c-cf44ab8673fe/providers/Microsoft.Resources/deployments/ai-apps30887965236-10010237-1727750541

    RESPONSE 400: 400 Bad Request
    ERROR CODE: InvalidTemplate

    {
    error: {
    code: InvalidTemplate,
    message: Deployment template validation failed: The provided value for the template parameter openAILocation is not valid. The value swedencentral is not part of the allowed value(s): canadaeast,northcentralus,southcentralus..,
    additionalInfo: [
    {
    type: TemplateViolation,
    info: {
    lineNumber: 1,
    linePosition: 1271,
    path: properties.template.parameters.openAILocation.allowedValues
    }
    }
    ]
    }
    }

    TraceID: def607ac35b694456500385115f90e82

  • azd down. [How to fix?]

    Details

    Deleting all resources and deployed code on Azure (azd down)
    Local application code is not deleted when running 'azd down'.

    Initialize bicep provider

    ERROR: deleting infrastructure: error deleting Azure resources: finding completed deployments: 'ai-apps30887965236-10010237': no deployments found

@pamelafox
Copy link
Contributor

@ai-apps-bot Can you re-run?

@anfibiacreativa
Copy link
Member

Logic will change to accept SECURITY.md under .github folder

@ai-apps-bot ai-apps-bot changed the title [Auto] AI Gallery Standard Validation FAILED [Auto] AI Gallery Standard Validation Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants