Commit Graph

1459 Commits

Author SHA1 Message Date
Azure SDK Bot
12d9e66e4f
handle only deleted files in a <language> - pullrequest build (#6359)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-01-21 15:16:43 -08:00
Azure SDK Bot
4d8c32d22a
Sync eng/common directory with azure-sdk-tools for PR 9652 (#6361)
* Update github.io docs to use static website instead of blobs directly

* Update eng/common/scripts/copy-docs-to-blobstorage.ps1

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

* Switch from AzurePowerShell to AzureCLI task

* Add scriptLocation to docindex.yml

* Update Generate-DocIndex.ps1

* Fix indentation in docindex.yml script block

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2025-01-21 08:55:49 -08:00
Daniel Jurek
6f3ee2ab6a
Djurek/cleanup vm image (#6360)
* Remove vmImage from daily-verification.yml

* (test) Disable PR creation to validate change

* Revert "(test) Disable PR creation to validate change"

This reverts commit fc8343097ef11e4c78dfc6431c6ca35a79dded86.
2025-01-20 09:52:48 -08:00
Azure SDK Bot
fbe7276a5e
Fix broken link (#6347)
Co-authored-by: McCoy Patiño <39780829+mccoyp@users.noreply.github.com>
2025-01-17 15:11:04 -08:00
Azure SDK Bot
757e967f90
Sync eng/common directory with azure-sdk-tools for PR 9601 (#6351)
* updates to dynamic matrix generation. moves indirectly included packages to sparse usage. adds additional parameters to GeneratePRMatrix that enable further filtering of the matrix generated for the indirect packages

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-01-17 12:00:38 -08:00
Azure SDK Bot
c11ef150fa
Remove sovereign cloud testing support (#6358)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-01-17 09:54:37 -08:00
Azure SDK Bot
38ab95ddde
Sync eng/common directory with azure-sdk-tools for PR 9577 (#6356)
* Add common SDK generation pipeline

* Update Yaml Configuration

* Update SDK generation Yaml config

* Add spec-gen-sdk pipeline configuration

* Remove spec-gen-sdk.yml and add archetype-spec-gen-sdk.yml

* Allow pipelline override of repo organisation

* Remove SkipPullRequestCreation from pipeline condition

---------

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-01-17 08:18:02 -08:00
Ben Broderick Phillips
bfba762f14
Remove sovereign cloud testing references (#6355) 2025-01-17 09:06:43 -05:00
Azure SDK Bot
b0b69233ab
Sync eng/common directory with azure-sdk-tools for PR 9649 (#6353)
* Filter out Excludes for PR Pipelines

* Updates for feedback

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2025-01-16 12:23:05 -08:00
Azure SDK Bot
938222b018
Sync eng/common directory with azure-sdk-tools for PR 9529 (#6305)
* Use -Mail for test resources local user lookup to support TME

* Auto-select TME subscription based on user context

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-01-16 10:42:58 -08:00
Azure SDK Bot
413e61ade4
Sync eng/common directory with azure-sdk-tools for PR 9635 (#6350)
* ensure that packages that come back from AdditionalValidationPackages are NOT counted as 'includedForValidation: true' if they also exist in the original 'these packages changed' set

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

---------

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>
2025-01-15 13:35:45 -08:00
Wes Haggard
32b732cb78
Move vcpkg cache to azuresdkartifacts (#6348) 2025-01-15 11:40:42 -08:00
Azure SDK Bot
713c8531db
remove erroneous package inclusion during package-properties evaluation (#6346)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-01-14 16:07:16 -08:00
gearama
8839b4bbf3
Add Versions of various tools (#6313)
* try1

* xcode

* ddgf

* gfd

* gfdd

* clang

* cspell

* Update eng/pipelines/templates/jobs/ci.tests.yml

Co-authored-by: Daniel Jurek <djurek@microsoft.com>

* update vcpkg version after install

* tabs

* sfds

* fsd

* gdf

* gdf

* dfs

* fsd

* hfg

* fds

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2025-01-09 12:59:46 -08:00
Wes Haggard
461894d526
Update location for doxygen tool (#6319)
Also update the location of the apiview parser
2025-01-08 12:58:18 -08:00
Azure SDK Bot
feb0f21a85
update proxy to version with auto-shutdown present (#6317)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-01-06 16:59:52 -08:00
Azure SDK Bot
34364825e4
Fix incorrect variable name (#6316)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2025-01-02 17:15:56 -08:00
gearama
3b81c2b009
Enable code AN in CI (#6315) 2024-12-30 15:32:10 -08:00
Azure SDK Bot
30902ff60f
Sync eng/common directory with azure-sdk-tools for PR 9493 (#6283)
* add and use new function to PSModule-Helpers.ps1 -- `InstallAndImport-ModuleIfNotInstalled` which smartly short circuits the install and module import to be as efficient as possible. This largely has impact of improving Save-Package-Properties performance on windows machines.

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-12-11 17:40:36 -08:00
Azure SDK Bot
e317102647
bump proxy PR (#6284)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-12-09 21:09:53 -08:00
Azure SDK Bot
d03f77a4b0
Support Test Proxy logging error output into a different log file (#6275)
Co-authored-by: alzimmermsft <48699787+alzimmermsft@users.noreply.github.com>
2024-12-06 16:53:43 -05:00
Azure SDK Bot
632728efb0
Sync eng/common directory with azure-sdk-tools for PR 9466 (#6280)
* Use new generation tool that supports service connections

* Fix condition for generating weekly test pipelines

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-12-06 09:07:08 -08:00
Daniel Jurek
551b673bca
docs.microsoft.com -> learn.microsoft.com in eng/ (#6278) 2024-12-05 13:29:38 -08:00
Azure SDK Bot
7d9fc9fda0
Clean-up some noisy logging (#6279)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-12-05 11:32:06 -08:00
Azure SDK Bot
1243b29148
Hide output from register/unregister ps module repository (#6272)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-12-02 15:23:35 -08:00
Azure SDK Bot
11ee6a6005
remove previous cadl scripts (#6262)
Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>
2024-11-26 15:47:05 -08:00
Azure SDK Bot
573ee503d2
Sync eng/common directory with azure-sdk-tools for PR 9392 (#6247)
* Support override of powershell module feeds

* snap

* Add fallback repository support

* Unregister repository after module install

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-21 13:48:44 -08:00
Azure SDK Bot
cc0f5a0ca9
add rerun pipeline (#6242)
Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>
2024-11-20 13:36:32 -08:00
Azure SDK Bot
5654cb958a
Bump powershell yaml versions to 0.4.7 (#6220)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-20 12:29:58 -08:00
Azure SDK Bot
8f6ea6b9b8
Sync eng/common directory with azure-sdk-tools for PR 9381 (#6239)
* change our verifyChangelogs over to utilizing the artifact details. if we don't have an artifact details at all, don't verify changelog. if we do, but skipverifychangelog is present, don't verify changelog. if we have artifact details, but no disable, verify the changelog

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-18 15:13:17 -08:00
Azure SDK Bot
9464edce03
batching adjustments for create-prjobmatrix (#6238)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-18 12:57:45 -08:00
Azure SDK Bot
88beb19768
Add helpers to log a GitHub "notice" (#6228)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2024-11-15 17:10:57 -08:00
Azure SDK Bot
e7e4477a63
Fix missing stress matrix display name filter (#6210)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-13 15:01:58 -05:00
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
Azure SDK Bot
3759f0b41a
Update TestProxy version to 1.0.0-dev.20240919.1 for net6->net8 update (#6012)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-09-19 15:23:28 -07:00
Azure SDK Bot
199a879a72
AdditionalValidationPackagesFromPackageSetFn now accepts all discovered packages (#6011)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-09-19 12:12:17 -07:00
Azure SDK Bot
ef728e9eda
we need the condition to be set on populateScanPaths step. if we don't, and there are previous failures in the analyze pipeline, we won't properly invoke verify readmes. (#6005)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-09-19 11:34:02 -07:00
Wes Haggard
6aee9b2702
Revert "Update PublishCodeCoverateResults task (#5972)" (#6009)
This reverts commit 62891eefd6.
2024-09-19 11:26:49 -07:00
Azure SDK Bot
fdfc6e0324
Update to newer resource id for open source api (#6006)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-09-18 15:00:28 -07:00
Azure SDK Bot
c363627f27
Update perf tests to use federated auth (#6004)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-18 14:07:57 -07:00
Wes Haggard
ea00a69e04
Pin windows image version (#5995) 2024-09-17 15:07:33 -07:00
Azure SDK Bot
efac2c35d8
Update CodeownersLinter for net6 to net8 update (#5998)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-09-17 14:57:11 -07:00
Azure SDK Bot
8a5bf54113
Sync eng/common directory with azure-sdk-tools for PR 8974 (#5994)
* updating package properties with direct/indirect (if named differently) as well as pulling BuildDocs from ci.yml artifact list if it exists

* eliminate the addition of buildDocs property. it requires powershell-yaml to be present on our base function. not good

* remove call to InitializeBuildDocs

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-09-16 16:01:04 -07:00
Azure SDK Bot
0c6d59b645
Update PublishCodeCoverageResults task to v2 (#5987)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-13 11:58:55 -07:00
Azure SDK Bot
668c7acb2e
Sync eng/common directory with azure-sdk-tools for PR 8959 (#5982)
* Disable sbom generation for forked PR builds

* Update publish-1es-artifact.yml

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-13 09:20:41 -07:00
Azure SDK Bot
f00f07dfe0
Require minimum stress addons version of 0.3.0 (#5981)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-09-12 16:55:13 -07:00
Wes Haggard
658c1f317b
Don't warn on folders that aren't actually packages (#5974) 2024-09-12 22:45:41 +00:00
Ben Broderick Phillips
ac63f2618e
Add auto-baseline main pipeline config for core (#5979) 2024-09-12 16:08:24 -04:00
Wes Haggard
62891eefd6
Update PublishCodeCoverateResults task (#5972) 2024-09-11 13:43:50 -07:00
Larry Osterman
5afc447ff7
Use new clang-18 based ApiView (#5970) 2024-09-11 12:32:28 -07:00
Wes Haggard
f127982f53
Ignore non ascii chars under eng (#5971) 2024-09-11 00:31:30 +00:00
Azure SDK Bot
cfcfac67f7
Sync eng/common directory with azure-sdk-tools for PR 8902 (#5965)
* Add descriptive error when variable groups are not added to pipeline

* Add emoji to deploy step title to make it easier to find

* Move yaml json checking into powershell script

* Fix base sub config empty/string checking

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-09-10 17:04:41 -04:00
Wes Haggard
5f90646d3e
Refactor prepare-pipelines.yml (#5964) 2024-09-09 15:23:43 -07:00
Azure SDK Bot
d77c11839a
Sync eng/common directory with azure-sdk-tools for PR 8929 (#5966)
* Refactor prepare-pipelines

* Convert pipeling generation single to use template

* Convert to pwsh for setting the variables

* Fix switch expression

* Add path separator in front of devopspath

* Continue on error for individual step failures

* Remove unnecessary parameters

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-09 10:44:03 -07:00
Wes Haggard
10025fd2a2
Fix vcpkg cache (#5963) 2024-09-06 09:57:58 -07:00
Azure SDK Bot
01d0ac359f
update package lock to deal with the component governance alert (#5961)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-09-04 14:30:16 -07:00
Azure SDK Bot
aeb335d14f
Add support for aka.ms, github wiki and crates.io checking (#5957)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-09-03 15:53:26 -07:00
Azure SDK Bot
14e5fcd057
Avoid adding the same package twice, use TrimStart instead of substring (#5956)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-09-03 15:51:44 -07:00
Wes Haggard
e636fc5f3e
Remove unused variable group (old cpp cache key) (#5955) 2024-09-03 11:04:40 -07:00
Azure SDK Bot
5a4a4a1b20
add quotes to powershell args (#5953)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-08-30 14:53:24 -07:00
Wes Haggard
11a61fa980
Switch to User Delegate SAS for vcpkg caching (#5950) 2024-08-30 10:33:47 -07:00
Azure SDK Bot
7e9246794a
Sync eng/common directory with azure-sdk-tools for PR 8900 (#5951)
* Add save-package-properties yaml

* Encapsulate Save-Package-Properties.ps1 invocation into yaml

* Fix output formatting

* Fix code style

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-08-29 14:44:37 -07:00
Azure SDK Bot
ab68436d2c
Sync eng/common directory with azure-sdk-tools for PR 8878 (#5949)
* Apply a few changes to Get-PRPackageProperties to make it more customizable for our users. Remove wonky gap + extra spacing that should pass the patch application process now that we've manually aligned common.ps1

* account for feedback -- rename CanaryPackages to AdditionalValidationPackages

* dependentPackagesforInclusion -> additionalValidationPackages

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-08-28 18:11:21 -07:00
Wes Haggard
45cb4a5f87
Turn off warnings from sdl disablement (#5945)
See https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-pipeline-templates/features/sdlanalysis/disablingtools for info on this new flag.
2024-08-28 16:32:49 -07:00
Azure SDK Bot
c9d308d6d5
Sync eng/common directory with azure-sdk-tools for PR 8875 (#5941)
* chore(): add playwright-testing to product slugs

* Update eng/common/scripts/Test-SampleMetadata.ps1

---------

Co-authored-by: Siddharth Singha Roy <ssingharoy@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-08-28 03:19:20 +05:30
Azure SDK Bot
5c082753ac
Sync eng/common directory with azure-sdk-tools for PR 8865 (#5933)
* bump proxy version

* bump proxy version

* restore most of the old performance, only fall back to json matching when something goes wrong

* use newest version with protection from invalid json

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-08-25 11:36:13 -07:00
Azure SDK Bot
227ae0ea0b
Allow Save-package-properties to exit 0 when prs produce no package changes (#5936)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-08-23 17:15:24 -07:00
Azure SDK Bot
758460d618
Add FilePattern support for .github\workflow sync (#5919)
Given we cannot create subfolders under .github\workflow folder
and we have repos that want additional workflows then we have
in the tools repo we need to setup a file pattern matching for
the sync processing to only sync the ones we want to be common.

For now just use the existing *event* pattern but we can move them
to another pattern similar to *common* or *sync* in the future as
we add more common workflows.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-08-16 14:03:15 -07:00
Wes Haggard
244b4b5d51
Remove azure-sdk-docs-prod-blob-name usage (#5911) 2024-08-16 12:25:19 -07:00
Azure SDK Bot
6d77ab85dc
Sync eng/common directory with azure-sdk-tools for PR 8842 (#5912)
* Clean-up publish-blobs.yml to have better defaults

* Update copy-docs-to-blobstorage.ps1

* Update publish-blobs.yml

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-08-15 10:45:52 -07:00
Azure SDK Bot
4d829f32ba
Sync eng/common directory with azure-sdk-tools for PR 8830 (#5915)
* Add RestAPISpecsDocsRepos to branch cleanup.

* Remove commented out yml, add pre-message to limit output and output core limit at the start of processing

* updates for feedback

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-08-15 10:03:50 -07:00
Azure SDK Bot
c3e0967d16
Sync eng/common directory with azure-sdk-tools for PR 8831 (#5913)
* we want the path that we write to to be defined by literalpath, otherwise files with [ or ] will break powershell when writing the file to disk

* slight wording adjustment so the command can be invoked directly

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-08-14 17:58:38 -07:00
Azure SDK Bot
b4020493c4
Sync eng/common directory with azure-sdk-tools for PR 8754 (#5884)
* more compatibility with expanding/contracting packages. add ability for packages to have DependentPackages that must be included in the set of packages that should be built given a changeset


---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-08-07 16:18:42 -07:00
Azure SDK Bot
65e2547763
Sync eng/common directory with azure-sdk-tools for PR 8760 (#5874)
* Do not mark values as secret that are from git-hosted sub config files

* Simplify sub config build yaml

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-08-06 12:54:24 -07:00
Azure SDK Bot
4da0180c98
bump proxy to one with an audit log and more correct locking (#5878)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-08-06 12:32:07 -07:00
Azure SDK Bot
f9ea69c0e8
Sync eng/common directory with azure-sdk-tools for PR 8746 (#5865)
* update targeted proxy version


---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-08-02 12:45:48 -07:00
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
Azure SDK Bot
ce0e7ced1d
update the migration script entrypoint to catch git config errors before the push happens (#5853)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-07-30 12:49:46 -07:00
Azure SDK Bot
3b6a7a80d5
updating the proxy certs (#5849)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-07-28 13:01:49 -07:00
Azure SDK Bot
67f1632454
Change the daily docs branch name (#5847)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-07-26 12:55:04 -07:00
Azure SDK Bot
7176808c7f
Add remaining preview/sov cloud sub configs to common dir (#5844)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-07-24 12:38:54 -07:00
Wes Haggard
c32fd0dc80
Explicitly install python (#5833)
Looks like the latest windows image failed to have python installed. So explicitly installing it.
2024-07-22 15:19:42 -07:00
Ahson Khan
bbc5a307a8
Update live.tests.yml samples display name to be shorter. (#5828) 2024-07-19 14:24:22 -07:00
Azure SDK Bot
522b25508d
Sync eng/common directory with azure-sdk-tools for PR 8650 (#5812)
* missed a condition passthrough

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
2024-07-19 13:44:47 -07:00
Azure SDK Bot
0ec395d016
Add Azure Health Data Service product slug (#5831)
Co-authored-by: Scott Addie <scott.addie@microsoft.com>
2024-07-19 13:40:59 -07:00
Wes Haggard
3329e9d854
Update Preview Test Sub to use new connection (#5826)
In order to get both deployment and clean-up working we need to have a connection that points at the right subscription. Today azure-sdk-tests points to the name Test Sub but I created azure-sdk-tests-preview connection which points to the Preview Test Sub.

This will fix the clean-up step which is currently failing for things deployed in Preview.
2024-07-18 15:20:39 -07:00
Ahson Khan
9b9f76a737
Re-enable running previously disabled samples using AzureCliCredential. (#5818)
* Re-enable running KeyVault samples on Ubuntu using AzureCliCredential.

* Re-enable running Attestation samples using AzureCliCredential.

* Re-enable running EventHubs samples using AzureCliCredential.

* Re-enable running Identity samples.

* Disable client_secret_credential_sample since it depends on env vars
that don't exist.
2024-07-18 14:45:27 -07:00
Azure SDK Bot
e67bcaa558
Sync eng/common directory with azure-sdk-tools for PR 8602 (#5801)
* add additional argument to Save-Package-Properties to allow for usage in pull request context

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-07-18 11:44:18 -07:00
Azure SDK Bot
ae14b41e8e
Sync eng/common directory with azure-sdk-tools for PR 8598 (#5777)
* Set storage account test resources to disable blob public access

* Skip adding network rules to storage accounts that don't need them during cleanup

* Add succeeded check to set pipeline subnet info step

* Disable network firewall by default in resource creation/removal

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-07-12 17:15:32 -04:00
George Arama
313fb0e58f
Move tests to use azure pipeline credentials (#5754)
* test1

* hgdfchg

* remove the remnants of azure client secret

* test KV with federated auth

* UseFederatedAuth

* fdsa

* kv template with managed

* try try again

* retry permissions

* add net acls

* blunt force replace the resource json

* put back stuff

* trey again with new method

* attempt

* missed something

* flip if else

* Temporarily use empty sub config file path for preview cloud

* remove client secret

* try to fix the identity tests

* live skip failing tests and return in samples

* samples for identity fix

* disable failing samples in identity

* fix winhttp failing test

* comment out code

* remove managed identity

* restore version from main

* revert readme changes

* PR comments

* test 2

* clang

* attempt default creds with pipeline chanined

* clangs

* identity test and clangs

* oops

* live

* cleanup

* reter

* test

* revert the DAC change

* missed one

* taking the samples to a farm upstate

* PR comments

* Fix bad merge

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-07-11 17:38:19 -07:00
Anton Kolesnyk
69ce3d7cfa
Show-FailureLogs to include vcpkg build failure logs (#5776)
* Show-FailureLogs to include vcpkg build failure logs

* Add comment

* Add proper array syntax

* Use proper syntax to create an array even if there's only a single element

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

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2024-07-11 16:34:44 -07:00
Azure SDK Bot
1143b6bf4d
Support regex/negative regex filters for stress test discovery. Add storage env defaults (#5779)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-07-11 13:25:01 -04:00
Azure SDK Bot
b1207fc87a
add the ability to override default succeeded() conditioning by parameter (#5780)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-07-10 14:26:42 -07:00
Azure SDK Bot
bc547c4f4c
Sync eng/common directory with azure-sdk-tools for PR 8558 (#5764)
* Support storage network access and worm removal in remove test resources script

* Move storage network access script to common resource helpers file

* Improve storage container deletion resilience

* Plumb through pool variable to live test cleanup template

* Add sleep for network rule application

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-07-08 17:56:18 -04:00
Azure SDK Bot
32250eaf25
Delete eng/common/InterdependencyGraph.html which is unused. (#5763)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-07-05 13:15:17 -04:00
Wes Haggard
2e4e87f490
Disable codeql as it is causing build issues (#5761)
All the other languages have disabled codeql and we are now hitting blocking issues when running codeql on macos (https://dev.azure.com/twcdot/Data/_workitems/edit/138580) and even on the other OS's the configuration causes the builds to run for a long time.
2024-07-03 15:03:29 -07:00
Azure SDK Bot
8b39000b42
Sync eng/common directory with azure-sdk-tools for PR 8549 (#5762)
* commit the file changes so that we can see them running

* use standalone tool

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-07-03 14:54:52 -07:00
Azure SDK Bot
5251c27034
Sync eng/common directory with azure-sdk-tools for PR 8516 (#5752)
* Ensure subConfigFiles is not an empty string

* Skip instances where $file is an empty string

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-07-03 17:51:11 -04:00
Azure SDK Bot
a7ce5b43c3
Sync eng/common directory with azure-sdk-tools for PR 8528 (#5755)
* Fix default value for env vars in build-test-resource-config template

* Add empty pool condition

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-07-03 14:23:56 -04:00
Anton Kolesnyk
f8130a26ae
If formatting fails in CI, print detailed diff (#5756)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-07-01 17:43:22 -07:00
Daniel Jurek
b0aa9bb924
Add federated auth support (#5740)
* Add federated auth support

* Wire up UseFederatedAuth more and EnvVars

* parameters.

* Testing

* ServiceConnection

* ServiceConnection (again)

* Remove testApplicaitonSecret

* Parameters

* exit $LASTEXITCODE

* Merge EnvVars correctly, only include SubscriptionConfigurationFilePaths if using federated auth

* Review comments

* Revert identity changes so tests continue passing
2024-07-01 21:36:07 +00:00
Azure SDK Bot
88bb72c045
Sync eng/common directory with azure-sdk-tools for PR 8371 (#5685)
* Restrict live test storage account access to client IP

* Add storage pools to test resources vnet allowlist

* Use pool subnet map to reduce number of subnets added to live test resources

* snap

* Add test resource parameter to add ip ranges to storage firewall

* Validate and update ip firewall rules

* Get pool subnet using separate workload identity

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-07-01 15:08:16 -04:00
Ben Broderick Phillips
bed0d5585a
Add pool env variable to build-test-resource-config template (#5749) 2024-06-26 16:06:14 -04:00
Ben Broderick Phillips
55c241902d
Add pool variable and user env variables to test resources environment (#5731) 2024-06-21 17:41:28 -04:00
Azure SDK Bot
8750d80f07
Force amd64 as the build platform - it has to match what the AKS cluster is running on. (#5738)
Co-authored-by: Richard Park <ripark\@microsoft.com>
2024-06-21 15:18:06 -04:00
Azure SDK Bot
7d463cd596
update the target version of the proxy (#5732)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-06-21 10:59:59 -07:00
Wes Haggard
572c2ae27a
update macos image from 11 to latest (#5721) 2024-06-21 08:14:56 -07:00
Azure SDK Bot
e24c5f9900
Fix case where changelog wasn't marked as invalid (#5726)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-06-18 18:37:04 -04:00
Azure SDK Bot
247583f456
Update publish template (#5727)
Add logging and fix display name given Agent.JobStatus doesn't evaluate currently in the display name property.

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-06-18 16:48:00 -04:00
George Arama
0b5b5ac951
Json library update and Xcode15 (#5681)
* Move up macos and xcode version

* first pass

* to trigger builds, some other issue

* rewrwe

* Remove MSVC compiler warning suppressions in KeyVault

The code within the `mocked_transport_adapter_test.hpp` file, specifically within the `Azure::Security::KeyVault::Keys` namespace, has been updated. The `#if defined(_MSC_VER)` preprocessor directive along with its associated `#pragma warning(push)` and `#pragma warning(disable : 4996)` directives have been removed. The corresponding `#pragma warning(pop)` directive has also been removed. The lines of code that were between these preprocessor directives remain unchanged. These changes remove specific compiler warning suppressions for MSVC compilers, but do not alter the functional behavior of the code.

* dassa

* Add UseDotNet@2 where test proxy might run on a macos agent

* test CI

* fsd

* dasdas

* gregre

* gerregr

* ffdsfsd

* fwefew

* fewfwew

* reter

* fewfew

* fwefwe

* rewrw

* rwe

* temp move build step to exec faster

* gdfgd

* fsdfd

* fdsfs

* dgdf

* Roll forward instead of installing .NET 6

* remove manual install

* rewrew

* gfdffg

* rewrwe

* gfdgd

* fdsfs

* gfdgdf

* tertre

* dasda

* try http for test proxy

* revert readmes

* rew

* rew

* fdsfsd

* ewrew

* revert storages

* KV

* opentelemetry

* remove warnbing

* anton comments

* unit tests

* clangs

* clang

* comment out some asserts

* restore originals

* updated tests

* clangs

* restore cmake

* test

* Remove manual workaround (eng/common change fixes this)

* test2

* the fix doesn't work, need to put back

* Remove DOTNET_ROLL_FORWARD

* annotate macro , put back DOTNET_ROLL_FORWARD

* remove leftover files

* reww

* update changelog

* remove left over file

* remove some doxygen comments

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-06-18 08:26:28 -07:00
Azure SDK Bot
2f74d85edb
Sync eng/common directory with azure-sdk-tools for PR 8422 (#5712)
* Merge subscription configuration file values with the supplied subscription config

* Bring forward working parts

* Collapse into a single task

* SubConfig-Helpers.ps1 changes

* Update remove-test-resources.yml

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-06-17 16:27:00 -07:00
Azure SDK Bot
c4a395e0b9
Pass pipeline vnet to live test arm templates (#5724)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-06-17 18:07:39 -04:00
Azure SDK Bot
b7b9ab04af
Sync eng/common directory with azure-sdk-tools for PR 8457 (#5722)
* Update macos image from 11 to latest

* unpin pester now that 5.6.0 is on the agent

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-06-17 14:54:06 -04:00
Azure SDK Bot
bbfc93fcae
Update CodeownersLinter version to 1.0.0-dev.20240614.4 (#5720)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-06-14 11:45:11 -07:00
Azure SDK Bot
ed9f70ad16
Update spelling dependencies (#5719)
This is the result of `npm audit fix` to address vulnerability in older versions
of `braces`.

Co-authored-by: Jeremy Meng <yumeng@microsoft.com>
2024-06-13 17:22:10 -07:00
Azure SDK Bot
f80f2d7999
Sync eng/common directory with azure-sdk-tools for PR 8388 (#5704)
* Removal of the devops release PAT

* Don't pass in the access token, just use the AzureCLI task and do everything in the scripts

* Updates for feedback

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-06-13 12:10:14 -04:00
Azure SDK Bot
77e23c2108
Fix prepare-pipelines line wrapping (#5716)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-06-12 18:34:13 -04:00
Azure SDK Bot
fe18f39cb3
Pin pester version to 5.5.0 (#5703)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-06-07 10:16:39 -07:00
Azure SDK Bot
666e611153
Use DOTNET_ROLL_FORWARD: 'Major' for test-proxy (#5699)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-06-07 12:04:58 -04:00
Azure SDK Bot
3635e2064a
Sync eng/common directory with azure-sdk-tools for PR 8377 (#5690)
* Plumb env vars through deploy test resources

* Update eng/common/TestResources/deploy-test-resources.yml

Co-authored-by: Daniel Jurek <djurek@microsoft.com>

* Update eng/common/TestResources/deploy-test-resources.yml

Co-authored-by: Daniel Jurek <djurek@microsoft.com>

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-06-06 19:11:02 -04:00
Azure SDK Bot
459c148d06
bump target version of the test proxy (#5688)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-06-04 15:58:11 -07:00
Azure SDK Bot
f715b5674f
Sync eng/common directory with azure-sdk-tools for PR 8370 (#5689)
* PAT Removal from pipeline generation yml

* update version of PipelineGenerator to install

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-06-04 14:09:47 -07:00
Azure SDK Bot
cee9b6ab5e
Sync eng/common directory with azure-sdk-tools for PR 8324 (#5671)
* Reuse same branch name for previews of a PR

* Default AddBuildSummary parameter using pipeline variable existence

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-05-30 10:39:42 -07:00
Wes Haggard
0c9aae5cac
Update variable group for prepare-pipelines (#5677)
See https://github.com/Azure/azure-sdk-tools/pull/8359
2024-05-29 17:15:15 -07:00
Wes Haggard
7dedba1a4f
Update to use opensource api token (#5668) 2024-05-29 13:08:26 -07:00
Azure SDK Bot
dc64ca6eb3
Sync eng/common directory with azure-sdk-tools for PR 8340 (#5669)
* Changes to scripts to deal with PATs and AccessTokens

* swap access and auth for add-retention-lease

* AuthToken to BearerToken and remove unused Base64EncodedAuthToken from the script parameters

* remove unneccsary if not null check for the mandatory parameter

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-05-28 15:52:20 -07:00
Azure SDK Bot
1b8d54e396
Sync eng/common directory with azure-sdk-tools for PR 8319 (#5653)
* Add static file secret-less sub-config support

* Review feedback: if/else

* http -> https

* Update eng/common/TestResources/deploy-test-resources.yml

* Space cleanup

* Add AzurePublicMsft.json

* Remove EnvironmentVariables

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-05-28 14:43:46 -07:00
Daniel Jurek
2098095d68
Set retryCountOnTaskFailure for idempotent AzurePowerShell task (#5654)
* Set retryCountOnTaskFailure for idempotent AzurePowerShell task
* Review feedback: 3
2024-05-23 19:33:06 +00:00
Azure SDK Bot
af92a6980a
Sync eng/common directory with azure-sdk-tools for PR 8278 (#5659)
* Migrate stress cluster to use workload identity

* Only sleep to sync fed creds when namespace is new

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-05-23 10:42:33 -07:00
Daniel Jurek
599f701215
Remove setup-msvc side-by-side mitigation (#5641) 2024-05-22 13:09:08 -07:00
Azure SDK Bot
e829de01f5
Sync eng/common directory with azure-sdk-tools for PR 8294 (#5638)
* consume newest stable version of the test-proxy

* remove override of proxy pins to resume honoring standard proxy version in CI

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-05-21 17:44:24 -07:00
Azure SDK Bot
edfca94426
Sync eng/common directory with azure-sdk-tools for PR 8295 (#5639)
* ensure we write the log to the same root directory as what is being used for the proxy invocation

* fix spacing

* we should write these proxy logs to the same root folder that we start the proxy in

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-05-17 17:15:08 -07:00
Azure SDK Bot
afb41afa58
properly feed the proxy output into the log on windows (#5569)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-05-17 13:41:46 -07:00
James Suplizio
4415f66cff
Remove usage of azure-sdk-docs-prod-sas (#5637) 2024-05-17 17:44:12 +00:00
Azure SDK Bot
d055b7a921
Sync eng/common directory with azure-sdk-tools for PR 8283 (#5635)
* Update APIView script path to absolute path
2024-05-17 12:58:56 -04:00
Azure SDK Bot
a315b29bab
Remove SAS token from GitHubIO blob storage docs publish (#5636)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-05-17 09:35:10 -07:00
Azure SDK Bot
0869a14ff5
Sort the keys in devDependencies and overrides (#5629)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-05-16 17:42:52 -07:00
Azure SDK Bot
e8954d04ae
Convert live test clean-up to use WIF for open source api access (#5630)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-05-16 16:42:57 -07:00
Azure SDK Bot
d41af3f1e2
Sync eng/common directory with azure-sdk-tools for PR 8267 (#5627)
* CODEOWNERS linter yml updates

* commit to add a space

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-05-16 11:56:18 -07:00
Azure SDK Bot
3a67ae53cb
Sync eng/common directory with azure-sdk-tools for PR 8216 (#5623)
* Make create apireview runnable from non default working directory
2024-05-16 13:41:58 -04:00
Azure SDK Bot
c79967ef99
Sync eng/common directory with azure-sdk-tools for PR 8249 (#5616)
* Add support for Federated Auth to test resources scripts

* Default -- UseFederatedAuth: false

* Clear secrets if FederatedAuth is set

* Template conditions use AzurePowerShell only when a service connection is needed

* Review feedback and pair with Ben

* Update docs

* http:// -> https://

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-05-15 14:17:16 -07:00
Azure SDK Bot
565f07da68
Added variable to skip spec location chk (#5621)
Co-authored-by: raychen <raychen@microsoft.com>
2024-05-15 14:46:44 +08:00
Wes Haggard
cd3655c322
Use template condition instead of runtime condition (#5603)
"cpp Resource Group" is only available for internal builds so we need to condition this entire step out on non-internal builds.
2024-05-07 13:58:10 -07:00
Daniel Jurek
caa3010ece
Harden Show-FailureLogs.ps1 against failures where the files are not present between Get-ChildItem and the output of the file (#5454)
* Harden Show-FailureLogs.ps1 against failures where the files are not present between Get-ChildItem and the output of the file

* Also log .FullName
2024-05-06 22:44:34 +00:00
Daniel Jurek
df8c4d4b2c
Use Azure federated auth (#5599) 2024-05-06 15:15:21 -07:00
Daniel Jurek
ac685055e6
Remove install-cmake.yml (#5581) 2024-04-29 22:15:47 +00:00
Azure SDK Bot
95cfb845cf
Sync eng/common directory with azure-sdk-tools repository (#5583) 2024-04-29 13:06:23 -07:00
Azure SDK Bot
56b5666b59
Sync eng/common directory with azure-sdk-tools for PR 8158 (#5570)
* allow an override FILE to be honored by test-proxy-tool
* update local test-framework to honor proxy override version by default

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-04-25 15:31:24 -07:00
Scott Beddall
fd021f468c
Pin Newest Version of test-proxy in CI (#5568)
* pin version to proxy with common sanitizers added
* fixes for keyvault, storage, core, other misc packages to deal with new common proxy version
2024-04-24 15:57:50 -07:00
Azure SDK Bot
5a08acd1e2
Sync eng/common directory with azure-sdk-tools for PR 8152 (#5565)
* Only make one call to GetPackageInfoJson

* fix copy/paste, it should be packageInfoLocation not packageInfoJsonLocation

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-04-23 16:32:38 -07:00
Daniel Jurek
a00a0125a6
Remove Windows upgrade of cmake (windows image now uses working version of cmake) (#5558) 2024-04-22 19:40:13 +00:00
Azure SDK Bot
a29f603c32
Fix Policheck step indention (#5553)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-04-18 15:55:39 -07:00
Daniel Jurek
ad30d104d6
Revert win2022 image back to latest and add msvc version mitigation (#5539)
* Revert win2022 image back to latest
* Workaround fix for MSVC SxS issue
2024-04-18 22:11:36 +00:00
Azure SDK Bot
94cba7934b
Handle the failures when package work item is unassigned (#5551)
Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>
2024-04-18 13:43:14 -04:00
Azure SDK Bot
e28ac6cdb1
Sync eng/common directory with azure-sdk-tools for PR 8110 (#5540)
* Show review link in logs and set DevOps project name based on the pipeline run
2024-04-16 23:22:13 -04:00
Azure SDK Bot
b063cdee1b
Use WIF to connect storage container (#5525)
Moving away from SAS tokens for connecting to storage so switching to using a Workload Identity Federation connection to the container to download the needed files.

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-04-15 16:06:50 -07:00
Anton Kolesnyk
6ded663ff6
Fix REF replacement in vcpkg daily runs (#5529)
I could've fixed the quote characters alone, but I think it is better to just capture everything, this way it is compatible with both `REF azure-core_1234` and `REF "azure-core_1234"`, as well as `REF foo`.
2024-04-15 10:53:58 -07:00
Daniel Jurek
de2edfe2c8
Cmake: Add win2019 mitigation (#5528)
* Add win2019 mitigation

* cspell: msiexec
2024-04-12 22:45:42 +00:00
WangWeiLin-MV
e148d89745
Update sdk vcpkg portfile with VERSION and HEAD_REF (#5516)
* Update vcpkg portfile.cmake of sdk to add parameter HEAD_REF

* Update vcpkg portfile.cmake of sdk to use variable VERSION

* Update eng\scripts\Initialize-VcpkgRelease.ps1 regex for quoted REF

* Re-trigger CI

* Revert unnecessary change

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-04-12 10:25:19 -07:00
Daniel Jurek
277191789e
install-cmake.yml (#5523) 2024-04-12 08:28:16 -07:00
Azure SDK Bot
1939b5fa19
update the targeted proxy version (#5512)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-04-10 12:17:14 -07:00
Azure SDK Bot
1da16d5dfb
Sync eng/common directory with azure-sdk-tools for PR 8019 (#5510)
* Add retry on error for sparse checkout

* Consolidate sparse checkout command logging

* Consolidate sparse checkout command logging

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-04-10 14:47:53 -04:00
Azure SDK Bot
ff62f2f548
Sync eng/common directory with azure-sdk-tools for PR 8053 (#5507)
* Pass flag to suppress errors correctly when verifying release change log

* Changes as per review comments

---------

Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>
2024-04-09 19:42:54 -07:00
Larry Osterman
1c304d60d4
Updated ApiView tool to version 0.13.0 (#5498) 2024-04-09 10:02:14 -07:00
Azure SDK Bot
408bd2bead
Sync eng/common directory with azure-sdk-tools for PR 8015 (#5487)
* Use different service connection and az CLI for ACR auth

* displayName

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-04-04 10:11:18 -07:00
Larry Osterman
62cbe519c3
Switch CI pipeline to apiview tool version 0.12.0 (#5484)
* Switch CI pipeline to apiview tool version 0.12.0

* Touched file
2024-04-03 23:26:36 +00:00
Daniel Jurek
6a711f5ca4
Update WINDOWSVMIMAGE (#5482) 2024-04-02 16:04:47 -07:00
Azure SDK Bot
88c6e1dc0c
Sync eng/common directory with azure-sdk-tools for PR 7989 (#5480)
* Remove soft errors in validation step from Devops pipeline
2024-04-02 16:08:31 -04:00
Azure SDK Bot
6450530bd8
Sync eng/common directory with azure-sdk-tools for PR 7988 (#5479)
* Pass valid original artifact file name in request to APIView
2024-04-02 15:27:31 -04:00
Azure SDK Bot
1ba6be47e4
pshell 7.4 somehow caused git show to stop working. this update resolves the problem (#5478)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-04-01 18:40:13 -07:00
Azure SDK Bot
c4f36de705
Sync eng/common directory with azure-sdk-tools for PR 7975 (#5471)
* Pass Group in request to get package name approval status
2024-04-01 11:49:57 -04:00
Azure SDK Bot
c2dfe277bf
Sync eng/common directory with azure-sdk-tools for PR 7977 (#5470)
* Skip API review package name approval for management plane packages
2024-03-29 12:48:13 -04:00
Azure SDK Bot
7fa626d47c
Sync eng/common directory with azure-sdk-tools for PR 7855 (#5459)
* Pipeline template to validate package and update package work item

* Changes to restructure validations

* Additional fixes as per comments

* Remove explicit exit code

* Set erroractionpreference for change log check

---------

Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>
2024-03-27 15:01:11 -04:00
Azure SDK Bot
6cabca1743
Call GetDocsMsDevLanguageSpecificPackageInfoFn if it's defined (#5468)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-03-26 15:50:34 -04:00
George Arama
7cf80b5cf7
HSM Tests to run from recordings only (#5463)
* mroe quotes

* dssf

* qweqeqw

* record only

* remove HSM from live platform

* clangs

* weqw

* spellcheck

* oopsie daisy

* trigger storage

* undo changes

* part 2

* update tests

* ffds

* gfdg

* fgdgd

* skip tests

* clangs
2024-03-25 15:35:56 -07:00
Praven Kuttappan
8891f9511e
Update pipeline step to remove deprecated params in API view script (#5458)
* Update pipeline step to remove deprecated params in API view script
2024-03-19 17:16:13 -04:00
Azure SDK Bot
469775373c
Bump the proxy version to the last one resolving mac timeout issues (#5452)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-03-19 12:50:20 -07:00
Azure SDK Bot
534083cc55
remove all references to docker (#5455)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-03-18 15:54:36 -07:00
Azure SDK Bot
de372fdaba
Create api review script changes to add a param to set release tag (#5453)
Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>
2024-03-18 10:54:28 -04:00
Azure SDK Bot
d390750361
Sync eng/common directory with azure-sdk-tools for PR 7892 (#5451)
* Move git check for changes to script

* Minor fixes for 1es migration

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-03-15 17:24:05 -04:00
Azure SDK Bot
1ecceb6f7a
Sync eng/common directory with azure-sdk-tools for PR 7877 (#5449)
* create necessary eng/common changes to allow proxy to be shut down 

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-03-14 12:51:02 -07:00
Azure SDK Bot
2b1b8af3f6
APIView - send package version param for automatic API review request (#5444)
Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>
2024-03-13 15:41:24 -04:00
Scott Beddall
3658df22db
1ES Template Refactor (#5441)
* All eng/ folder changes necessary to enable 1es-templates for the azure-sdk-for-cpp
* Includes updates to all ci.yml files to reflect new syntax requirements from 1es-template changes to archetype-sdk-client
2024-03-12 15:20:45 -07:00
Azure SDK Bot
4affaf7b6a
Skip env processing on matrix import step (#5435)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-03-11 17:07:08 -04:00
Larry Osterman
dd012fe95d
Define AZURE_CLIENT_ID for live tests in CI (#5431)
* Define AZURE_CLIENT_ID for live tests in CI
2024-03-08 15:59:09 -08:00
Azure SDK Bot
95e85b6025
Update Prepare-Release.ps1 to handle only one previous release (#5429)
In the case there is exactly one previous release PS will return the single object and thus the Count property will not exist. Instead this change ensures that we always have a list.

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-03-08 11:04:09 -08:00
Azure SDK Bot
f4442ede76
Add dotnet-api product slug to sample metadata script (#5428)
Co-authored-by: Anne Thompson <annelo@microsoft.com>
2024-03-08 13:12:28 -05:00
Azure SDK Bot
87036bc05e
TestResources - Bubble up errors in Retry with pipe statements (#5413)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-03-06 16:13:16 -08:00
Azure SDK Bot
a7ce0d5ae3
Sync eng/common directory with azure-sdk-tools for PR 7810 (#5412)
* Run publish on failed or succeeded

* Expand agent os string detection

* Check agent job status env var for artifact name detection

* Add sbomEnabled flag to publish template

* Fix image and artifact name conditional

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-03-05 17:47:38 -05:00
Azure SDK Bot
4be69dddcb
Sync eng/common directory with azure-sdk-tools for PR 7758 (#5410)
* Add 1es changes for job/matrix generation and publish

* Use more flexible pool filter for prev/next pool matches

* consolidate displayname definition

* use linux pool variables for generate matrix job

* Fix publish artifact

* Use single publish task for publish artifact

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-03-04 16:57:59 -05:00
Azure SDK Bot
59976a3c16
Fix matrix CI tests (#5355)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-03-01 11:14:04 -08:00
Azure SDK Bot
afccfb1288
Sync eng/common directory with azure-sdk-tools for PR 7682 (#5381)
* Support resolving environment variable references in matrix config

* Improve type and null handling

* Fix reference bug

* Change behavior on missing env vars to throw

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-02-29 13:40:25 -08:00
Larry Osterman
c707769604
Updated tests to support -UserAuth test resources switch to enable non-corpnet access. (#5387)
* Updated tests to support -UserAuth test resources switch to enable non-corpnet access.

* Try setting sample environment variables in sample script pipeline
2024-02-28 01:36:54 +00:00
Azure SDK Bot
ebfb16d10b
Allow relative EmitterPackageJsonPath in New-EmitterPackageLock.ps1 (#5380)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-02-27 14:22:44 -08:00
Azure SDK Bot
e178a716a4
Updates to tools for CodeownerUtils updates (#5383)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-02-27 10:43:23 -08:00
George Arama
1bb65192d4
Identity perf tests (#5329)
* mroe quotes

* dssf

* azure identity tests

* comments

* comments
2024-02-21 12:05:43 -08:00
George Arama
8ef815dc6a
Install test proxy and enable all tests (#5365)
* mroe quotes

* dssf

* compact the tests in the proper folder

* 2 more tests

* eqwq

* enabled all except http

* endline

* fhg

* oops

* new teests

* update

* update defaults

* hdg
2024-02-21 10:58:35 -08:00
Azure SDK Bot
15dab12036
Updates to tools for the CodeownersUtils updates (#5362)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-02-16 11:48:24 -08:00
Anton Kolesnyk
39392a8181
Publishing to vcpkg-betas syncs vcpkg baseline to our repo (#5330)
* Publishing to vcpkg-betas syncs vcpkg baseline to our repo

* PR Feedback

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-15 16:31:00 -08:00
Azure SDK Bot
213f0a722e
Move emitter-package.json scripts to eng/common (#5353)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-02-14 11:27:26 -08:00
Azure SDK Bot
29ac633ae3
Fix case-sensitive spelling in scripts that get deployed to C++ repo (#5349)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-13 17:01:17 -08:00
Anton Kolesnyk
0f7d02b999
Fix case-sensitive spelling in non-common /eng (#5346)
* PR Feedback

* Remove unnecessary instance

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-12 14:19:59 -08:00
Azure SDK Bot
f348242546
Add stress test arm/bicep template prefix to New-TestResources ResourceType set (#5340)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-02-09 18:11:07 -05:00
Daniel Jurek
ce4f25da23
Upload logs on cmake generate/build failure (#5293)
* Upload logs on cmake generate/build failure

* Copy relevant files to staging location, clean up after publishing

* Update cspell words

* Test: break cmake generate in a way that'll produce SOME log files.

* Revert "Test: break cmake generate in a way that'll produce SOME log files."

This reverts commit d5a300587b3359ed3f2bf7be5abea40868f958a7.

* Show failure logs instead of uploading artifacts. Only show log files for vcpkg at this time

* Reapply "Test: break cmake generate in a way that'll produce SOME log files."

This reverts commit 582629ad587f3c9b652ac1f8a7eda5e12d46843a.

* Revert "Reapply "Test: break cmake generate in a way that'll produce SOME log files.""

This reverts commit 7a35250c7e598fc6e1c060f896cbc952704e40bf.

* Another type of test

* Revert inadvertent whitespace changes

* Revert "Another type of test"

This reverts commit e38013f95b152e4e2a3b9d27ccf1eb9b63fa1817.

* More logging
2024-02-07 06:36:36 +00:00
Anton Kolesnyk
5a70fcabce
Workaround for vcpkg-tool regression bug (#5328)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-06 14:12:06 -08:00
Azure SDK Bot
1497f919a8
Sync eng/common directory with azure-sdk-tools for PR 7630 (#5325)
* Add ContentType header to Update-GitHubIssue

* replaced application/json

* Update eng/common/scripts/Invoke-GitHubAPI.ps1

Co-authored-by: Daniel Jurek <djurek@microsoft.com>

---------

Co-authored-by: Peng Jiahui <804873052@qq.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-02-06 00:34:20 -08:00
Azure SDK Bot
dcc15a63a0
Sync eng/common directory with azure-sdk-tools for PR 7634 (#5323)
* Fix sparse-checkout git command line behavior

* Use command arg parsing behavior in sparse-checkout.yml

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-02-05 20:18:36 -08:00
Daniel Jurek
7c751a503b
Domain-specific changes to fix docindex (#5319)
* Add domains-specific changes needed for updated Generate-DocIndex.ps1 to work

* Spelling
2024-02-05 16:28:38 -08:00
Azure SDK Bot
0b01dc6614
Fix BOM issue Generate-DocIndex.ps1 (#5318)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-02-05 15:34:41 -08:00
Azure SDK Bot
02882f9141
Fix issue in Verify-Link.ps1 after PS 7.4 update (#5314)
https://learn.microsoft.com/en-us/powershell/scripting/whats-new/what-s-new-in-powershell-74?view=powershell-7.4
- Add AllowInsecureRedirect switch to Web cmdlets (#18546)

That new option cause a new exception type that exposed
a bug where we assumed if InnerException property existed
that it was not null. This fix verifies that the property
is not null.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-02-02 11:27:55 -08:00
Azure SDK Bot
46fcbbad52
Sync eng/common directory with azure-sdk-tools for PR 7615 (#5313)
* Prepare-Release.ps1: Make dateTime.ToString("MM/dd/yyyy") to work on exotic set-ups

On my machine, I experimented with the registry, and the worst part is that I don't remember/know how to reset it back.

The work items that script produces, do have datetimes for the upcoming releases in the `MM-dd-yyyy` format, and then I have to correct them by hand.

`dateTime.ToString("MM/dd/yyyy")` does produce the date in the format of `MM-dd-yyyy` on my machine. This also happens if I write a corresponding .NET app.

The fix that I am proposing makes it work on my specific setup and hopefully breaks no one else. I understand if you are hesitant to take it. Let me know, I'll see how I can restore my setting.

But on the other hand, I don't think it makes anything worse, it only makes things more robust, so maybe take it?

* Use [CultureInfo]::InvarialtCulture

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Update eng/common/scripts/Prepare-Release.ps1

* Update eng/common/scripts/Prepare-Release.ps1

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-02-02 18:26:04 +00:00
Azure SDK Bot
166e46bd8a
Sync eng/common directory with azure-sdk-tools for PR 7585 (#5302)
* Remove package retrieval when verify pkg version

* Modified description of PackageName parameter

---------

Co-authored-by: Ray Chen <raychen@microsoft.com>
2024-01-30 23:49:09 -08:00
Azure SDK Bot
dffa3edb2a
Sync eng/common directory with azure-sdk-tools for PR 7584 (#5294)
* Fix role assignment for user auth

* PR fb

* Apply suggestions from code review

Co-authored-by: Heath Stewart <heaths@outlook.com>

---------

Co-authored-by: jolov <jolov@microsoft.com>
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
Co-authored-by: Heath Stewart <heaths@outlook.com>
2024-01-25 14:52:29 -08:00
Azure SDK Bot
55afd2dd4e
Sync eng/common directory with azure-sdk-tools for PR 7569 (#5289)
* Correct the name of JS package folder

* Uncomment the package verification

* Logging more info for troubleshooting

* Get sdkType and directory from the package info

---------

Co-authored-by: Ray Chen <raychen@microsoft.com>
2024-01-25 01:58:28 -08:00
Azure SDK Bot
85f4835e96
Sync eng/common directory with azure-sdk-tools for PR 7580 (#5292)
* Support creating resources with user auth

* Log warning if TestApplicationId is set

* missing space

* regenerate md file

* Rename

* Update link

---------

Co-authored-by: jolov <jolov@microsoft.com>
2024-01-24 15:38:17 -08:00
Azure SDK Bot
4820c4f999
use merge instead of cherry-pick in merge-proxy-tags.ps1 (#5286)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-01-21 21:57:52 -08:00
Azure SDK Bot
6c4e0f776f
Fix typos in ps1 scripts (#5285)
Co-authored-by: Lukasz Kokot <lkokot@kumojin.com>
2024-01-19 10:24:42 -08:00
Azure SDK Bot
2bede63129
Fix Language value for JS (#5283)
Co-authored-by: raychen <raychen@microsoft.com>
2024-01-18 22:05:09 -08:00
Azure SDK Bot
b1796ab919
Add git commit details to stress environment (#5280)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-01-18 16:56:19 -05:00
Azure SDK Bot
84f000c7c6
Sync eng/common directory with azure-sdk-tools for PR 7537 (#5278)
* Add ConflictedFile to git-helpers.ps1, add git-helpers.tests.ps1 to exercise basic functionality.
* Add `resolve-asset-conflict.ps1` a script that can autoresolve an assets.json file.

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-01-17 14:08:35 -08:00
Anton Kolesnyk
84c4812d98
Re-enable UWP CI pipeline (#5226)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-01-17 10:41:20 -08:00
Azure SDK Bot
a0f4244136
Sync eng/common directory with azure-sdk-tools for PR 7512 (#5258)
* generate an artifact with the updated files

* bring in Wes's feedback

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-01-16 18:10:27 -08:00
Azure SDK Bot
f548d1eabe
Filter packages at verify step (#5275)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-01-16 16:06:48 -08:00
Azure SDK Bot
6b23905a7c
Correct the variable name in spec location validation script (#5265)
Co-authored-by: raychen <raychen@microsoft.com>
2024-01-15 01:08:04 -08:00
Azure SDK Bot
535874a085
Sync eng/common directory with azure-sdk-tools for PR 7451 (#5264)
* Added script and pipeline for spec location validation

SDK release pipeline would run this validation to ensure the spec comes from
the main branch of Azure/azure-rest-api-specs repo

* Update parameter

* Use github rest api to validate commit

* Added token parameter

* Support more yaml cases and other languages

* Removed the default setting in yaml template

* Only validate in case of GA package

* Follow APIView to retrieve package version for verification

* Get github token from env variable

* Removed obsolete parameter

---------

Co-authored-by: raychen <raychen@microsoft.com>
2024-01-14 19:37:42 -08:00
Azure SDK Bot
08c5187e36
Sync eng/common directory with azure-sdk-tools for PR 7445 (#5247)
* Add package filter parameter to select recursively found packages in release

* Handle empty value for packageFilter

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-01-11 12:43:30 -08:00
Azure SDK Bot
1a6b614049
Fix image tag for multiimage deployments (#5238)
Co-authored-by: Liudmila Molkova <limolkova@microsoft.com>
2024-01-09 16:50:32 -05:00
Azure SDK Bot
7950e388fe
Sync eng/common directory with azure-sdk-tools for PR 7459 (#5237)
* check for the presence of a compatible powershell. ensure that we always return a list of tags

* allow the script to require pshell6+

* remove the en-us from the link

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-01-09 12:31:31 -08:00
Azure SDK Bot
cb73bbd62c
Fix spelling (preceeding=> preceding) (#5234)
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-01-05 13:31:23 -08:00
Azure SDK Bot
818d22778f
Sync eng/common directory with azure-sdk-tools for PR 7385 (#5223)
* Update organization of the eng/common/testproxy folder
* Add merge-proxy-tags.ps1 and readme to eng/common/testproxy/scripts/tag-merge/
* Extract common assets script functionality to common-asset-functions.ps1

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2023-12-06 15:18:40 -08:00
Azure SDK Bot
0fd0109a00
Sync eng/common directory with azure-sdk-tools for PR 7346 (#5203)
* Update Test-SampleMetadata.ps1

* Update Test-SampleMetadata.ps1

---------

Co-authored-by: YUTONG_ZHAI <32332316+zhaiyutong@users.noreply.github.com>
2023-12-01 09:06:13 -08:00
Azure SDK Bot
5e6a21a0e4
Lets not treat https code 401 as broken link (#5216)
Http Status code 401 just be unauthorized and not necessarily that the link isn't valid. Removing this from the list of codes to error from.

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2023-11-30 14:44:27 -08:00
Larry Osterman
faeb832f8a
Initial cut at snippet generation tool. Also updated KeyVault Secrets readme to use snippets as a working proof of concept. (#5213)
* First cut at snippet generation - markdown files only for now.

* Removed trailing blank lines in updated file

* Use snippet generator for keyvault snippets
2023-11-30 19:40:30 +00:00
Daniel Jurek
25a96f1322
Fix SAS token generation (#5215)
* Fix token generation

* Ordering of steps

* Demonstrate proper redaction

* Revert "Demonstrate proper redaction"

This reverts commit 1e67e0ac3a67c857c5ea0df6abfae89e4a94b63e.

* Spelling
2023-11-30 11:27:26 -08:00
Azure SDK Bot
87ec5e9652
Sync eng/common directory with azure-sdk-tools for PR 7334 (#5206)
* Fix typo

* Update TypeSpec-Project-Generate.ps1

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-11-29 10:18:04 -08:00
Anton Kolesnyk
8b766e3728
Temporarily disable UWP CI (#5181)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-27 12:24:41 -08:00
Azure SDK Bot
94fc220f77
Sync eng/common directory with azure-sdk-tools for PR 7322 (#5176)
* Create new pipeline to create package work item

* Update powershell script to pass tag

* Fixes as per review comments

* Update as per review comments

* Login as az devops

* Create new entry point script to create package work item

* Load common ps module

* Add devops login step

* Pipe login token to devops login

* Pipe login token to devops login

* Add looging

* more logging

* Remove duplicate login from new script and add more logging

* More logging to debug create work item

* Remove script added for debugging

* Skip az interactive login when PAT is passed

* Remove debug logging

---------

Co-authored-by: praveenkuttappan <praveenkuttappan@gmail.com>
2023-11-21 14:08:14 -08:00
Azure SDK Bot
361a0199b8
Update CodeownersLinter to 1.0.0-dev.20231120.3 (#5174)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-11-20 12:13:41 -08:00
Azure SDK Bot
eccfeb4be0
Sync eng/common directory with azure-sdk-tools for PR 7310 (#5173)
* Force capitalize all deployment/env outputs in live test

* Update eng/common/TestResources/New-TestResources.ps1

Co-authored-by: Heath Stewart <heaths@outlook.com>

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Heath Stewart <heaths@outlook.com>
2023-11-20 11:02:56 -08:00
Larry Osterman
3fb8c2c68b
Updated ApiView processor tool (#5167) 2023-11-14 14:16:02 -08:00
Azure SDK Bot
4d25b88970
Update Test-SampleMetadata.ps1 for "document-intelligence" (#5165)
Co-authored-by: Sameeksha Vaity <savaity@microsoft.com>
2023-11-14 11:15:01 -08:00
Azure SDK Bot
cc4f390a85
Avoid unnecessary CHANGELOG release date prompt (#5161)
Resolves #7261

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2023-11-13 11:44:35 -08:00
Azure SDK Bot
a6956c7639
Use sparse-checkout to do a faster, shallow clone (#5146)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-11-10 00:17:34 +00:00
Azure SDK Bot
0ca8a1d9d5
Set WorkingDirectory so the dotnet tools install works on non-windows (#5144)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-11-09 11:40:57 -08:00
Azure SDK Bot
a6ea41e717
properly name the file (#5127)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2023-11-08 12:23:13 -08:00
Azure SDK Bot
682851f749
Sync eng/common directory with azure-sdk-tools for PR 7251 (#5125)
* Add CODEOWNERS linter yml file to eng/common/pipelines

* Add filter baseline option to run command line

* Update version of linter to 1.0.0-dev.20231107.2 which will install correctly

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-11-07 15:51:18 -08:00
Azure SDK Bot
3e311672ca
Sync eng/common directory with azure-sdk-tools for PR 7193 (#5063)
* update proxy version to 20231030.1
* update test-proxy-tool.yml to record both stderr and stdout to the proxy log

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2023-10-31 17:23:54 -07:00
Azure SDK Bot
df8f9ddf1a
Use sparse checkout for pipeline generator (#5097)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-10-31 12:36:00 -07:00
Azure SDK Bot
e5a9ff95ec
ensure that empty package properties are not honored when dumping them to json (#5081)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2023-10-30 12:22:51 -07:00
Azure SDK Bot
6aec2a3807
Update to using new azcopy auto-login (#5080)
azcopy login is going to be deprecated soon in version 10.22 so
we need to move to the new auto-login model that is documented at
https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-authorize-azure-active-directory#authorize-a-service-principal-by-using-a-client-secret

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2023-10-27 14:12:31 -07:00
Azure SDK Bot
71416d73b1
Sync eng/common directory with azure-sdk-tools for PR 7181 (#5057)
* Update branch deletion code

- Update to use the gh cli for github operations
- Switch to using graphql for pulling branches as the rest api
  starts to fail after a certain number of branches and we can
  also pull back all the associated data like pull request info
  and commit date all in one query.
- switc to running on ubuntu 1ES pool

Improve query error handling

Fix condition

Fix slash escaping on the command line

clean-up pipeline

* Update eng/common/scripts/Delete-RemoteBranches.ps1

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

* Update eng/common/scripts/Delete-RemoteBranches.ps1

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

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2023-10-27 13:48:04 -07:00