Skip to content

Conversation

@Prasanjeet-Microsoft
Copy link
Contributor

Purpose

  • This PR introduces a GitHub Actions workflow that automates the deployment lifecycle of resources using Azure Bicep. It ensures proper validation, deployment, and cleanup of resources while maintaining cost efficiency.

Key Features:

  • Automated Deployment: Deploys resources using Bicep templates.
  • Quota Check: Verifies if enough capacity is available before deployment.
  • Resource Cleanup: Deletes and purges resources after execution.
  • Scheduled Runs: Triggers at 9 AM & 9 PM GMT and on push to main.
  • Failure Handling: Sends notifications when deployment fails.

Does this introduce a breaking change?

  • Yes
  • No

What to Check

Verify that the following are valid:

  • Workflow Execution: Ensure the workflow runs successfully on the main branch.
  • Quota Check Logic: Validate that insufficient quota cases are properly handled.
  • Resource Group Management: Verify resource group creation, deletion, and purging.
  • Secrets & Variables: Ensure all necessary secrets (AZURE_CLIENT_ID, AZURE_TENANT_ID, etc.) and variables (AZURE_REGIONS) are set in GitHub.
  • Failure Handling & Notifications: Confirm error scenarios send email notifications.
  • Correct Bicep Deployment: Ensure infra/main.json is valid and deploys the expected resources.

@Prajwal-Microsoft Prajwal-Microsoft merged commit ba57e98 into main Apr 11, 2025
6 checks passed
@github-actions
Copy link

🎉 This PR is included in version 1.1.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@Prasanjeet-Microsoft Prasanjeet-Microsoft deleted the PSL-US-16294 branch April 21, 2025 05:20
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.

3 participants