Skip to content

Commit 8899355

Browse files
authored
CHORE: Move Build Pipelines from Public to MSSQL-Python Project in ADO (#76)
### Summary This pull request includes a minor update to the `eng/pipelines/build-whl-pipeline.yml` file. The change updates the `definition` value in the pipeline configuration from `2134` to `2162`, likely reflecting a new build definition ID. ### Issue Reference Fixes [AB#37714](https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/37714) ### Checklist - [x] **Tests Passed** (if applicable) - [x] **Code is formatted** - [x] **Docs Updated** (if necessary) ### Testing Performed <!-- How was this fix tested? --> - [x] Unit Tests
1 parent 247174e commit 8899355

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

eng/pipelines/build-whl-pipeline.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
# Pipeline name shown in ADO UI
22
name: build-whl-pipeline
33

4-
# Trigger the pipeline on merge to main branch only
4+
# Trigger the pipeline on changes to the main branch & on pull requests
55
trigger:
66
branches:
77
include:
88
- main
99

10+
# Trigger on pull requests targeting the main branch
11+
pr:
12+
branches:
13+
include:
14+
- main
15+
1016
# Use Microsoft-hosted Windows VM
1117
pool:
1218
vmImage: 'windows-latest'
@@ -50,11 +56,13 @@ jobs:
5056

5157
# Python 3.13
5258
py313_x64:
59+
# TODO: Remove this once Python 3.13.5 is available in ADO
5360
pythonVersion: '3.13.5'
5461
shortPyVer: '313'
5562
architecture: 'x64'
5663
targetArch: 'x64'
5764
py313_arm64:
65+
# TODO: Remove this once Python 3.13.5 is available in ADO
5866
pythonVersion: '3.13.5'
5967
shortPyVer: '313'
6068
architecture: 'x64'
@@ -81,9 +89,8 @@ jobs:
8189
inputs:
8290
buildType: 'specific'
8391
project: '$(System.TeamProject)'
84-
definition: 2134
85-
buildVersionToDownload: 'latestFromBranch'
86-
branchName: 'refs/heads/main'
92+
definition: 2162
93+
buildVersionToDownload: 'latest'
8794
artifactName: 'mssql-python-arm64-libs'
8895
targetPath: '$(Build.SourcesDirectory)\mssql_python\pybind\python_libs\arm64'
8996
displayName: 'Download ARM64 Python libs from latest successful run on branches'

0 commit comments

Comments
 (0)