Skip to content

Conversation

@Kanchan-Microsoft
Copy link
Contributor

Purpose

This pull request introduces multiple updates to GitHub Actions workflows to enhance deployment, testing, and resource management. Key changes include improved parameterization, support for additional branches, better error handling, and enhanced testing workflows.

Deployment Workflow Enhancements (deploy.yml and deploy-waf.yml)

  • Parameterization and Branch Support:

    • Added support for hotfix and dev branches in workflows, along with new parameters like solutionPrefix and imageTag to improve deployment flexibility.
    • Introduced outputs for deployment status and resource URLs to enable downstream workflows.
  • Resource Management:

    • Added steps to extract and manage AI services and Key Vault names during cleanup, ensuring proper resource handling.
  • Notification and Logging:

    • Reintroduced email notifications on deployment failure and added an explicit Azure logout step for better security. (`[.github/workflows/deploy.ymlR321-R343]

Testing Workflow Enhancements (test-automation.yml)

  • Workflow Inputs and Validation:

    • Added support for workflow inputs to override environment variables for testing URLs and resource names.
    • Implemented input validation to ensure required parameters are provided before proceeding.
  • Readiness Checks:

    • Introduced a readiness check to wait for the application to be accessible before running tests, reducing test failures due to unavailability.
  • Improved Test Retry Logic:

    • Simplified conditional expressions for test retries and adjusted sleep durations for better error handling.

Minor Fixes and Consistency Updates

  • Replaced single quotes with double quotes for consistency in cron schedules and other strings.
  • Removed redundant comments and empty lines to clean up the workflow files.

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

@Avijit-Microsoft Avijit-Microsoft merged commit 3363588 into microsoft:dev Jul 11, 2025
6 checks passed
@github-actions
Copy link

🎉 This PR is included in version 2.1.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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants