Commit Graph

970 Commits

Author SHA1 Message Date
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