Commit Graph

943 Commits

Author SHA1 Message Date
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
Larry Osterman
590502c92e
Added Powershell script to auto-generate the merged headers for a client SDK (#5078)
* Added Powershell script to auto-generate the merged headers for a client SDK

* Removed tracing unified header
2023-10-27 13:37:54 -07:00
Larry Osterman
2337ee796e
Split out curl and winhttp testing on WS2022 to work around CURL bias in test proxy tests (#5071)
* Split out curl an winhttp testing on WS2022 to work around CURL bias in test proxy tests

* Minor change to storage to trigger CI pipeline

* On testing builds, send a 0 length Content-Length header on Patch verbs if the caller has not provided a Content-Length header.

* Update sdk/core/azure-core/inc/azure/core/http/http.hpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-10-27 09:16:46 -07:00
Anton Kolesnyk
a12232d200
Drop Get-ApiViewCommandLine.ps1 (a script that was used for the old ApiView process) (#5074)
* Drop Get-ApiViewCommandLine.ps1

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-10-26 17:30:01 -07:00
Larry Osterman
51c8955d85
Vendor AMQP at commit 52942afb1a4b48a1d8af7a3ac37d3211661e3423 (#5049)
* Vendored version of uamqp

* Exclude vendored modules from cspell

* Code coverage

* Code coverage improvements

* Removed more coverage exclusions
2023-10-25 11:19:20 -07:00
Larry Osterman
490250646f
Reworked TLS 1.3 change; add WS2019 test coverage (#5051)
* Reworked TLS 1.3 change; add WS2019 test coverage

* Enable static MSVC lib support on WS2019

* Fall back to TLS 1.2 if TLS 1.3 doesn't work
2023-10-24 22:55:40 +00:00
Azure SDK Bot
5174503dc3
Check az login for target subscription in stress deploy login (#5054)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-10-24 16:23:34 -04:00
Azure SDK Bot
21978a69d8
Fix update test resources tagging when tags are empty. Bump max limit (#5048)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-10-19 15:58:56 -07:00
Larry Osterman
fbec02365b
clang-13 version of cstdlib doesn't define integer types in global na… (#5031)
* clang-13 version of cstdlib doesn't define integer types in global namespace

* Added clang-13 and clang-15 variants to mix

* Pull request feedback

* Update sdk/core/azure-core/inc/azure/core/uuid.hpp

* Update sdk/core/azure-core/inc/azure/core/base64.hpp

---------

Co-authored-by: Larry Osterman <larryo@LOTHAIR-HOME.ntdev.corp.microsoft.com>
2023-10-17 18:55:54 +00:00
Azure SDK Bot
4f8eca93fd
Sync eng/common directory with azure-sdk-tools for PR 7113 (#5032)
* Remove ARM deployment after deploy

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

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

* Apply suggestions from code review

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Heath Stewart <heaths@outlook.com>
2023-10-16 17:00:14 -07:00
Azure SDK Bot
81d1143a43
Set product as parent of package work item. (#5020)
Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2023-10-16 09:41:26 -07:00
Daniel Jurek
f0a379bf21
Do not log email address (#5037) 2023-10-13 11:21:33 -07:00
Daniel Jurek
f437eb0f23
Temporary: Fix vcpkg PR notification logic (#5015)
* Fix vcpkg PR notification logic

* Clean up fallback accounts, fix cspell errors

* Use environment variable for EmailAddress (no logging)
2023-10-12 11:49:30 -07:00
Azure SDK Bot
c9f3b9485e
Use better description for single repo sparse checkout (#5028)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2023-10-12 10:53:48 -07:00
Larry Osterman
716129f5c0
Check for long filenames in CI pipeline (#5027)
* Check for long filenames in CI pipeline

* Base Path Length == 75 to account for visual studio defaults
2023-10-12 17:29:39 +00:00
Azure SDK Bot
436c0905e2
Use url version spec for autorest.* packages (#5017)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2023-10-11 13:46:07 -07:00
Azure SDK Bot
5acdb5ba1b
Detect all file diff types for eng/common changes (#5016)
Fixes https://github.com/Azure/azure-sdk-tools/issues/5882

We need to set the difffilter to empty instead of the default of exclude deleted files when we are trying to verify there are no changes under eng/common.

See test PR https://github.com/Azure/azure-sdk-for-python/pull/32348 which demonstrates us not detecting a deleted file under eng/common. I'll use that same test PR to verify this now catches that issue.

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2023-10-06 12:42:34 -07:00