Skip to content

Sync eng/common directory with azure-sdk-tools for PR 13267#25743

Merged
azure-sdk merged 5 commits intomainfrom
sync-eng/common-user/raych1/set-test-pipeline-version-change-13267
Dec 9, 2025
Merged

Sync eng/common directory with azure-sdk-tools for PR 13267#25743
azure-sdk merged 5 commits intomainfrom
sync-eng/common-user/raych1/set-test-pipeline-version-change-13267

Conversation

@azure-sdk
Copy link
Collaborator

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#13267 See eng/common workflow

@azure-sdk azure-sdk requested a review from a team as a code owner December 9, 2025 00:28
@azure-sdk azure-sdk requested review from Copilot and raych1 December 9, 2025 00:28
@azure-sdk azure-sdk added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Dec 9, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR syncs the eng/common directory with azure-sdk-tools PR #13267, refactoring how artifacts are passed to the test pipeline version setting script. The main change replaces the ArtifactsJson string parameter with a structured Artifacts object array parameter for better type safety and maintainability.

Key changes:

  • Replaced string-based ArtifactsJson parameter with typed Artifacts object array parameter in both PowerShell script and YAML template
  • Added per-artifact ServiceDirectory support, allowing individual artifacts to override the global ServiceDirectory parameter
  • Enhanced validation logic with explicit property checks for required artifact fields (name, groupId for Java)

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
eng/common/scripts/SetTestPipelineVersion.ps1 Refactored parameter handling from JSON string to object array with enhanced validation, added per-artifact ServiceDirectory support, and improved error messages
eng/common/pipelines/templates/steps/set-test-pipeline-version.yml Updated parameter type from string to object and modified parameter passing to convert YAML object to PowerShell array

@azure-sdk azure-sdk force-pushed the sync-eng/common-user/raych1/set-test-pipeline-version-change-13267 branch from 6f42aa0 to e879077 Compare December 9, 2025 00:57
@azure-sdk azure-sdk merged commit 27faa48 into main Dec 9, 2025
11 checks passed
@azure-sdk azure-sdk deleted the sync-eng/common-user/raych1/set-test-pipeline-version-change-13267 branch December 9, 2025 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants