-
Notifications
You must be signed in to change notification settings - Fork 4k
Batch generation #27534
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
Open
Pan-Qi
wants to merge
35
commits into
main
Choose a base branch
from
bernard-pipeline-generation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Batch generation #27534
+1,308
−0
Conversation
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
Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
a802550
to
da6c9aa
Compare
58eb69a
to
78fc77d
Compare
1d8f34b
to
7a89243
Compare
e76e710
to
abb0093
Compare
abb0093
to
d456619
Compare
892c7c3
to
d22bed9
Compare
9224b54
to
019934c
Compare
8bdd1e1
to
f3cc572
Compare
9301df6
to
4fd9fb0
Compare
4fd9fb0
to
a65934d
Compare
772b895
to
a8a1b9a
Compare
bba4c2e
to
78261c5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Adds a batch generation pipeline for Azure PowerShell that parallelizes module regeneration, build, analysis, and testing, and sends failure notifications.
- Introduces utility functions for mapping, grouping, and Teams notifications
- Adds PS scripts to prepare targets, filter changes, generate, build, analyze, test, and report
- Configures Azure Pipelines job matrix in
batch-generation-test-job.yml
Reviewed Changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
.azure-pipelines/util/batch-generation-test-job.yml | Defines parameterized test job with matrix for Windows agents |
.azure-pipelines/PipelineSteps/BatchGeneration/util.psm1 | Helper functions: module mapping, grouping, matrix writing, messaging |
.azure-pipelines/PipelineSteps/BatchGeneration/prepare.ps1 | Prepares and serializes generation targets and matrix variable |
.azure-pipelines/PipelineSteps/BatchGeneration/filter.ps1 | Filters changed modules/submodules and writes build/analyze/test matrices |
.azure-pipelines/PipelineSteps/BatchGeneration/batch-generate-modules.ps1 | Executes Autorest regeneration per module/submodule and records change logs |
.azure-pipelines/PipelineSteps/BatchGeneration/build-modules.ps1 | Builds modules based on matrix key and records results |
.azure-pipelines/PipelineSteps/BatchGeneration/analyse-modules.ps1 | Runs static analysis steps and aggregates failures |
.azure-pipelines/PipelineSteps/BatchGeneration/test-modules.ps1 | Runs Pester tests for each submodule and collects results |
.azure-pipelines/PipelineSteps/BatchGeneration/report.ps1 | Aggregates and writes reports for all pipeline stages |
.azure-pipelines/PipelineSteps/BatchGeneration/notify-failed-job.ps1 | Sends Teams notification on failure using HTML template |
.azure-pipelines/PipelineSteps/BatchGeneration/FailedJobTeamsTemplate.html | HTML template for pipeline failure alerts |
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.
Description
Batch generation pipeline
Currently the generated branch won't be merged until we have decided the release policy.
If the pipeline is failed, notification will be sent to Xiaogang, Yabo and me.
This is the successful build, the failed tests are looks expected and need to be fixed through other PRs.
This is the generated branch, which includes both src/ and generated/ folders.
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.