forked from atbagga/cli-extension-aks-up
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
36 lines (29 loc) · 1018 Bytes
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Python package
# Create and test a Python package on multiple Python versions.
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/python
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
strategy:
matrix:
Python36:
python.version: '3.6'
steps:
- script: python -m pip install --upgrade pip
displayName: 'Upgrade pip'
- script: pip install wheel==0.30.0
displayName: 'Install Wheel'
- script: 'pip install --upgrade .'
displayName: 'Pip upgrade'
workingDirectory: 'deploy-aks/'
- script: 'python ./setup.py bdist_wheel'
displayName: 'Build wheel for CLI extension'
workingDirectory: 'deploy-aks/'
- task: PublishBuildArtifacts@1
displayName: 'Publish Azure AKS deploy CLI extension as artifact'
inputs:
pathtoPublish: 'deploy-aks/dist'
artifactName: 'deploy-aks-cli-extension'
publishLocation: 'Container'