-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
70 lines (60 loc) · 2.07 KB
/
azure-pipelines.yml
File metadata and controls
70 lines (60 loc) · 2.07 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: $(Date:yyyyMMdd)$(Rev:.r)
parameters:
- name: runIntegrationTests
displayName: Run Integration Tests
type: boolean
default: true
- name: pipelineTemplateRef
displayName: Pipeline Template Ref
type: string
default: refs/heads/refactor
trigger:
branches:
include:
- develop
- master
- release/*
# Perform build for a PR to any branch, as if you run PR, you most likely want CI checks.
pr: ['*']
resources:
repositories:
- repository: templates
type: github
name: CluedIn-io/AzurePipelines.Templates
endpoint: 'CluedIn-io'
ref: ${{ parameters.pipelineTemplateRef }}
pool:
vmImage: 'ubuntu-22.04'
variables:
- name: testFolderPath
value: '$(Build.SourcesDirectory)/test'
- name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE
value: true
- name: DOTNET_CLI_TELEMETRY_OPTOUT
value: true
- name: buildConfiguration
value: Release
- group: AzureDataLakeConnector_BuildLock
# Requires variable group 'AzureDataLakeConnector_BuildLock' to exist and be authorized for this pipeline.
# Configure an 'Exclusive lock' check on this variable group in Azure DevOps; the lockBehavior below relies on it for serialization.
# Serialize all runs for this pipeline; change to 'runLatest' if only the latest queued run should proceed.
lockBehavior: sequential
steps:
- task: UseDotNet@2
displayName: Install .NET SDK 6.0
inputs:
version: 6.0.x
- task: NuGetAuthenticate@0
displayName: 'Authenticate with nuget'
- template: crawler.build.yml@templates
parameters:
githubReleaseInMaster: true
publicReleaseForMaster: true
executeIntegrationTests: ${{ parameters.runIntegrationTests }}
createIntegrationEnvironmentScriptFilePath: './build/integration-test.ps1'
createIntegrationEnvironmentScriptArguments: '-Action SetUp'
deleteIntegrationEnvironmentScriptFilePath: './build/integration-test.ps1'
deleteIntegrationEnvironmentScriptArguments: '-Action TearDown'
publishCodeCoverage: true
useGitVersionDotNetTool: true
publishToDevFeed: true