-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathazure-pipelines-e2e-integration-tests.yml
47 lines (41 loc) · 1.29 KB
/
azure-pipelines-e2e-integration-tests.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
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
pr: none
trigger: none
strategy:
matrix:
linux:
imageName: 'MMSUbuntu20.04TLS'
windows:
imageName: 'MMS2019TLS'
pool:
name: '1ES-Hosted-AzFunc'
demands:
- ImageOverride -equals $(imageName)
steps:
- task: AzureKeyVault@2
inputs:
azureSubscription: 'Simple Batch(0b894477-1614-4c8d-8a9b-a697a24596b8)'
KeyVaultName: 'powershell-worker'
SecretsFilter: '*'
RunAsPreJob: true
- pwsh: |
Import-Module "./tools/helper.psm1" -Force
Install-Dotnet
displayName: 'Install .NET 6.0'
- pwsh: ./test/E2E/Start-E2ETest.ps1 -UseCoreToolsBuildFromIntegrationTests
env:
AzureWebJobsStorage: $(AzureWebJobsStorage)
AzureWebJobsCosmosDBConnectionString: $(AzureWebJobsCosmosDBConnectionString)
AzureWebJobsServiceBus: $(AzureWebJobsServiceBus)
AzureWebJobsEventHubSender: $(AzureWebJobsEventHubSender)
FUNCTIONS_WORKER_RUNTIME : "powershell"
displayName: 'Running PowerShell language worker E2E Tests'
- task: PublishTestResults@2
inputs:
testResultsFormat: 'VSTest'
testResultsFiles: '**/*.trx'
failTaskOnFailedTests: true
condition: succeededOrFailed()