ci: Enhance Azure Dev workflow with submodule support and service principal configuration#126
Open
Harmanpreet-Microsoft wants to merge 20 commits intomicrosoft:mainfrom
Open
ci: Enhance Azure Dev workflow with submodule support and service principal configuration#126Harmanpreet-Microsoft wants to merge 20 commits intomicrosoft:mainfrom
Harmanpreet-Microsoft wants to merge 20 commits intomicrosoft:mainfrom
Conversation
chore: Update post-release process steps and fix deployment issues
…esh authentication token
…eck from deployment workflow
…ID for Service Principal
…onment if not provided
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.
Purpose
This pull request updates the GitHub Actions workflows for Azure deployments to improve CI/CD automation and reliability, especially for service principal-based deployments. The main changes include ensuring submodules are checked out, dynamically configuring Bicep parameters for service principals, automating resource group and environment setup, and adding a robust retry mechanism for infrastructure provisioning.
Key changes include:
Service Principal and Environment Configuration:
.github/workflows/azd-template-validation.ymland.github/workflows/azure-dev.ymlto dynamically setprincipalTypeandprincipalIdininfra/main.bicepparamusing environment variables, enabling support for service principal authentication in CI/CD scenarios. [1] [2]Workflow Reliability and Robustness:
General Workflow Improvements:
TEMP,principalId,principalType, etc.) to ensure consistency and compatibility across workflow steps. [1] [2]These changes make the workflows more robust, automate key setup steps, and better support service principal-based deployments in CI/CD pipelines.
Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information