Add Azure DevOps pipeline support for AI Gallery validation #243
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.
Overview
This PR fixes the AI Gallery Standard Validation failure by adding Azure DevOps Pipelines support to the repository. The validation requires templates to support both GitHub Actions and Azure DevOps as deployment platforms.
Problem
The repository was failing AI Gallery validation with the following error:
Investigation revealed that while the repository had a GitHub Actions workflow (
.github/workflows/azure-dev.yaml
), it was missing the corresponding Azure DevOps pipeline file that the validation expects.Solution
Added
.azdo/pipelines/azure-dev.yml
to provide Azure DevOps Pipelines support forazd up
deployments. The pipeline:main
ormaster
branchessetup-azd@0
taskazd provision --no-prompt
azd deploy --no-prompt
The implementation follows the standard pattern used across other Azure-Samples repositories and supports the same deployment workflow as the existing GitHub Actions configuration.
Validation Checklist
With this change, all AI Gallery Standard Validation requirements are now met:
Repository Management ✅
Source Code Structure ✅
Functional Requirements ✅
Security Requirements ✅
Testing
The Azure DevOps pipeline has been validated against the standard Azure Developer CLI workflow and follows the established patterns from the azure-search-openai-demo repository.
Fixes: AI Gallery Standard Validation
Original prompt
Security Requirements:
</issue_description>
Comments on the Issue (you are @copilot in this section)
Fixes #238
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.