ci: fixed Pipeline failures #321
Open
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 updates several GitHub workflow files to improve input validation, enhance robustness, and streamline EXP configuration for deployment jobs. The main changes include making resource ID validation case-insensitive, ensuring default values for workflow inputs to prevent errors, and introducing automatic EXP enablement based on related parameters. These updates help make the workflows more reliable and easier to maintain.
Input Validation Improvements
Resource ID validation for
AZURE_ENV_LOG_ANALYTICS_WORKSPACE_IDandAZURE_EXISTING_AI_PROJECT_RESOURCE_IDnow accepts case-insensitive values, making workflows more flexible for Azure resource IDs. (.github/workflows/deploy-linux.yml,.github/workflows/deploy-windows.yml,.github/workflows/job-deploy-linux.yml,.github/workflows/job-deploy-windows.yml,.github/workflows/job-deploy.yml) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Validation for
QUOTA_FAILEDnow allows an empty string, in addition to 'true' and 'false', for greater compatibility with upstream jobs. (.github/workflows/job-send-notification.yml)Workflow Input Defaults
azure_location,resource_group_name,run_e2e_tests,existing_webapp_url) to prevent errors when outputs are missing. (.github/workflows/deploy-linux.yml,.github/workflows/deploy-windows.yml) [1] [2]EXP Configuration Enhancements
EXP_ENABLEDvalue. (.github/workflows/job-deploy.yml) [1] [2]EXP_ENABLEDvalue instead of the raw input, ensuring consistent EXP status across the workflow. (.github/workflows/job-deploy.yml) [1] [2].github/workflows/job-deploy.yml)Does this introduce a breaking change?
Golden Path Validation
Deployment Validation