зеркало из https://github.com/microsoft/CCF.git
55 строки
1.3 KiB
YAML
55 строки
1.3 KiB
YAML
pr:
|
|
branches:
|
|
include:
|
|
- main
|
|
paths:
|
|
include:
|
|
- scripts/azure_deployment/*
|
|
- .github/workflows/build-ci-container.yml
|
|
- .azure_pipelines_snp.yml
|
|
- .azure-pipelines-templates/*
|
|
- .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 }}
|