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

60 lines
1.8 KiB
YAML

# 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/attestation
pr:
branches:
include:
- main
- feature/*
- release/*
- hotfix/*
paths:
include:
- sdk/attestation
extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: attestation
Clouds: Public
Location: WestUS
CtestRegex: azure-security-attestation.*
LiveTestCtestRegex: azure-security-attestation.*
LineCoverageTarget: 70
BranchCoverageTarget: 34
Artifacts:
- Name: azure-security-attestation
Path: azure-security-attestation
VcpkgPortName: azure-security-attestation-cpp
TestEnv:
# NOTE: The CI pipeline uppercases all "Name" values in the TestEnv, so if you
# add a mixed case name, be careful to ensure it is read using an upper case
# name.
- Name: ATTESTATION_ISOLATED_URL
Value: https://NotRealAttestationInstanceiso.wus.attest.azure.net
- Name: ATTESTATION_AAD_URL
Value: https://NotRealAttestationInstanceaad.wus.attest.azure.net
- 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"
# NOTE: The LOCATION_SHORT_NAME *must* match the region in which the tests were created.
- Name: LOCATION_SHORT_NAME
Value: "wus"
- Name: ISOLATED_SIGNING_CERTIFICATE
Value: "Bogus Certificate"
- Name: ISOLATED_SIGNING_KEY
Value: "Bogus Key"