Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EventHubs] Canary support for event-hubs live tests #11318

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion eng/pipelines/templates/jobs/archetype-sdk-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ parameters:
- name: ResourceGroupLocation
type: string
default: ""
- name: ResourceGroupLocationCanary
type: string
default: "centraluseuap"
- name: ArmTemplateParameters
type: string
default: "@{}"
Expand All @@ -44,6 +47,9 @@ parameters:
- name: TestSame
type: boolean
default: false
- name: TestCanary
type: boolean
default: false
- name: Matrix
type: object
default:
Expand Down Expand Up @@ -127,7 +133,17 @@ jobs:
TestType: "node"
DependencyVersion: same
NodeTestVersion: "12.x"
TestResultsFiles: "**/test-results.xml"
TestResultsFiles: "**/test-results.xml"

# Add matrix entry for canary testing
${{ if eq(parameters.TestCanary, 'true') }}:
CanaryTest_Node:
OSVmImage: "ubuntu-18.04"
TestType: "node"
NodeTestVersion: "12.x"
TestResultsFiles: "**/test-results.xml"
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources-preview)
ResourceGroupLocation: ${{ parameters.ResourceGroupLocationCanary }}
pool:
vmImage: "$(OSVmImage)"

Expand Down
1 change: 1 addition & 0 deletions sdk/eventhub/event-hubs/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ extends:
PackageName: "@azure/event-hubs"
ResourceServiceDirectory: eventhub
TestSamples: false
TestCanary: true
EnvVars:
AZURE_CLIENT_ID: $(aad-azure-sdk-test-client-id)
AZURE_CLIENT_SECRET: $(aad-azure-sdk-test-client-secret)
Expand Down