Skip to content

Commit 3069fcb

Browse files
committed
conflicts
2 parents 7f2d80b + 0639734 commit 3069fcb

3 files changed

Lines changed: 70 additions & 1 deletion

File tree

CONTRIBUTING.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ instructions provided by the bot. You will only need to do this once across all
1111

1212
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
1313
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
14+
<<<<<<< HEAD
1415
or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
1516

1617
## Before Contributing
@@ -39,4 +40,7 @@ All pull requests must include:
3940
- **Meaningful Summary**: Include a clear description of your changes under the "### Summary" section in the PR description (minimum 10 characters)
4041
- **Issue/Work Item Link** (only one required):
4142
- External contributors: Link to a GitHub issue
42-
- Microsoft org members: Link to an ADO work item
43+
- Microsoft org members: Link to an ADO work item
44+
=======
45+
or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
46+
>>>>>>> 06397346bcf475452f4047122b3367d63fbebecd

eng/pipelines/build-whl-pipeline.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,13 @@ jobs:
157157
# Copy the built .pdb files to staging folder for artifacts
158158
- task: CopyFiles@2
159159
inputs:
160+
<<<<<<< HEAD
160161
SourceFolder: '$(Build.SourcesDirectory)\mssql_python'
161162
Contents: 'ddbc_bindings.cp$(shortPyVer)-*.pdb'
163+
=======
164+
SourceFolder: '$(Build.SourcesDirectory)\mssql_python\pybind\build\$(targetArch)\py$(shortPyVer)\Release'
165+
Contents: 'ddbc_bindings.cp$(shortPyVer)-*.pdbs'
166+
>>>>>>> 06397346bcf475452f4047122b3367d63fbebecd
162167
TargetFolder: '$(Build.ArtifactStagingDirectory)\all-pdbs'
163168
displayName: 'Place PDB file into artifacts directory'
164169

@@ -187,6 +192,7 @@ jobs:
187192
publishLocation: 'Container'
188193
displayName: 'Publish all PYDs as artifacts'
189194

195+
<<<<<<< HEAD
190196
# Publish the collected .pdb file(s) as build artifacts
191197
- task: PublishBuildArtifacts@1
192198
condition: succeededOrFailed()
@@ -196,6 +202,8 @@ jobs:
196202
publishLocation: 'Container'
197203
displayName: 'Publish all PDBs as build artifacts'
198204

205+
=======
206+
>>>>>>> 06397346bcf475452f4047122b3367d63fbebecd
199207
# Publish the python arm64 libraries as build artifacts for next builds if ARM64
200208
# We publish them only for ARM64 builds since we cannot install arm64 Python on x64 host
201209
# This allows us to reuse the libraries in future ARM64 builds
@@ -207,7 +215,11 @@ jobs:
207215
ArtifactName: 'mssql-python-arm64-libs'
208216
publishLocation: 'Container'
209217
displayName: 'Publish arm64 libs as artifacts'
218+
<<<<<<< HEAD
210219

220+
=======
221+
222+
>>>>>>> 06397346bcf475452f4047122b3367d63fbebecd
211223
# Publish the collected wheel file(s) as build artifacts
212224
- task: PublishBuildArtifacts@1
213225
condition: succeededOrFailed()

eng/pipelines/dummy-release-pipeline.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
<<<<<<< HEAD
12
trigger: none
23

34
name: mssql-python-dummy-release-pipeline
5+
=======
6+
name: mssql-python-official-release-pipeline
7+
>>>>>>> 06397346bcf475452f4047122b3367d63fbebecd
48

59
variables:
610
- group: 'ESRP Federated Creds (AME)'
711

12+
<<<<<<< HEAD
813
extends:
914
template: v2/OneBranch.Official.CrossPlat.yml@templates
1015
parameters:
@@ -190,3 +195,51 @@ extends:
190195
# ServiceEndpointUrl: 'https://api.esrp.microsoft.com'
191196
# MainPublisher: 'ESRPRELPACMAN'
192197
# DomainTenantId: '$(DomainTenantId)'
198+
=======
199+
jobs:
200+
- job: ReleaseESRPPackage
201+
displayName: 'Release ESRP Package'
202+
pool:
203+
vmImage: 'windows-latest'
204+
205+
steps:
206+
- task: DownloadPipelineArtifact@2
207+
inputs:
208+
buildType: 'specific'
209+
project: '$(System.TeamProject)'
210+
definition: 2162
211+
buildVersionToDownload: 'latest'
212+
branchName: '$(Build.SourceBranch)'
213+
artifactName: 'mssql-python-wheels-dist'
214+
targetPath: '$(Build.SourcesDirectory)\dist'
215+
displayName: 'Download release wheel files artifact from latest successful run on main branch'
216+
217+
# Show content of the downloaded artifact
218+
- script: |
219+
echo "Contents of the dist directory:"
220+
dir "$(Build.SourcesDirectory)\dist"
221+
displayName: 'List contents of dist directory'
222+
223+
- task: EsrpRelease@9
224+
displayName: 'ESRP Release'
225+
inputs:
226+
connectedservicename: '$(ESRPConnectedServiceName)'
227+
usemanagedidentity: true
228+
keyvaultname: '$(AuthAKVName)'
229+
signcertname: '$(AuthSignCertName)'
230+
clientid: '$(EsrpClientId)'
231+
Intent: 'PackageDistribution'
232+
# Changing content type to Maven release (NOT PyPI) since we want to do dummy release
233+
# for ESRP testing purposes, not for actual PyPI distribution.
234+
# This is a workaround to allow ESRP to process the release without actual PyPI content
235+
# and to avoid ESRP validation errors.
236+
ContentType: 'Maven'
237+
ContentSource: 'Folder'
238+
FolderLocation: '$(Build.SourcesDirectory)/dist'
239+
WaitForReleaseCompletion: true
240+
Owners: '$(owner)'
241+
Approvers: '$(approver)'
242+
ServiceEndpointUrl: 'https://api.esrp.microsoft.com'
243+
MainPublisher: 'ESRPRELPACMAN'
244+
DomainTenantId: '$(DomainTenantId)'
245+
>>>>>>> 06397346bcf475452f4047122b3367d63fbebecd

0 commit comments

Comments
 (0)