Commit Graph

444 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
95cfb845cf
Sync eng/common directory with azure-sdk-tools repository (#5583) 2024-04-29 13:06:23 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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