Skip to content

feat: added one click deployment github action pipeline #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 7, 2025

Conversation

Prashant-Microsoft
Copy link
Contributor

This pull request introduces a new GitHub Actions workflow to validate and manage deployments. The workflow includes several steps for setting up the environment, deploying resources, and handling potential failures. Below are the most important changes:

Workflow Setup:

  • Added a new workflow named Validate Deployment that triggers on pushes to the main branch. This workflow includes steps to checkout the code, set up the Azure CLI, and log in to Azure using service principal credentials. (.github/workflows/deploy.yml .github/workflows/deploy.ymlR1-R259)

Resource Management:

  • Implemented steps to generate a unique resource group name, check if the resource group exists, and create it if it doesn't. (.github/workflows/deploy.yml .github/workflows/deploy.ymlR1-R259)
  • Added a step to deploy a Bicep template to the resource group and handle the deployment process. (.github/workflows/deploy.yml .github/workflows/deploy.ymlR1-R259)

Error Handling and Notifications:

  • Included a step to send a notification email if the deployment fails, using a Logic App URL stored in GitHub secrets. (.github/workflows/deploy.yml .github/workflows/deploy.ymlR1-R259)

Resource Cleanup:

  • Added steps to list and manage KeyVaults and Log Analytics workspaces, including purging resources and deleting the resource group after successful deployment. (.github/workflows/deploy.yml .github/workflows/deploy.ymlR1-R259)

@Roopan-Microsoft Roopan-Microsoft merged commit c418739 into hotfix Apr 7, 2025
5 checks passed
Copy link

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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