-
Notifications
You must be signed in to change notification settings - Fork 154
Expand file tree
/
Copy pathci.yml
More file actions
84 lines (81 loc) · 3.19 KB
/
ci.yml
File metadata and controls
84 lines (81 loc) · 3.19 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger:
batch: true
branches:
include:
- main
- feature/*
- release/*
- hotfix/*
paths:
include:
- sdk/eventhubs
pr:
branches:
include:
- main
- feature/*
- release/*
- hotfix/*
paths:
include:
- sdk/eventhubs
- eng/common/testproxy
extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: eventhubs
CtestRegex: "azure-messaging-eventhubs.*"
LiveTestCtestRegex: "azure-messaging-eventhubs.*"
LiveTestTimeoutInMinutes: 120
LineCoverageTarget: 27
BranchCoverageTarget: 13
UseFederatedAuth: true
Artifacts:
- Name: azure-messaging-eventhubs
Path: azure-messaging-eventhubs
VcpkgPortName: azure-messaging-eventhubs-cpp
- Name: azure-messaging-eventhubs-checkpointstore-blob
Path: azure-messaging-eventhubs-checkpointstore-blob
VcpkgPortName: azure-messaging-eventhubs-checkpointstore-blob-cpp
ArtifactsSource:
- Name: azure-messaging-eventhubs
Path: azure-messaging-eventhubs
VcpkgPortName: azure-messaging-eventhubs-cpp
- Name: azure-messaging-eventhubs-checkpointstore-blob
Path: azure-messaging-eventhubs-checkpointstore-blob
VcpkgPortName: azure-messaging-eventhubs-checkpointstore-blob-cpp
TestEnv:
- Name: AZURE_TENANT_ID
Value: "33333333-3333-3333-3333-333333333333"
- Name: AZURE_CLIENT_ID
Value: "non-real-client"
- Name: AZURE_CLIENT_SECRET
Value: "non-real-secret"
- Name: AZURE_SUBSCRIPTION_ID
Value: "non-real-sub"
- Name: EVENTHUB_CONSUMER_GROUP
Value: "defaultgroup"
- Name: EVENTHUB_NAME
Value: "non-real-eventhub-name"
- Name: CHECKPOINTSTORE_STORAGE_URL
Value: "https://non-real-account.blob.core.windows.net"
- Name: EVENTHUB_CONNECTION_STRING
Value: "Endpoint=sb://notReal.servicebus.windows.net/;SharedAccessKeyName=notReal"
- Name: CHECKPOINTSTORE_STORAGE_CONNECTION_STRING
Value: "DefaultEndpointsProtocol=https;AccountName=notReal;AccountKey=3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333;EndpointSuffix=core.windows.net"
CMakeTestOptions:
- Name: Default
Value: ''
- Name: Test
Value: '-DBUILD_TESTING=ON'
- Name: Samples
Value: '-DBUILD_TESTING=ON -DBUILD_SAMPLES=ON'
- Name: Performance
Value: '-DBUILD_TESTING=ON -DBUILD_SAMPLES=ON -DBUILD_PERFORMANCE_TESTS=ON'
CMakeSourceTestOptions:
- Name: Source
# FETCH_SOURCE_DEPS is disabled because azure-messaging-eventhubs is not present in the vcpkg catalog at the current Azure SDK baseline commit.
# Disabling DISABLE_AZURE_CORE_OPENTELEMETRY because eventhubs does not have a dependency on azure-core-opentelemetry, but azure core includes
# azure-core-opentelemetry in builds unless disabled.
Value: '-DFETCH_SOURCE_DEPS=OFF -DDISABLE_AZURE_CORE_OPENTELEMETRY=ON'