forked from renovatebot/renovate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
77 lines (67 loc) · 1.64 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
trigger:
batch: true
branches:
include:
- 'master'
pr:
autoCancel: true
branches:
include:
- '*'
variables:
YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn
CI: true
Agent.Source.Git.ShallowFetchDepth: 1
jobs:
- job: 'Windows'
strategy:
matrix:
Node10 Py3.8:
nodeVersion: '10.x'
pythonVersion: '3.8'
Node12 Py3.8:
nodeVersion: '12.x'
pythonVersion: '3.8'
pool:
vmImage: windows-2019
steps:
- bash: |
set -e
git config --global core.autocrlf false
git config --global core.symlinks true
displayName: 'Preserve LF endings and symbolic links on check out'
- template: .azure/steps.yml
- job: 'Linux'
strategy:
matrix:
Node10 Py3.8:
nodeVersion: '10.x'
pythonVersion: '3.8'
pool:
vmImage: ubuntu-18.04
steps:
- template: .azure/steps.yml
- job: 'MacOS'
strategy:
matrix:
Node10 Py3.8:
nodeVersion: '10.x'
pythonVersion: '3.8'
pool:
vmImage: macOS-10.13
steps:
- template: .azure/steps.yml
- job: 'DockerSlim'
pool:
vmImage: ubuntu-16.04
steps:
- bash: |
docker pull renovate/renovate:slim
displayName: Pull old slim renovate image as cache
- bash: |
export DOCKER_BUILDKIT=1
docker build --cache-from renovate/renovate:slim -t renovate-test -f Dockerfile.slim .
displayName: Build slim renovate image
- bash: |
docker run --rm -t renovate-test --version
displayName: Test slim renovate image