forked from microsoft/CCF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.azure_pipelines_snp.yml
55 lines (49 loc) · 1.34 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
53
54
55
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.x"
- "release/2.x"
schedules:
- cron: "0 9-18/3 * * Mon-Fri"
displayName: Regular build
branches:
include:
- main
always: true
variables:
- name: secondaryAcisPath
value: "/home/agent/secondary_acis"
jobs:
- template: .azure-pipelines-templates/configure.yml
- template: .azure-pipelines-templates/deploy_aci.yml
parameters:
used_by:
- test_snp
secondaries:
count: 0 # Disabled for now
path: ${{ variables.secondaryAcisPath }}
- 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'] ]
secondary_acis_path: ${{ variables.secondaryAcisPath }}