forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
41 lines (38 loc) · 1.11 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
trigger:
batch: true
branches:
include:
- master
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
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