forked from random-archer/mkinitcpio-systemd-tool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.azure.yml
83 lines (83 loc) · 1.62 KB
/
.azure.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
#
# ci tool setup
#
# https://docs.microsoft.com/en-us/azure/devops/pipelines/?view=azure-devops
#
trigger:
branches:
include:
- '*'
#
pr:
- '*'
#
variables:
# non-bufered stdout/stderr
PYTHONUNBUFFERED: 1
#
jobs:
#
- job: basic_build
#
pool:
vmImage: ubuntu-18.04
#
steps:
#
- bash: env|sort
displayName: review enviro
#
- task: UsePythonVersion@0
displayName: python version
inputs:
versionSpec: 3.8
#
- task: CopyFiles@2
inputs:
sourceFolder: tool/azure/home
targetFolder: $(HOME)
contents: '**'
overWrite: true
displayName: copy config
#
- script: tool/azure/setup.sh
displayName: install deps
#
- script: tool/azure/verify.sh
displayName: verify scripts
#
- template: tool/azure/steps-cache.yml
parameters: # change to reset cache
cache_version: V17
#
- bash: env|sort|grep CACHE
displayName: review caches
#
- template: tool/azure/steps-image.yml
parameters: # conditional cached build
image_path: arch/base
has_active: or(eq(variables.HAS_CACHE_ARCHIVE, 'false'),eq(variables.HAS_CACHE_RESOURCE, 'false'))
#
- template: tool/azure/steps-image.yml
parameters:
image_path: test/cryptsetup
#
- template: tool/azure/steps-image.yml
parameters:
image_path: test/dropbear
#
- template: tool/azure/steps-image.yml
parameters:
image_path: test/tinysshd
#
- template: tool/azure/steps-image.yml
parameters:
image_path: test/nftables
#
- template: tool/azure/steps-image.yml
parameters:
image_path: test/unitada
#
- bash: machinectl --all --full
displayName: review machines
#