azure-sdk-for-cpp/sdk/storage/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

64 lines
2.3 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/storage
pr:
branches:
include:
- main
- feature/*
- release/*
- hotfix/*
paths:
include:
- sdk/storage
- eng/common/testproxy
extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: storage
# Not running tests on CI but only on LiveTest mode
CtestRegex: azure-storage
LineCoverageTarget: 81
BranchCoverageTarget: 47
LiveTestCtestRegex: azure-storage
Clouds: Preview
SupportedClouds: Preview
Artifacts:
- Name: azure-storage-common
Path: azure-storage-common
VcpkgPortName: azure-storage-common-cpp
- Name: azure-storage-blobs
Path: azure-storage-blobs
VcpkgPortName: azure-storage-blobs-cpp
- Name: azure-storage-files-datalake
Path: azure-storage-files-datalake
VcpkgPortName: azure-storage-files-datalake-cpp
- Name: azure-storage-files-shares
Path: azure-storage-files-shares
VcpkgPortName: azure-storage-files-shares-cpp
- Name: azure-storage-queues
Path: azure-storage-queues
VcpkgPortName: azure-storage-queues-cpp
TestEnv:
- Name: STANDARD_STORAGE_CONNECTION_STRING
Value: "DefaultEndpointsProtocol=https;AccountName=notReal;AccountKey=3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333;EndpointSuffix=core.windows.net"
- Name: ADLS_GEN2_CONNECTION_STRING
Value: "DefaultEndpointsProtocol=https;AccountName=notReal;AccountKey=3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333;EndpointSuffix=core.windows.net"
- Name: PREMIUM_FILE_CONNECTION_STRING
Value: "DefaultEndpointsProtocol=https;AccountName=notReal;AccountKey=3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333;EndpointSuffix=core.windows.net"
CMakeTestOptions:
- Name: Default
Value: ''
- Name: Test
Value: '-DBUILD_TESTING=ON'