Solution template scaffold for Azure AI Foundry gallery (with azd up workaround)#94
Draft
solarrezaei11 wants to merge 3 commits into
Draft
Solution template scaffold for Azure AI Foundry gallery (with azd up workaround)#94solarrezaei11 wants to merge 3 commits into
solarrezaei11 wants to merge 3 commits into
Conversation
Add root-level azure.yaml, .devcontainer, and gallery-ready README to make the repo discoverable as an Azure AI Foundry solution template. Changes: - azure.yaml: Root-level AZD config with metadata.template, references existing evaluation_agent/infra/ Bicep and deploy/ services - .devcontainer/devcontainer.json: Python 3.11 dev container with azd, Azure CLI, and Bicep support for one-click Codespaces - README.md: Rewritten in gallery-ready format with Codespaces/Dev Container badges, architecture diagram, quick deploy, use case framing, cost/cleanup section, and sample dataset table - docs/TRANSPARENCY_FAQ.md: Responsible AI FAQ (6 required questions) - docs/DeploymentGuide.md: Step-by-step deployment and troubleshooting - .gitignore: Add .azure/ directory for azd environment files No changes to existing evaluation_harness/ or evaluation_agent/ code. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…igned improvements Critical fixes identified by validating against the Foundry scaffold wizard (microsoft/Foundry-AI-solution-templates-creation) quality checklist: - scripts/preprovision.sh + .ps1: Region validation that exits non-zero for unsupported regions (eastus2, swedencentral confirmed) - scripts/postprovision.sh: Invokes canonical PowerShell script via pwsh on Linux/Codespaces; exits non-zero if pwsh missing (prevents silent skip) - scripts/postdeploy.sh: Real post-deploy output with fallback guidance - azure.yaml: Added requiredVersions (azd >= 1.18.0), preprovision hook, proper cross-platform hook references - .devcontainer: Added PowerShell feature so Codespaces hooks work - CONTRIBUTING.md: Standard Microsoft contributing guide - .env.example: Root-level environment variable reference - README.md: Added RAI solution-accelerator callout, navigation anchors, fixed keyless access claim to be accurate - docs/DeploymentGuide.md: Fixed keyless access claim Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Fixes azd up failures on team subscriptions that lack User Access Administrator permissions: - function-app.bicep: Remove inline roleAssignment resources (Storage Blob/Table Data Contributor, Website Contributor). These are already handled by postprovision.ps1 via az CLI, which is idempotent and works with broader permission sets. Comment in main.bicep (line 193) already documents this as the intended pattern. - main.bicep: Add OwnerAlias tag param (required by subscription policies on Speech team subs) with default empty string. - azure.yaml: Add remoteBuild: true to container app service so azd doesn't require local Docker Desktop. Validated: azd up successfully provisioned RG + Storage + Functions + App Insights + deployed Function App on Speech Services - DEV - Speech Studio subscription. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft PR for the Voice Live evaluation harness solution template so it can be onboarded to the Azure AI Foundry gallery.
What's in this PR
azd upworkaroundWe hit a role-assignment failure during
azd uppreprovision (inline RBAC in Bicep was racing against principal propagation). Workaround:evaluation_agent/infra/main.bicepandmodules/function-app.bicepscripts/preprovision.sh/preprovision.ps1(idempotent, retry-aware)remoteBuildflag +OwnerAliastag to align with Foundry gallery requirementsStatus
solarrezaei11/voicelive-evaluationsince write access to upstream is currently limited.