Skip to content

feat: Added Deploy-v2 pipeline with manual dispatch and input parameter support and Updated Smoke Testing scenarios#318

Closed
Vamshi-Microsoft wants to merge 2 commits intomicrosoft:mainfrom
Vamshi-Microsoft:deploy-v2
Closed

feat: Added Deploy-v2 pipeline with manual dispatch and input parameter support and Updated Smoke Testing scenarios#318
Vamshi-Microsoft wants to merge 2 commits intomicrosoft:mainfrom
Vamshi-Microsoft:deploy-v2

Conversation

@Vamshi-Microsoft
Copy link
Copy Markdown
Contributor

Purpose

This pull request introduces several improvements and new features across the project, focusing on infrastructure flexibility, enhanced test automation, and improved code maintainability. The most significant changes include parameterizing container image tags and registry endpoints for deployment, adding a robust GitHub Actions workflow for end-to-end testing with retries and reporting, and refactoring test code for clarity and documentation.

Infrastructure parameterization and deployment flexibility:

  • Added parameters for container registry endpoint (AZURE_ENV_CONTAINER_REGISTRY_ENDPOINT) and image tag (AZURE_ENV_CONTAINER_IMAGE_TAG) to infra/main.bicep, infra/main.parameters.json, and infra/main.waf.parameters.json, allowing dynamic selection of image sources and tags during deployment. Updated all relevant module references in infra/main.bicep to use these parameters instead of hardcoded latest tags. Also introduced AZURE_LOCATION parameter for flexible region selection. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Test automation and reporting enhancements:

  • Introduced a new GitHub Actions workflow (.github/workflows/test-automation-v2.yml) for automated content processing tests. The workflow includes environment setup, application readiness checks, up to three test retries with delays, artifact upload, and a detailed summary report in the workflow output.
  • Added a custom pytest marker for Golden Path tests and improved pytest configuration.
  • Enhanced HTML test report customization (title and column renaming), and improved logging in conftest.py. [1] [2] [3] [4]

Test codebase improvements and documentation:

  • Added module-level docstrings and method documentation to base.py, constants.py, and loginPage.py for better clarity and maintainability. Improved the robustness of environment variable handling in constants.py. [1] [2] [3] [4]
  • Minor code cleanup and logger usage improvements in test utilities. [1] [2]

Documentation updates:

  • Updated environment parameter documentation in docs/CustomizingAzdParameters.md to reflect new parameters for container registry, image tag, and location.
  • Removed a redundant note from the README.md for clarity.

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.

@Vamshi-Microsoft Vamshi-Microsoft changed the title Added Deploy-v2 pipeline with manual dispatch and input parameter support and Updated Smoke Testing scenarios feat: Added Deploy-v2 pipeline with manual dispatch and input parameter support and Updated Smoke Testing scenarios Nov 17, 2025
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.

1 participant