forked from Azure/azure-cli-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
101 lines (94 loc) · 2.31 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
resources:
- repo: self
trigger:
batch: true
branches:
include:
- '*'
jobs:
# - job: SourceStatic
# displayName: "Source Code Static Check"
# pool:
# vmImage: 'ubuntu-16.04'
# steps:
# - task: UsePythonVersion@0
# displayName: 'Use Python 3.7'
# inputs:
# versionSpec: 3.7
# - task: Bash@3
# displayName: "Source Code Static Check"
# inputs:
# targetType: 'filePath'
# filePath: scripts/ci/test_static.sh
- job: IndexVerify
displayName: "Verify Extensions Index"
pool:
vmImage: 'ubuntu-16.04'
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.7'
inputs:
versionSpec: 3.7
- bash: |
#!/usr/bin/env bash
set -ev
pip install wheel==0.30.0 requests
export CI="ADO"
python ./scripts/ci/test_index.py -v
displayName: "Verify Extensions Index"
# - job: TestsPython27
# displayName: "Tests Python 2.7"
# pool:
# vmImage: 'ubuntu-16.04'
# steps:
# - task: UsePythonVersion@0
# displayName: 'Use Python 2.7'
# inputs:
# versionSpec: 2.7
# - task: Bash@3
# displayName: "Tests Python 2.7"
# inputs:
# targetType: 'filePath'
# filePath: scripts/ci/test_source.sh
# - job: TestsPython37
# displayName: "Tests Python 3.7"
# pool:
# vmImage: 'ubuntu-16.04'
# steps:
# - task: UsePythonVersion@0
# displayName: 'Use Python 3.7'
# inputs:
# versionSpec: 3.7
# - task: Bash@3
# displayName: "Tests Python 3.7"
# inputs:
# targetType: 'filePath'
# filePath: scripts/ci/test_source.sh
# - job: LintModifiedExtensions
# displayName: "CLI Linter on Modified Extensions"
# pool:
# vmImage: 'ubuntu-16.04'
# steps:
# - task: UsePythonVersion@0
# displayName: 'Use Python 3.7'
# inputs:
# versionSpec: 3.7
# - task: Bash@3
# displayName: "CLI Linter on Modified Extension"
# inputs:
# targetType: 'filePath'
# filePath: scripts/ci/verify_modified_index.sh
- job: IndexRefDocVerify
displayName: "Verify Ref Docs"
pool:
vmImage: 'ubuntu-16.04'
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.7'
inputs:
versionSpec: 3.7
- task: Bash@3
displayName: "Verify Extension Ref Docs"
inputs:
targetType: 'filePath'
filePath: scripts/ci/test_index_ref_doc.sh