azure-sdk-for-cpp/sdk/tables/ci.yml
George Arama 34c2441523
Enable UseFederatedAuth by default (#5852)
* enable use federated

* 401 unauthorized

* 401

* cleanup readmes

* DISABLE RUN

* Remove UseFederatedAuth overrides from ci.yml

* DISABLE RUN for admin samples,
2024-07-31 17:10:39 -07:00

67 lines
2.2 KiB
YAML

# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger:
branches:
include:
- main
- feature/*
- release/*
- hotfix/*
paths:
include:
- sdk/tables
pr:
branches:
include:
- main
- feature/*
- release/*
- hotfix/*
paths:
include:
- sdk/tables
- eng/common/testproxy
extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: tables
# Not running tests on CI but only on LiveTest mode
CtestRegex: azure-data
LineCoverageTarget: 77
BranchCoverageTarget: 42
LiveTestCtestRegex: azure-data
Clouds: Preview
SupportedClouds: Preview
Artifacts:
- Name: azure-data-tables
Path: azure-data-tables
VcpkgPortName: azure-data-tables-cpp
TestEnv:
- Name: STANDARD_STORAGE_CONNECTION_STRING
Value: "DefaultEndpointsProtocol=https;AccountName=account-name;AccountKey=3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333;EndpointSuffix=core.windows.net"
- Name: PREMIUM_FILE_CONNECTION_STRING
Value: "DefaultEndpointsProtocol=https;AccountName=notReal;AccountKey=3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333;EndpointSuffix=core.windows.net"
# Tables related env vars
- Name: STORAGE_TENANT_ID
Value: "72f988bf-86f1-41af-91ab-2d7cd011db47"
- Name: STORAGE_CLIENT_ID
Value: "non-real-client"
- Name: STORAGE_CLIENT_SECRET
Value: "some-secret"
- Name: STORAGE_SUBSCRIPTION_ID
Value: "72f988bf-86f1-41af-91ab-2d7cd011db47"
- Name: STORAGE_RESOURCE_GROUP
Value: "rg-fake"
- Name: TABLES_STORAGE_ACCOUNT_NAME
Value: "account-name"
- Name: LOGGING__LOGLEVEL__DEFAULT
Value: "debug"
- Name: DATA_TABLES_URL
Value: "https://account-name.table.core.windows.net"
CMakeTestOptions:
- Name: Default
Value: ''
- Name: Test
Value: '-DBUILD_TESTING=ON'