Skip to content

feat: Standardize Bicep Parameters for Code Modernization#117

Merged
Roopan-Microsoft merged 6 commits into
devfrom
psl-us18810-codmod
Jun 4, 2025
Merged

feat: Standardize Bicep Parameters for Code Modernization#117
Roopan-Microsoft merged 6 commits into
devfrom
psl-us18810-codmod

Conversation

@VishalS-Microsoft

Copy link
Copy Markdown
Contributor

Purpose

This pull request introduces several enhancements and updates across multiple areas, including development environment configuration, test automation, documentation, and infrastructure deployment. The most significant changes involve adding new Azure CLI features to the dev container, creating a new GitHub Actions workflow for test automation, and updating infrastructure templates to include Application Insights integration.

Development Environment Enhancements:

  • Added the Azure CLI feature with Bicep support to the dev container configuration (.devcontainer/devcontainer.json). This includes setting the installBicep option to true and specifying the latest versions for Azure CLI and Bicep.
  • Updated the VS Code extensions list to include ms-azuretools.vscode-azcli for enhanced Azure CLI support.

Test Automation Workflow:

  • Introduced a new GitHub Actions workflow (.github/workflows/test-automation.yml) to automate end-to-end testing. The workflow includes:
    • Scheduled and triggered runs for specific branches and paths.
    • Steps for setting up Python, logging into Azure CLI, starting/stopping container apps, running Playwright tests with retries, and uploading test reports.
    • A notification mechanism to send success or failure emails using a Logic App.

Infrastructure Updates:

  • Modified the Bicep templates (infra/deploy_ai_foundry.bicep, infra/main.bicep) to add Application Insights as a resource for enhanced monitoring. The connection string is exposed as an output for integration with other components. [1] [2]
  • Updated parameter handling in infra/main.bicepparam to include new parameters like deploymentType, llmModel, and imageVersion, with default values fetched from environment variables.

Documentation Updates:

  • Reorganized and expanded the documentation for customizing Azure Dev CLI (azd) parameters, providing a detailed table of parameters and their purposes (docs/CustomizingAzdParameters.md).
  • Corrected typos and updated parameter examples in the customization guide (docs/EXAMPLE-CustomizingAzdParameters.md). [1] [2]

Miscellaneous:

  • Updated the JSON ARM template (infra/main.json) to reflect changes in the Bicep templates, including Application Insights integration and parameter adjustments. [1] [2]

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

@Roopan-Microsoft
Roopan-Microsoft merged commit 0ff6ab4 into dev Jun 4, 2025
6 checks passed
@Roopan-Microsoft
Roopan-Microsoft deleted the psl-us18810-codmod branch June 4, 2025 11:03
@github-actions

github-actions Bot commented Jun 5, 2025

Copy link
Copy Markdown

🎉 This PR is included in version 1.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Ritesh-Microsoft pushed a commit that referenced this pull request Oct 10, 2025
feat: Standardize Bicep Parameters for Code Modernization
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

Successfully merging this pull request may close these issues.

2 participants