Skip to content

Commit b9598bd

Browse files
add health report pipeline (Azure#37163)
* add health report pipeline * try adding to aggregate-reports instead of standalone pipeline * delete standalone pipeline + add myself to codeowners
1 parent 00f7455 commit b9598bd

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@
845845

846846
# Add owners for notifications for specific pipelines
847847
/eng/pipelines/templates/jobs/tests-nightly-python.yml @lmazuel @mccoyp
848-
/eng/pipelines/aggregate-reports.yml @lmazuel @mccoyp @YalinLi0312
848+
/eng/pipelines/aggregate-reports.yml @lmazuel @mccoyp @YalinLi0312 @kristapratico
849849
/eng/common/pipelines/codeowners-linter.yml @lmazuel @mccoyp
850850

851851
# Add approvers for typespec-python emitter version updates

eng/pipelines/aggregate-reports.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,24 @@ stages:
5959
workingDirectory: $(Build.SourcesDirectory)
6060
filePath: eng/common/scripts/Verify-Resource-Ref.ps1
6161

62+
- task: UsePythonVersion@0
63+
displayName: 'Use Python 3.11'
64+
inputs:
65+
versionSpec: '3.11'
66+
67+
- script: |
68+
python -m pip install -r scripts/repo_health_status_report/dev_requirements.txt
69+
displayName: 'Prep Environment'
70+
71+
- task: PythonScript@0
72+
condition: succeededOrFailed()
73+
env:
74+
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
75+
GH_TOKEN: $(azuresdk-github-pat)
76+
inputs:
77+
scriptPath: 'scripts/repo_health_status_report/output_health_report.py'
78+
displayName: 'Generate Health Status Report'
79+
6280
- template: ../common/pipelines/templates/steps/verify-links.yml
6381
parameters:
6482
Directory: ""

0 commit comments

Comments
 (0)