Skip to content

Commit e760775

Browse files
authored
Migrate AutoPR to ADO (Azure#5245)
* Set up CI with Azure Pipelines [skip ci] * Right folder * Update update_pr.yml for Azure Pipelines * Update update_pr.yml for Azure Pipelines * Update update_pr.yml for Azure Pipelines
1 parent 876bcf4 commit e760775

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.azure-pipelines/update_pr.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Starter pipeline
2+
# Start with a minimal pipeline that you can customize to build and deploy your code.
3+
# Add steps that build, run tests, deploy, and more:
4+
# https://aka.ms/yaml
5+
6+
trigger:
7+
- master
8+
9+
pool:
10+
vmImage: 'ubuntu-latest'
11+
12+
steps:
13+
- task: UsePythonVersion@0
14+
displayName: 'Use Python 3.7'
15+
inputs:
16+
versionSpec: 3.7
17+
18+
- script: python3 -m pip install -e "git+https://github.com/Azure/azure-sdk-for-python#subdirectory=azure-sdk-tools&egg=azure-sdk-tools"
19+
displayName: 'Install Azure SDK tools'
20+
21+
- script: python3 -m packaging_tools.update_pr -v --pr-number $(System.PullRequest.PullRequestNumber)
22+
displayName: 'Update packaging of PR'
23+
env:
24+
GH_TOKEN: $(python-mgmt-update-pr-token)

0 commit comments

Comments
 (0)