ci: Added Deployment v2 Workflow #81
Open
+1,413
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request introduces a new, modular GitHub Actions deployment pipeline for both Linux and Windows environments, focused on Azure cloud deployments. The changes refactor and enhance the deployment process with improved parameterization, environment selection, and cleanup capabilities, making the workflows more maintainable and flexible. The new orchestrator workflow coordinates the build, deploy, notification, and cleanup jobs, and adds support for optional features such as WAF, EXP, and resource cleanup.
Key changes:
1. New Orchestrated Deployment Pipeline
deploy-orchestrator.ymlworkflow that manages the sequence of deployment steps (build, deploy, notification, and cleanup) using reusable workflow calls and shared inputs/outputs for both Linux and Windows deployments.2. Platform-Specific Deployment Entry Points
deploy-linux.ymlanddeploy-windows.ymlas entry points for Linux and Windows deployments, respectively, each forwarding parameters and options to the orchestrator workflow. The Linux workflow supports scheduled, push, pull request, and manual triggers; the Windows workflow currently supports only manual triggers. [1] [2]3. Modular Job Definitions
job-deploy-linux.yml: Handles Linux-specific deployment steps, including environment setup, parameter configuration (WAF, EXP), Azure login, deployment, output extraction, and summary reporting.job-cleanup-deployment.yml: Handles resource cleanup, including Azure environment selection/creation, resource group deletion, and cleanup summary reporting.4. Enhanced Parameterization and Feature Support
5. Improved Reporting and Error Handling
$GITHUB_STEP_SUMMARY) with deployment or cleanup results, configuration details, and error guidance, improving the transparency and traceability of CI/CD operations. [1] [2]Does this introduce a breaking change?
Golden Path Validation
Deployment Validation