-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
66 lines (57 loc) · 1.7 KB
/
azure-pipelines.yml
File metadata and controls
66 lines (57 loc) · 1.7 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
name: $(Date:yyyyMMdd)$(Rev:.r)
parameters:
- name: runIntegrationTests
displayName: Run Integration Tests
type: boolean
default: false
- 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: 'windows-latest'
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
- name: system.debug
value: true
steps:
- task: UseDotNet@2
displayName: Install .NET SDK 6.0
inputs:
version: 8.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