Commit Graph

94 Commits

Author SHA1 Message Date
Azure SDK Bot
9bfc124a87
Sync eng/common directory with azure-sdk-tools for PR 11353 (#6671)
* Handle tool/directory copy better

* Use /usr/bin/env instead of /bin/env

* Append additional newline

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-07-25 17:12:48 -04:00
Azure SDK Bot
028ad6af17
Sync eng/common directory with azure-sdk-tools for PR 11333 (#6669)
* Install azsdk cli to a place in PATH

* Only add to path if user manually approves via parameter

* Also update shell profile for linux

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-07-25 12:49:37 -07:00
Azure SDK Bot
257e9f466a
Use AuthToken for cal to Search API (#6624)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-06-11 19:55:38 -07:00
Azure SDK Bot
4aa299da03
adding missing parens to apiview-helpers (#6610)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-06-02 18:12:57 -07:00
Azure SDK Bot
0363e0b78f
Use CodeFile for pushing Python APIView (#6606)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-06-02 14:50:20 -07:00
Azure SDK Bot
f2815312d8
Update APIView Endpoint to use API COntrollers (#6601)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-05-28 20:24:27 -07:00
Azure SDK Bot
a1aa57222f
Only convert to json if response content is of json type (#6589)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-05-22 10:55:08 -07:00
Azure SDK Bot
7317d787a2
Sync eng/common directory with azure-sdk-tools for PR 10286 (#6588)
* Remove PR commenting variable

* use staging url for testing

* Switch back to prod endpoint

---------

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-05-21 23:24:34 -07:00
Azure SDK Bot
662b5026d6
Use correct variable name in error (#6568)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-05-13 10:11:09 -07:00
Azure SDK Bot
1c4d8ebb4b
Sync eng/common directory with azure-sdk-tools for PR 10534 (#6560)
* Add helper function for spec-gen-sdk pipeline

* Move logging script sourceing to global scope

---------

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-05-06 09:31:04 -07:00
Azure SDK Bot
d99f94008d
Sync eng/common directory with azure-sdk-tools for PR 10508 (#6550)
* Wraper script for calling package properties

* Tidy up path and serviceDirectoryName

---------

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-04-29 18:38:01 -07:00
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