-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
61 lines (53 loc) · 1.45 KB
/
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
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
name: $(Date:yyyyMMdd)$(Rev:.r)
parameters:
- name: runIntegrationTests
displayName: Run Integration Tests
type: boolean
default: true
trigger:
branches:
include:
- develop
- master
- release/*
pr:
branches:
include:
- develop
- master
- release/*
resources:
repositories:
- repository: templates
type: github
name: CluedIn-io/AzurePipelines.Templates
endpoint: 'CluedIn-io'
ref: refs/heads/refactor
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
steps:
# Configure NuGet
- task: NuGetAuthenticate@0
displayName: 'Authenticate with nuget'
- task: PowerShell@2
displayName: 'Set Environment variables'
inputs:
targetType: inline
script: |
Write-Host ("##vso[task.setvariable variable=EVENTHUB_ROOTMANAGESHAREDACCESSKEY_CONNECTIONSTRING;]$(ROOTMANAGESHAREDACCESSKEY_CONNECTIONSTRING)")
Write-Host ("##vso[task.setvariable variable=EVENTHUB_TESTQUEUE_CONNECTIONSTRING;]$(TESTQUEUE_CONNECTIONSTRING)")
- template: crawler.build.yml@templates
parameters:
githubReleaseInMaster: true
publicReleaseForMaster: true
executeIntegrationTests: ${{ parameters.runIntegrationTests }}
publishCodeCoverage: true