forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
43 lines (40 loc) · 1.16 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
trigger:
batch: true
branches:
include:
- master
- '1.1'
pr:
branches:
include:
- master
paths:
exclude:
- docs/src/main/asciidoc/*
- docs/src/main/asciidoc/images/*
- README.md
- CONTRIBUTING.md
- ADOPTERS.md
- LICENSE.txt
- dco.txt
- .github/ISSUE_TEMPLATE/*.md
- .dependabot/config.yml
variables:
MAVEN_CACHE_FOLDER: $(Pipeline.Workspace)/.m2/repository/
MAVEN_OPTS: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
QUARKUS_LOCAL_REPO: $(MAVEN_CACHE_FOLDER)
# Force everything to use VMs if the expansion pool is disabled. Otherwise send PRs to the expansion pool and everything else to the hosted VMs
LINUX_USE_VMS: $[ or(eq(variables['quarkus_expansion_enabled'], 'false'), not(contains(variables['Build.SourceBranch'], '/pull/'))) ]
stages:
- template: ci-templates/stages.yml
parameters:
poolSettings:
vmImage: 'Ubuntu 16.04'
displayPrefix: '(Azure Hosted)'
expectUseVMs: true
- template: ci-templates/stages.yml
parameters:
poolSettings:
name: 'Expansion'
displayPrefix: '(Expansion)'
expectUseVMs: false