feat: Merge cps-v2-dev in v1-DEV#480
Open
Shreyas-Microsoft wants to merge 24 commits intopsl-cps-v2from
Open
Conversation
…ckages Co-authored-by: Ayaz-Microsoft <234034413+Ayaz-Microsoft@users.noreply.github.com>
…erabilities fix: high severity Dependabot vulnerabilities in dev branch
fix: Dependabot vulnerabilities fix
chore: Dev to Main
perf: Refactor imports and clean up unused variables across multiple components
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
chore: Dev merging in Main
Added note for azd version 1.23.9 regarding preflight configuration.
docs: Update Deployment Guide with azd version note
fix: sync main with dev Update Deployment Guide with azd version 1.23.9 note
fix: update VM size defaults and enhance troubleshooting documentation for the same
fix: Fixed issues related to intermittent WAF deployment failures
fix: remove unused favicon and related references from configuration
fix: Updated azure.yaml file to exclude the 1.23.9 azd version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 several improvements to the CI/CD pipeline and development environment, focusing on expanding Docker image build/push capabilities, updating workflow logic, and modernizing the dev container setup. The changes enhance automation, support for new branches, and toolchain consistency.
CI/CD Pipeline Enhancements:
Expanded Branch Support and Tagging
build-docker-image.yml) now supports thepsl-docker-build-and-push-v2andpsl-cps-v2branches for both push and pull request triggers. Images built from these branches are tagged aslatest_v2for consistency. [1] [2] [3] [4]New Docker Image Build
ContentProcessorWorkflowDocker image, aligning it with the other services.Dev Container and Toolchain Updates:
Switch to pnpm and Corepack
pnpm(enabled and prepared via Corepack) instead ofyarnfor installing dependencies inContentProcessorWeb, promoting faster and more reliable installs. [1] [2]yarnis no longer installed by default.Python Symlink for Compatibility
/usr/bin/pythonto/usr/bin/python3is created to improve compatibility with tooling expectingpython.Cleanup and Permissions
chmodregister_schema.sh(which is now a Python script and cross-platform).Workflow Logic and Permissions Adjustments:
Workflow File and Input Cleanup
deploy-v2.ymltodeploy-linux.yml, and the runner OS input logic is removed in favor of always usingubuntu-latest, simplifying the workflow and reducing unnecessary complexity. [1] [2] [3] [4] [5] [6] [7]Permissions and Conditional Logic
deploy-orchestrator.yml, and the cleanup step is now only triggered if the deployment succeeded, preventing resource cleanup in failed runs. [1] [2]Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information