Skip to content

feat: Deployment pipeline changes for WAF version #460

Merged
Roopan-Microsoft merged 2 commits intodevfrom
waf-prdc
Sep 15, 2025
Merged

feat: Deployment pipeline changes for WAF version #460
Roopan-Microsoft merged 2 commits intodevfrom
waf-prdc

Conversation

@Prajwal-Microsoft
Copy link
Copy Markdown
Collaborator

Purpose

This pull request significantly refactors the deployment process in the CI workflow to improve automation, reliability, and environment variable management. The major changes include a more robust Helm installation, a new Azure Bicep-based deployment pipeline, enhanced environment variable handling, and improved PowerShell deployment scripts. Unnecessary or redundant steps have been removed for clarity and maintainability.

CI/CD Workflow Improvements:

  • Refactored the Helm installation step to check for an existing installation, install prerequisites, and verify the installation, making the process more robust and idempotent. (.github/workflows/CI.yml)
  • Replaced the old environment/resource group name generation and Azure resource provisioning steps with a new sequence that installs Bicep and Azure Developer CLI, generates unique resource group and solution prefix names, logs into Azure, creates the resource group if needed, deploys infrastructure using a Bicep template, and extracts outputs to environment variables for downstream steps. (.github/workflows/CI.yml)

Environment Variable and Model Configuration:

PowerShell Deployment Script Enhancements:

  • Introduced a new function, Get-AzdEnvValueOrDefault, to fetch environment values from the Azure Developer CLI or GitHub Actions environment, improving reliability and flexibility. (Deployment/resourcedeployment.ps1)
  • Refactored the DeploymentResult class to use the new environment variable retrieval function, ensuring all required deployment outputs are consistently and safely loaded. (Deployment/resourcedeployment.ps1)

These changes collectively modernize and streamline the deployment workflow, improve error handling, and ensure that environment variables are managed in a consistent and maintainable way.

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 065e861 into dev Sep 15, 2025
5 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@Prajwal-Microsoft Prajwal-Microsoft deleted the waf-prdc branch October 9, 2025 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants