forked from microsoft/presidio
-
Notifications
You must be signed in to change notification settings - Fork 1
/
azure-pipelines.yml
32 lines (30 loc) · 917 Bytes
/
azure-pipelines.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
# Presidio PR validation: security analysis, lint, build, unit test, e2e tests
pr:
branches:
include:
- main
variables:
- group: Presidio-V2-CI
stages:
- template: .pipelines/templates/lint-build-test.yml
- stage: E2ETests
dependsOn: [] # Run E2ETests in parallel to LintBuildTest
displayName: E2E Tests
jobs:
- job: E2ETests
displayName: E2e Tests
pool:
vmImage: 'ubuntu-latest'
variables:
REGISTRY_NAME: '$(ACR_REGISTRY_NAME).azurecr.io/'
TAG: ':$(Build.BuildId)'
steps:
- task: DockerCompose@0
displayName: Build Presidio Images
inputs:
action: Build services
dockerComposeFile: docker-compose.yml
dockerComposeFileArgs: |
REGISTRY_NAME=$(REGISTRY_NAME)
TAG=$(TAG)
- template: .pipelines/templates/e2e-tests.yml