Skip to content

Add script/pipeline for manual cpex attestation#12444

Merged
smw-ms merged 1 commit intoAzure:mainfrom
smw-ms:change-cpex-attestation-pipeline
Oct 10, 2025
Merged

Add script/pipeline for manual cpex attestation#12444
smw-ms merged 1 commit intoAzure:mainfrom
smw-ms:change-cpex-attestation-pipeline

Conversation

@smw-ms
Copy link
Copy Markdown
Member

@smw-ms smw-ms commented Oct 9, 2025

No description provided.

Copilot AI review requested due to automatic review settings October 9, 2025 23:15
@smw-ms smw-ms requested review from a team, maririos and praveenkuttappan as code owners October 9, 2025 23:15
Copy link
Copy Markdown
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 refactors the CPEX attestation system by separating automated and manual workflows. The changes extract common functionality into a standalone script for adding attestation entries and create separate pipelines for automation and manual use cases.

  • Extract Kusto database operations into a reusable Add-CPEX-Attestation-Entry.ps1 script
  • Split the pipeline into two separate workflows: automation and manual entry
  • Remove support for filtering by specific work items or service tree IDs to simplify the automation flow

Reviewed Changes

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

Show a summary per file
File Description
eng/scripts/Invoke-CPEX-Attestation-Automation.ps1 Simplified by removing work item filtering parameters and delegating Kusto operations to the new script
eng/scripts/Add-CPEX-Attestation-Entry.ps1 New script that handles individual attestation entry creation with Kusto database operations
eng/pipelines/cpex-attestation.yml Removed - replaced by separate automation and manual pipelines
eng/pipelines/cpex-attestation-manual.yml New pipeline for manual attestation entries with user input parameters
eng/pipelines/cpex-attestation-automation.yml New simplified pipeline for automated attestation processing
eng/common/scripts/Helpers/DevOps-WorkItem-Helpers.ps1 Removed filtering parameters from query functions to simplify automation logic

@azure-sdk
Copy link
Copy Markdown
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

Comment thread eng/pipelines/cpex-attestation-manual.yml
@smw-ms
Copy link
Copy Markdown
Member Author

smw-ms commented Oct 10, 2025

/check-enforcer override

smw-ms added a commit to Azure/azure-sdk-for-rust that referenced this pull request Oct 10, 2025
Sync eng/common directory with azure-sdk-tools for PR
Azure/azure-sdk-tools#12444 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

Co-authored-by: Summer Warren <summerwarren@microsoft.com>
azure-sdk added a commit to Azure/azure-sdk-for-js that referenced this pull request Oct 10, 2025
Sync eng/common directory with azure-sdk-tools for PR
Azure/azure-sdk-tools#12444 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

Co-authored-by: Summer Warren <summerwarren@microsoft.com>
@smw-ms smw-ms merged commit 73a7292 into Azure:main Oct 10, 2025
17 checks passed
@smw-ms smw-ms deleted the change-cpex-attestation-pipeline branch October 13, 2025 17:34
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.

4 participants