azure-sdk-for-cpp/sdk/storage/ci.yml
Daniel Jurek 140e05baa7
Migrate to matrix generator (#3553)
* Represent existing matrix in json
* Use new matrix
* Move to stage
* Cloud configuration
* MaxParallel
* DependsOn
* Quote CtestRegex
* Use template for cmake generate tests
* Template name mappings
* Formatting, parameters
* Remove duplicate bypass-local-dns.yml
* Enable Location override
* Add Location
* Add spelling words
* Use Ubuntu 20 where the name specifies Ubuntu 20
* Apply suggestions from code review

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>

* PR feedback
* fix storage sample
* Matrix documentation

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
Co-authored-by: Victor Vazquez <vhvb1989@gmail.com>
2022-04-26 14:34:23 +00:00

64 lines
2.4 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
stages:
- 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: 76
BranchCoverageTarget: 41
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: AAD_TENANT_ID
Value: "33333333-3333-3333-3333-333333333333"
- Name: AAD_CLIENT_ID
Value: "non-real-client"
- Name: AAD_CLIENT_SECRET
Value: "non-real-secret"
- 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"