forked from microsoft/CCF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.azure_pipelines_snp.yml
52 lines (46 loc) · 1.31 KB
/
.azure_pipelines_snp.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
pr:
branches:
include:
- main
paths:
include:
- scripts/azure_deployment/*
- .github/workflows/build-ci-container.yml
- .azure_pipelines_snp.yml
- .azure-pipelines-templates/deploy_aci.yml
- .azure-pipelines-templates/test_on_remote.yml
- .snpcc_canary
trigger:
branches:
include:
- main
- "release/*"
exclude:
- "release/[1-2].x"
schedules:
- cron: "0 9-18/3 * * Mon-Fri"
displayName: Regular build
branches:
include:
- main
always: true
resources:
containers:
- container: virtual
image: ccfmsrc.azurecr.io/ccf/ci:26-10-2023-virtual-clang15
options: --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE -v /lib/modules:/lib/modules:ro
jobs:
- template: .azure-pipelines-templates/configure.yml
- template: .azure-pipelines-templates/deploy_aci.yml
parameters:
used_by:
- test_snp
- template: .azure-pipelines-templates/test_on_remote.yml
parameters:
job_name: test_snp
display_name: "Test SNP"
depends_on:
- generate_ssh_key
- deploy_primary_aci
run_on: $[ dependencies.deploy_primary_aci.outputs['deploy_primary_aci.ipAddresses'] ]
ssh_key: $[ dependencies.generate_ssh_key.outputs['generate_ssh_key.sshKey'] ]