Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipeline V3 #37428

Merged
merged 191 commits into from
Sep 25, 2024
Merged

Pipeline V3 #37428

merged 191 commits into from
Sep 25, 2024

Conversation

scbedd
Copy link
Member

@scbedd scbedd commented Sep 17, 2024

This PR:

  • Updates PullRequests to utilize git to run CI only packages that were changed
    • Packages that have been changed may optionally include other packages for sparse validation. For instance azure-core configures an additional 15 or so packages that must be brought in for sparse validation. This is configured solely in get_package_properties.py.
  • Affected packages are now batched, so even if a PR touches 50+ packages, we will simply expand the test matrix by limiting each test run to a max of 8 packages (arbitrary limit). We just...add more test runs. Analyze will still have an issue with this many packages, I will likely multiplex that in follow-up PRs as well.
    • In the above case, when additional validation packages are pulled in due to a large number of directly affected packages, we will also sparsely include those validation packages into the test matrix. ("sparsely" translating to "on a single platform and python combination, we don't really care which")

scbedd and others added 30 commits July 19, 2024 15:20
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
…y close to being ready to go. got a lot of simplifying to work through
@scbedd
Copy link
Member Author

scbedd commented Sep 25, 2024

The failing python - pullrequest is a CI build for the build definition. The error is correct. I am going to ignore this failure and simply submit a follow-up PR to azure-template that resolves it. Not worth another commit and retrigger of all the pipelines.

@scbedd
Copy link
Member Author

scbedd commented Sep 25, 2024

/check-enforcer override

@scbedd scbedd merged commit da4820a into main Sep 25, 2024
306 of 308 checks passed
@scbedd scbedd deleted the pipelinev3-v2 branch September 25, 2024 20:44
w-javed pushed a commit to w-javed/azure-sdk-for-python that referenced this pull request Oct 3, 2024
* refactor package selection methodology to utilize Save-Package-Properties for package targeting
* introduce the python - pullrequest build definition that is triggered against all sdk/ directories, and builds/tests the packages which were changed
  * this also includes abstractions to reduce runtime by distributing sets of packages and duplicating matrix definition
* refactor all analyze checks which used to operate on ServiceDirectory to instead operate upon the packages present within a PackageInfoFolder from Save-Package-Properties
* miscellaneous tooling changes to account for new matrix possibilities

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants