CCF/.azure_pipelines_snp.yml

55 строки
1.3 KiB
YAML

pr:
branches:
include:
- main
exclude:
- "release/[0-3].x"
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/[0-3].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:12-02-2024-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'] ]