Commit Graph

1176 Commits

Author SHA1 Message Date
Azure SDK Bot
90cfad26ce
Add SparseCheckoutPaths to archetype-typespec-emitter.yml (#6215)
Co-authored-by: Wei Hu <huwe@microsoft.com>
2024-11-13 10:56:38 -08:00
Azure SDK Bot
99d0d9faca
Sync eng/common directory with azure-sdk-tools for PR 9328 (#6174)
* ensure that ChangedServices value within the generated pr diff is always properly an array of strings
* upload the changed services as an attachment named AdditionalTags in save-package-properties.yml, to allow PipelineWitness to tag public builds during log processing

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
Co-authored-by: Patrick Hallisey <hallipr@gmail.com>
2024-11-12 14:55:03 -08:00
Azure SDK Bot
4e67a7dc47
Update docindex.yml to use Python 3.11 (#6206)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-11-11 14:02:05 -08:00
Ahson Khan
d46cdad67f
Add project skeleton and check-in snapshot of generated SDK for Azure App Configuration. (#6176)
* Add project skeleton and check-in snapshot of generated SDK for Azure App Configuration.

* Add new line at eof

* Add exclusion to the cspell issue.

* Explicitly use size_t instead of auto for iterating through a vector

* Add another cspell exclusion, since it is case-sensitive

* Address PR feedback, update CL, package version.

* Update readme to remove template project content.

* Exclude appconfig from recordings, since none exist atm.

* Temporarily exclude appconfiguration from docs generation.

* Add line/branch coverage thresholds and skip publishing docs if they don't exist.
2024-11-08 12:28:18 -08:00
Azure SDK Bot
e7af4f79d1
Sync eng/common directory with azure-sdk-tools for PR 9354 (#6195)
* Add step for emitting rate limits for a token

* add step to eng/common sync template

* Fix resource label output

* Use propery name instead of nested 'resource' property

* Add percent metric too

* Add divide by zero safety

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-11-07 16:31:06 -08:00
Azure SDK Bot
b2a84e5b06
Sync eng/common directory with azure-sdk-tools for PR 9331 (#6193)
* Common cleanup with the docs docker images no longer being used

* Remove docker-pull-image.yml

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-11-07 14:25:36 -08:00
Azure SDK Bot
a82725c7eb
Sync eng/common directory with azure-sdk-tools for PR 9333 (#6188)
* Retry container deletion

* Do not try to purge keyvaults with purge protection

* Delete all blobs when container has immutability

* Skip missing blob container properties

* Fix null container

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-07 11:54:12 -08:00
Azure SDK Bot
3687136d04
Sync eng/common directory with azure-sdk-tools for PR 9330 (#6177)
* disable InitializeCIArtifacts outside of CI until we get a better loop for usage

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-05 12:48:10 -08:00
Azure SDK Bot
ee75d1d79f
Version/location updates for stress script usage (#6165)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-04 19:26:47 -05:00
Azure SDK Bot
75899c62d1
Sync eng/common directory with azure-sdk-tools for PR 9308 (#6172)
Remove unnecessary Resolve-Path in Get-PrPkgProperties

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-04 15:45:40 -08:00
Azure SDK Bot
12841342ce
target newly released proxy version (#6166)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-04 14:38:13 -08:00
Azure SDK Bot
3ad8f7254a
Sync eng/common directory with azure-sdk-tools for PR 9294 (#6162)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-31 16:19:43 -07:00
Azure SDK Bot
dc16283c09
Sync eng/common directory with azure-sdk-tools for PR 9288 (#6160)
* Update Logging

* Update eng/common/scripts/logging.ps1

---------

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-10-31 14:00:19 -07:00
Azure SDK Bot
abb1d64402
Reduce unnecessary delete calls to ARM for storage accounts (#6161)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-31 16:18:13 -04:00
Azure SDK Bot
9d76fb6c61
Sync eng/common directory with azure-sdk-tools for PR 9290 (#6158)
* identify and resolve missing function GenerateMatrixForConfig 
* identify and resolve miss-used null-coalesce operator

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-30 22:19:20 -07:00
Azure SDK Bot
1bc37d0627
Sync eng/common directory with azure-sdk-tools for PR 9281 (#6157)
* package-properties are now populated with matrix configurations from their ci.yml if present
* create new code path for generate-job-matrix.yml which combines Create-JobMatrix and the "distribute-packages-to-matrix" action to generate dynamic matrices for PRs

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-30 16:45:05 -07:00
Azure SDK Bot
cfd1a433ea
Sync eng/common directory with azure-sdk-tools for PR 9259 (#6147)
* Run perf tests under federated auth

Run the tests under the same federated auth used to deploy the tests and setup the variables needed to configure AzurePipelineCredential.

* Fix indention for working directory

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-10-29 13:45:18 -07:00
Azure SDK Bot
bcaaa3bfdb
Allow default matrix selection override (#6128)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-24 16:05:06 -07:00
Azure SDK Bot
2663592767
Sync eng/common directory with azure-sdk-tools for PR 9236 (#6127)
* Refactor PackageProps to make the Yaml loading and processing methods common

* Updates for feedback

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-10-24 08:58:03 -07:00
Azure SDK Bot
e7df815541
Support branch name with space in create review step (#6122)
Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>
2024-10-22 16:56:27 -04:00
Azure SDK Bot
43caa48f29
Fix spelling of Regenerate in yaml (#6121)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-10-22 13:25:25 -07:00
Azure SDK Bot
0e699e4c7a
Sync eng/common directory with azure-sdk-tools for PR 9229 (#6115)
* Remove default sub config sub-config-azure-cloud-test-resources

We no longer want to default the configuration and instead
default from the service connection which had the info we need.

* Fix quoting

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-10-21 18:20:35 -07:00
Azure SDK Bot
f4eea46002
Move perf pipelines to TME subscription (#6113)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-10-21 12:56:43 -07:00
Azure SDK Bot
2c6734e5f3
Handle cleanup for leased and encrypted storage accounts. Reduce throttling (#6109)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-18 10:50:30 -04:00
Azure SDK Bot
74fa925dea
Sync eng/common directory with azure-sdk-tools for PR 9181 (#6108)
* save-package-properties.yml only activates PR diff mechanism if the service directory is "auto"

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-17 17:03:39 -07:00
Azure SDK Bot
95e59e01fa
Sync eng/common directory with azure-sdk-tools for PR 9177 (#6100)
* Escape parentheses in includes to fix issues in publishing

* Only escape close parens

* Comments

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-10-17 08:53:06 -07:00
Azure SDK Bot
417342fd14
Handle missing artifacts without exception (#6103)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-16 16:22:11 -07:00
Azure SDK Bot
027f31302a
Set resource group env variable early so remove always works (#6106)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-16 15:25:24 -07:00
Azure SDK Bot
0ee6665571
Sync eng/common directory with azure-sdk-tools for PR 9147 (#6107)
* Changes required for sdk-repo based emitter pipelines

* Rename template

* Convert emitter archetype to pipeline template

* Move the archetype template out of the stages folder

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-10-16 15:07:00 -07:00
gearama
4d51e6bc9a
first stab at a client tsp /tspconfig scripts (#6101)
* first stab at a client tsp /tspconfig scripts

* space
2024-10-16 13:11:50 -07:00
gearama
0ec700a819
Kv tsp secrets2 (#6094)
* compact the macros
copy generated files

* some comments

* Cleanup and update to the latest SHAs

* sdffds

* working hybrid

* cleanup

* clang

* Update cmake-modules/TSPCompile.cmake

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

---------

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2024-10-15 12:13:49 -07:00
Wes Haggard
e2e59ea1f0
Switch to TME test subscription (#6093) 2024-10-14 11:05:46 -07:00
Azure SDK Bot
e1b029219f
Sync eng/common directory with azure-sdk-tools for PR 9102 (#6089)
* Add CompatibleConvertFrom-Yaml to common Package-Helpers
* Add CI artifact parsing to Save-Package-Properties, now each individual packageinfo.json file contains the relevant ci artifact lines for the package. This short circuits needing to re-parse this information in common checks.

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-11 13:00:33 -07:00
Azure SDK Bot
0e48f058d4
Sync eng/common directory with azure-sdk-tools for PR 9106 (#6082)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-08 15:58:14 -07:00
Azure SDK Bot
9b4417e38f
Use equality function check for persist oidc token step (#6084)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-08 15:37:18 -07:00
Azure SDK Bot
4b913e073e
Persist oidc env vars in deploy template (#6079)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-08 11:59:21 -07:00
Albert Cheng
9f2b00be2b
[apiview] adding pr support (#5932)
* add detect api changes

* add detect api changes

* trigger test pipeline

* adding cpp.json ref

* yml syntax

* move partial script below artifact publish

* renaming + trimming down

* download parser

* download parser

* download parser

* fix parser download

* update to parser 2.0

* update to parser 2.1

* update parser version

* trigger pipeline

* trigger pipeline

* download ste7p testing

* download ste7p testing

* download ste7p testing

* download parser from blob

* download parser from blob

* download parser from blob

* download parser from blob

* cspell

* download parser from blob

* download parser from blob

* directory change for get artifacts

* directory change for get artifacts

* publish packageinfo artifact

* publish packageinfo artifact

* publish packageinfo artifact

* debug

* debug

* artifact name

* artifact name

* artifact name

* artifact name

* api file

* delete job

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* dupe package json

* dupe package json

* codefile

* codefile

* codefile

* codefile

* codefile

* test in staging

* cleanup

* use api parser 0.15.0

* ignore unfound package for apiview artifacts

* pr adjustments

* pr adjustments

* pr adjustments

* latest version update

* update latest parser version

* add api parser version

* Update sdk/template/azure-template/src/template_client.cpp

* add template testing for api changes

* add template testing for api changes

* out path change

* out path change

* delete parser path

* delete parser path

* move save package properties out of artifacts loop

* Update sdk/template/azure-template/src/template_client.cpp

* Update sdk/template/azure-template/src/private/package_version.hpp

* Update sdk/template/azure-template/inc/azure/template/template_client.hpp
2024-10-04 13:17:45 -07:00
Azure SDK Bot
519e208a00
Need to add environment to subscription configuration (#6068)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-10-04 13:16:42 -07:00
Azure SDK Bot
54e5e22b1a
Sync eng/common directory with azure-sdk-tools for PR 9092 (#6061)
* Export the subscription data from the service connection

* Update deploy-test-resources.yml

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-10-03 15:11:09 -07:00
Ben Broderick Phillips
02e54b9ee3
Default to sub config file paths/svc connection for public + sovereign live tests (#5845) 2024-10-02 16:45:23 -04:00
Azure SDK Bot
90bd17c5b4
Update New-TestResources.ps1 to add quotes around shell envvar (#6050)
Co-authored-by: swathipil <swathip@microsoft.com>
2024-10-02 13:14:52 -07:00
Anton Kolesnyk
b550ecc46d
CI: mac: update xcode version (#6055)
* CI: mac: update xcode version

* Use xcode 15.4

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-10-01 18:40:43 -07:00
Azure SDK Bot
3fc099bfd0
Docs onboarding: ValidatePackageForOnboarding2 -> PackageIsValidForDocsOnboarding (#6045)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-09-26 15:05:17 -07:00
Azure SDK Bot
da781f6c13
Update CodeownersLinter to 1.0.0-dev.20240926.2 (#6046)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-09-26 12:33:56 -07:00
Ahson Khan
aa728eed6d
Use code snippets from managed identity credential samples in identity readme doc and fix minor generation issues (#6020)
* Use code snippets from managed identity credential samples in identity readme doc.

* Generate readme from snippets.

* Update snippet generation script to remove unnecessary indentation and extra new line at eof.

* Update Snippet Generation doc to show a concrete example on how to run it.

* Update other repo READMEs with the generation fixes.

* Fix KeyVault Secrets sample and use the snippets in its README

* Use the added sample snippet.
2024-09-25 16:56:57 -07:00
Azure SDK Bot
9655b9f5b8
Sync eng/common directory with azure-sdk-tools for PR 9035 (#6032)
* don't verify changelog for packages that aren't actively published anymore
---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2024-09-25 11:46:31 -07:00
Azure SDK Bot
bc9aaa43cf
Sync eng/common directory with azure-sdk-tools for PR 9013 (#6013)
* Spelling: Remove deprecated --no-install, replace with --no

* Extract testing, use npm exec instead of npx

* Move tests to eng/common-tests/

* Cleanup, documentation

* More cleanup

* Update $command

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-09-24 09:50:14 -07:00
Ahson Khan
610c85d768
Disable static analysis for live test pipelines. (#6024)
* Disable static analysis for live test pipelines.

* Remove the AZURE_ENABLE_STATIC_ANALYSIS env var definition.
2024-09-23 22:36:18 +00:00
Wes Haggard
9789d540e8
Revert "Pin windows image version (#5995)" (#6010)
This reverts commit ea00a69e04.
2024-09-23 11:02:00 -07:00
Azure SDK Bot
bc7feb0784
Fix sparse-checkout commit (#6015)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-20 11:56:18 -07:00