Commit Graph

983 Commits

Author SHA1 Message Date
Scott Beddall (from Dev Box)
fa5facaaf8 floating the proxy version is not a safe choice. there is no guarantee that the version being utilized will actually work as expected 2024-04-08 17:54:43 -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