Skip to content

Commit 358e010

Browse files
RyAuldCopilot
andcommitted
Add Benchmark stage to pipeline documentation
Update pipeline purpose, stage diagram, and stage table to include the Benchmark stage that runs on post-merge pushes to dev. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent de03197 commit 358e010

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.Pipelines/CI-AND-RELEASE-PIPELINES.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ including what each pipeline does, when it runs, and how to trigger a release.
99

1010
| File | ADO Pipeline | Purpose |
1111
|------|-------------|---------|
12-
| [`azure-pipelines.yml`](../azure-pipelines.yml) | [MSAL.Python-PR-OneBranch-Official (3064)](https://dev.azure.com/IdentityDivision/IDDP/_build?definitionId=3064) | PR gate and post-merge CI — calls the shared template with `runPublish: false` |
12+
| [`azure-pipelines.yml`](../azure-pipelines.yml) | [MSAL.Python-PR-OneBranch-Official (3064)](https://dev.azure.com/IdentityDivision/IDDP/_build?definitionId=3064) | PR gate, post-merge CI, and performance benchmarks — calls the shared template with `runPublish: false`; runs benchmarks on post-merge pushes to `dev` |
1313
| [`pipeline-publish.yml`](pipeline-publish.yml) | [MSAL.Python-Publish (3067)](https://dev.azure.com/IdentityDivision/IDDP/_build?definitionId=3067) | Release pipeline — manually queued, builds and publishes to PyPI |
1414
| [`template-pipeline-stages.yml`](template-pipeline-stages.yml) || Shared stages template — PreBuildCheck, Validate, and CI stages reused by both pipelines |
1515
| [`credscan-exclusion.json`](credscan-exclusion.json) || CredScan suppression file for known test fixtures |
@@ -29,13 +29,14 @@ including what each pipeline does, when it runs, and how to trigger a release.
2929
### Stages
3030

3131
```
32-
PreBuildCheck ─► CI
32+
PreBuildCheck ─► CI ─► Benchmark (post-merge to dev only)
3333
```
3434

35-
| Stage | What it does |
36-
|-------|-------------|
37-
| **PreBuildCheck** | Runs SDL security scans: PoliCheck (policy/offensive content), CredScan (leaked credentials), and PostAnalysis (breaks the build on findings) |
38-
| **CI** | Runs the full test suite on Python 3.8, 3.9, 3.10, 3.11, 3.12, 3.13, and 3.14 |
35+
| Stage | What it does | When it runs |
36+
|-------|-------------|-------------|
37+
| **PreBuildCheck** | Runs SDL security scans: PoliCheck (policy/offensive content), CredScan (leaked credentials), and PostAnalysis (breaks the build on findings) | Always |
38+
| **CI** | Runs the full test suite on Python 3.8, 3.9, 3.10, 3.11, 3.12, 3.13, and 3.14 | Always |
39+
| **Benchmark** | Runs performance benchmarks on Python 3.9 and publishes `benchmark-results` artifact | Post-merge pushes to `dev` and manual runs only |
3940

4041
The Validate stage is **skipped** on PR/CI runs (it only applies to release builds).
4142

0 commit comments

Comments
 (0)