Skip to content

Enable ExcludePaths in the pullrequest pipeline#39231

Merged
JimSuplizio merged 4 commits intoAzure:mainfrom
JimSuplizio:ExcludePathsInPRPipeline
Jan 16, 2025
Merged

Enable ExcludePaths in the pullrequest pipeline#39231
JimSuplizio merged 4 commits intoAzure:mainfrom
JimSuplizio:ExcludePathsInPRPipeline

Conversation

@JimSuplizio
Copy link
Contributor

@JimSuplizio JimSuplizio commented Jan 16, 2025

The pull request pipeline would create PackageInfo files for everything in the PR diff and this would result in things running as part of the PR pipeline that are excluded via the PR trigger. For Python this is only sdk/cosmos right now. This PR just plumbs through the ExcludePaths.

This is ready for review but, sanity's sake, I'm going to add, then remove, a commit that changes a file in Cosmos and one in Template to re-verify that, with these changes the azure-cosmos packageInfo isn't created and no tests are run. I say re-verify because I had a PR on Tuesday that tested these changes and this is just sanity since some of the changes were eng/common.

Runs with the Comos and Template change commit, the PR pipeline correctly shows the targeted packages do not include azure-cosmos, as expected.

@JimSuplizio JimSuplizio added the EngSys This issue is impacting the engineering system. label Jan 16, 2025
@JimSuplizio JimSuplizio self-assigned this Jan 16, 2025
Copy link
Member

@scbedd scbedd left a comment

Choose a reason for hiding this comment

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

Looks good pending your commit/reversion tests. Thanks @JimSuplizio this is definitely solving a problem I didn't have an answer for.

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@JimSuplizio JimSuplizio merged commit 78dd9ae into Azure:main Jan 16, 2025
21 checks passed
@JimSuplizio JimSuplizio deleted the ExcludePathsInPRPipeline branch January 16, 2025 22:48
allenkim0129 pushed a commit to allenkim0129/azure-sdk-for-python that referenced this pull request Jan 27, 2025
* Enable ExcludePaths in the pullrequest pipeline

* Temporary commit for testing, changes will be reverted before merge

* Reverting the testing changes to cosmos and template's MD files

* Really revert this time. VS Code trimming spaces caused it to not be reverted
l0lawrence pushed a commit to l0lawrence/azure-sdk-for-python that referenced this pull request Feb 19, 2025
* Enable ExcludePaths in the pullrequest pipeline

* Temporary commit for testing, changes will be reverted before merge

* Reverting the testing changes to cosmos and template's MD files

* Really revert this time. VS Code trimming spaces caused it to not be reverted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants