forked from cloud-custodian/cloud-custodian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.azure-pipelines.yml
52 lines (47 loc) · 1.05 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
trigger:
- master
variables:
- group: CustodianCoreCI
jobs:
- job: 'CustodianCask'
displayName: 'Tool Tests - Cask'
pool:
vmImage: 'Ubuntu-18.04'
steps:
- checkout: self
fetchDepth: 1
- task: GoTool@0
inputs:
version: '1.12.6'
- script: make test
workingDirectory: tools/cask/
- job: 'CustodianOmniSSM'
displayName: 'Tool Tests - OmniSSM'
pool:
vmImage: 'Ubuntu-18.04'
steps:
- checkout: self
fetchDepth: 1
- task: GoTool@0
inputs:
version: '1.12.6'
- script: make test
workingDirectory: tools/omnissm/
- job: 'CustodianDockerBuild'
displayName: 'Docker Build'
pool:
vmImage: 'Ubuntu-18.04'
steps:
- checkout: self
fetchDepth: 1
- task: UsePythonVersion@0
inputs:
versionSpec: 3.8
architecture: 'x64'
# bin directory is in .dockerignore
- script: |
python -m pip install --upgrade pip
pip install docker click pytest pyyaml
# build a docker image and sanity test
- script: |
python tools/dev/dockerpkg.py build -t build --verbose --test -i cli