Commit Graph

83 Commits

Author SHA1 Message Date
Azure SDK Bot
1ea9610745
Sync eng/common directory with azure-sdk-tools for PR 10470 (#6549)
* Initialize azure sdk MCP conventions/automation

* Fixes

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-04-29 16:49:10 -04:00
Azure SDK Bot
60c9a70a99
Sync eng/common directory with azure-sdk-tools for PR 10482 (#6548)
* Properly handle error for case where no issue (pr) is found for specified commit

* Use logInfo in various places

* Change LogWarning to LogInfo

---------

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-04-29 12:25:29 -07:00
Azure SDK Bot
ac75bd58e9
Exit early if no API changes are found (#6531)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-04-18 10:18:11 -07:00
Azure SDK Bot
da54173ead
Fix error in APIView Helper (#6503)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-04-02 15:32:26 -07:00
Azure SDK Bot
a9d94e3084
Update APIView Helpers (#6500)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-04-01 15:00:01 -07:00
Azure SDK Bot
2973916598
Sync eng/common directory with azure-sdk-tools for PR 10134 (#6489)
* Move functions to git-helpers and resolve review to approval script

* Add approval script details to sync workflow doc

* Fix up warnings/unused variables

* Formatting

* Add re-approval logic

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-03-31 16:56:44 -07:00
Azure SDK Bot
9ed08c9750
Sync eng/common directory with azure-sdk-tools for PR 10004 (#6490)
* Add logic for seting APIView Pull Request comment

* Update script to use source and head commish

* Make API Change Check a header

* Add Fetch URI to APIView comment

* Pass APIView host as a parameter

* Update APIVBiew comment header and add state to search api call

---------

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-03-27 17:23:28 -07:00
Azure SDK Bot
7a1eb828cc
Fix group prefix conditional in test resource removal (#6465)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-03-13 16:53:02 -07:00
Azure SDK Bot
c6334c02ad
Sync eng/common directory with azure-sdk-tools for PR 9888 (#6434)
* Move stress helm charts to azuresdkartifacts. Add publish pipeline

* Update stress deploy

* Fix tenant reference for pg tme cluster

* Update cluster config

* Fix powershell module install when whatif is set

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-02-26 14:17:02 -08:00
Azure SDK Bot
429f81b88f
Sync eng/common directory with azure-sdk-tools for PR 9862 (#6428)
* Get-PRPkgProperties now honors artifact-list specific absolute/relative paths to other triggering folders. This will supplant the common "if eng/ changes include template and core" in a follow-up PR.

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-02-20 16:30:18 -08:00
Azure SDK Bot
4f2ca36252
Sync eng/common directory with azure-sdk-tools for PR 9803 (#6408)
* update Get-ObjectKey to coalesce boolean-like values to their true boolean value
* update Get-ObjectKey  to call Get-ObjectKey on each item of an array or pscustom object - versus utilizing their values directly 
---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-02-11 11:34:25 -08:00
Azure SDK Bot
ac2c03cce9
Sync eng/common directory with azure-sdk-tools for PR 9799 (#6402)
* resolve issue with matrix collation when multiple matrix configs are being resolved

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-02-07 17:05:04 -08:00
Azure SDK Bot
cb3b4117da
Update query count to fix automation (#6387)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2025-02-03 16:32:11 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Azure SDK Bot
35e42b99cf
Sync eng/common directory with azure-sdk-tools for PR 7040 (#4997)
* Remove codeowners resolution logic from docs scripts

* Remove parameters that aren't needed

* Remove auth information from update-docsms-metadata.yml

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2023-10-02 14:58:21 -07:00
Azure SDK Bot
744450472d
Sync eng/common directory with azure-sdk-tools for PR 6919 (#4988)
* Add autorest-preview pipeline

* Add emitternpminstall

* Always install

* Use shorter leg name

* Add short circuiting to emitter install

* Use language matrix function

* Don't look for subfolders in the matrix package folders

* Revert unnecessary eng/common changes

* Rewrite GetPullRequestUrl to Get-BuildSourceDescription

* Remove alias from Invoke-LoggedCommand

* Use invoke-expression instead of shelling out

* Add better job splitting

* Replace Folder with Directory

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2023-09-25 12:35:11 -07:00
Azure SDK Bot
518d9d26d3
Sync eng/common directory with azure-sdk-tools for PR 6782 (#4891)
* Create Epic work item type as Service or product when running prepare release script

* Updated epic type field name

* Additional change to create release plan work item

* Exclude work items created from release planner test

* Fix issue in params

* Updated as per review comments

---------

Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2023-08-23 11:15:33 -07:00
Azure SDK Bot
cd2edf266e
Used ScheduledPurgeDate for both KV, MHSM (#4866)
The previous property was calculated so didn't exist from the REST-based
call. Also updated the api-version to the latest stable control plane
version.

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2023-08-09 16:29:58 -07:00
Azure SDK Bot
3c1ed52f3e
Sync eng/common directory with azure-sdk-tools for PR 6521 (#4793)
* Use System.Threading.Mutex to make threadsafe

* Rename test, add comments

---------

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-07-14 17:19:22 -07:00
Azure SDK Bot
a07447b08c
Sync common script changes from azure-sdk repo (#4704)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2023-06-07 19:35:59 -07:00
Azure SDK Bot
57072c8af3
Temporarily disable error handling for Get-AzKeyVault -InRemovedState (#4329)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-02-02 15:20:59 -05:00
Azure SDK Bot
d0c2234be4
Fix Github to GitHub (#4243)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2023-01-12 15:27:06 -08:00
Azure SDK Bot
b67b46b059
Sync eng/common directory with azure-sdk-tools for PR 4985 (#4209) 2022-12-21 09:42:17 -08:00
Azure SDK Bot
ae19ecafd6
fix grammar (#4175)
Co-authored-by: Feng Zhou <fenzhou@microsoft.com>
2022-12-08 19:19:56 -08:00
Azure SDK Bot
a9efb5ad56
Use the new audience field (#4124)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-11-17 13:59:23 -05:00