Azure SDK Bot
7a3f332491
Sync eng/common directory with azure-sdk-tools for PR 12532 ( #6800 )
...
* Change logging functions to use Write-Host
Change logging helpers to always write to host and either set color or use devops/gh formatting.
We do not want to use Write-Error or Write-Warning directly because they can stop the script or not depending on preferences which makes it difficult to ensure local runs of scripts work the same as in the pipelines. So, we should never depend on these logging commands to cause a script to stop execution.
* Clean up error handling in CommandInvocation-Helpers
Removed legacy error handling for command failures.
* Fix error logging for command execution
* Add option to skip exiting
---------
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2025-10-22 09:45:26 -07:00
Azure SDK Bot
612333d157
update scripts ( #6797 )
...
Co-authored-by: helen229 <gaoh@microsoft.com>
2025-10-20 13:30:39 -07:00
Azure SDK Bot
5afdf22a90
Reorder error and warning log line processing ( #6792 )
...
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-10-20 10:00:18 -07:00
Azure SDK Bot
3587514b29
Sync eng/common directory with azure-sdk-tools for PR 12478 ( #6793 )
...
* Updated validate pkg template to use packageInfo
* Fixed typo
* Fixed the right variable to use
* output debug log
* Fixed errors in expression evaluation
* removed debug code
* Fixed an issue in pipeline
* Updated condition for variable setting step
* Join paths of the script path
* Use join-path
* return from the function rather than exit
---------
Co-authored-by: ray chen <raychen@microsoft.com>
2025-10-20 09:49:40 -07:00
Azure SDK Bot
f0b5bfd684
Set-VcpkgWriteModeCache -- add token timeout param for cmake generate's that exceed 1 hour (this can happen in C++ API View) ( #6796 )
...
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2025-10-16 20:52:53 -07:00
Azure SDK Bot
0f764d58ee
Sync eng/common directory with azure-sdk-tools for PR 12467 ( #6786 )
...
* Update create-apireview template to use packageInfo
* Use new signature for FindArtifactForApiReviewFn
* Used new signature of FindArtifactForApiReviewFn
---------
Co-authored-by: ray chen <raychen@microsoft.com>
2025-10-14 16:39:38 -07:00
Azure SDK Bot
caac0070d7
Use write-output for matrix script to support upstream callers ( #6783 )
...
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-10-13 15:14:54 -07:00
Azure SDK Bot
e9cc8a7a37
Sync eng/common directory with azure-sdk-tools for PR 12410 ( #6772 )
...
* Added 'ArtifactsJson' parameter
* Made script work for non-java
* Reduced duplicated parsing
* Fixed type error
---------
Co-authored-by: ray chen <raychen@microsoft.com>
2025-10-13 09:06:58 -07:00
Azure SDK Bot
7f5ab67239
Add script/pipeline for manual cpex attestation ( #6779 )
...
Co-authored-by: Summer Warren <summerwarren@microsoft.com>
2025-10-10 11:48:05 -07:00
Azure SDK Bot
345101e9a5
Sync eng/common directory with azure-sdk-tools for PR 12416 ( #6775 )
...
* Pass packageInfo parameter conditionally to Find-Language-Artifacts-For-Apireview
* Use new parameter
---------
Co-authored-by: ray chen <raychen@microsoft.com>
2025-10-09 15:56:21 -07:00
Azure SDK Bot
771c6afaba
Sync eng/common directory with azure-sdk-tools for PR 11692 ( #6769 )
...
* Add CPEX KPI attestation automation
* Update kusto info and remove schedule in pipeline
* Add Actual Kpi Ids and Remove changed date filter
* Rewrite Triage Attestation Logic
* Fix Kusto command and Add stricter work item query
* Add params for testing
* Resolve stash conflict
* Add Error Handling and Email Notifications
---------
Co-authored-by: Summer Warren <summerwarren@microsoft.com>
2025-10-07 14:48:11 -07:00
Azure SDK Bot
176e49d722
Sync eng/common directory with azure-sdk-tools for PR 12301 ( #6762 )
...
* Set up vcpkg cache variables in eng/common
* Paths
* Remove module code, it's not necessary anymore
* Review feedback: Write-Host -> #
---------
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2025-10-07 11:34:36 -07:00
Azure SDK Bot
6f29059ce9
Revert behavior change introduced in https://github.com/Azure/azure-sdk-tools/pull/12235 ( #6767 )
...
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2025-10-03 16:13:55 -07:00
Azure SDK Bot
524d7bc15f
Revert "Use authenticated GitHub request when env variable is present ( #12267 )" ( #6766 )
...
This reverts commit d60198ec38489bc37b8544484519b638d4fa7eca.
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-10-02 15:03:34 -07:00
Azure SDK Bot
5b3bf66882
Sync eng/common directory with azure-sdk-tools for PR 12267 ( #6758 )
...
* Use authenticated GitHub request when env variable is present
2025-10-02 15:50:51 -04:00
Azure SDK Bot
1f7b40dee5
Add DevOps logging support for invoke helper ( #6752 )
...
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2025-09-25 15:49:08 -07:00
Azure SDK Bot
ad5bd689af
Sync eng/common directory with azure-sdk-tools for PR 12222 ( #6753 )
...
* Set pr creator to empty when it's bot
* Removed bot accounts while setting the reviewers and assignees
* Allowed copilot as reviewer
---------
Co-authored-by: ray chen <raychen@microsoft.com>
2025-09-25 14:26:42 -07:00
Azure SDK Bot
c0ef513201
Sync eng/common directory with azure-sdk-tools for PR 12214 ( #6750 )
...
* Skip updating pull request URL in work item when value is empty
2025-09-23 16:34:19 -04:00
Azure SDK Bot
6ec7eb07a6
Sync eng/common directory with azure-sdk-tools repository ( #6744 )
2025-09-18 11:18:52 -07:00
Azure SDK Bot
1495f1e59d
Make Prepare-Release.ps1 executable ( #6733 )
...
Co-authored-by: Heath Stewart <heaths@microsoft.com>
2025-09-11 16:59:08 -07:00
Azure SDK Bot
f550fd038e
Sync eng/common directory with azure-sdk-tools for PR 11974 ( #6723 )
...
* Add a script to update pull request URL in release plan from SDK generation pipeline
2025-09-05 21:38:51 -04:00
Azure SDK Bot
ea999bb77e
Sync eng/common directory with azure-sdk-tools for PR 11807 ( #6712 )
...
* Update package release status completion to process multiple packages
2025-08-22 17:39:17 -04:00
Azure SDK Bot
567f0b61ee
Update changelog parsing to round-trip header ( #6710 )
...
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2025-08-22 14:25:43 -07:00
Azure SDK Bot
2178b94d86
Sync eng/common directory with azure-sdk-tools for PR 11745 ( #6707 )
...
* Fix wiql issue in getting release plan work items
* Update eng/common/scripts/Helpers/DevOps-WorkItem-Helpers.ps1
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* .NET requires custom source path since source path contains dev tools repo
* Remove order by
---------
Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
Co-authored-by: Praven Kuttappan <55455725+praveenkuttappan@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-21 09:55:49 -07:00
Azure SDK Bot
9c2426e2da
Sync eng/common directory with azure-sdk-tools for PR 11741 ( #6706 )
...
* Add a pipeline template to mark SDK package as released
2025-08-20 16:56:29 -04:00
Azure SDK Bot
800b05fc30
Sync eng/common directory with azure-sdk-tools for PR 11726 ( #6703 )
...
* Update release plan completion script to take package info file
* Take only info file path as param
---------
Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2025-08-19 10:01:36 -07:00
Azure SDK Bot
20f9331334
Sync eng/common directory with azure-sdk-tools for PR 11559 ( #6701 )
...
* Add a new script to mark package as released from release pipeline
2025-08-18 16:15:17 -04:00
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
a332a845d0
Add additional create matrix logging ( #6650 )
...
To help debug matrix filters and other generation issues add additional logging.
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-07-02 12:00:41 -07:00
Azure SDK Bot
e741c1cdf2
Update npm-publish template ( #6632 )
...
- Add basic tag support beta or latest
- Add tag validation for ESRP
- Support subpaths from the artifact to scope to just some packages
2025-06-20 12:28:28 -07:00
Azure SDK Bot
7d47e89859
Sync eng/common directory with azure-sdk-tools for PR 10895 ( #6629 )
...
* Update logging for verify-links script
* Update verify-links.yml
* Update eng/common/scripts/Verify-Links.ps1
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update eng/common/scripts/Verify-Links.ps1
---------
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-13 15:25:00 -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
3f167b07fd
Sync eng/common directory with azure-sdk-tools for PR 10694 ( #6587 )
...
* Use correct leading slash in common.ps1 repo root resolution
* Update eng/common/scripts/common.ps1
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
---------
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-06-03 13:25:07 -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
6b591a8a12
Sync eng/common directory with azure-sdk-tools repository ( #6575 )
2025-05-15 12:40:59 -07:00
Azure SDK Bot
bff63e1fbd
HtmlDecode hrefs ( #6570 )
...
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2025-05-14 10:21:32 -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
292547aecb
Sync eng/common directory with azure-sdk-tools for PR 10611 ( #6566 )
2025-05-12 20:43:45 -07:00
Azure SDK Bot
140aead96d
Sync eng/common directory with azure-sdk-tools for PR 10593 ( #6565 )
...
* Improve link checking for github links
Use locally cloned repos to check github links to avoid rate-limiting.
* Add default clone path to the link checker template
---------
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2025-05-12 12:33:18 -07:00
Azure SDK Bot
438ad5d6f8
Sync eng/common directory with azure-sdk-tools for PR 10579 ( #6564 )
...
* Support writing .env files from Test Resources
If a language repo opts into it *and* if a `test-resources.bicep` file exists and lints clean of writing secrets *and* if the `.env` file is gitignore'd, write a `.env` file next to `test-resources.bicep`.
* Resolve PR feedback
* Pass -Force for . hidden files on non-Windows
---------
Co-authored-by: Heath Stewart <heaths@microsoft.com>
2025-05-09 21:51:43 -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
6e242c11c2
Sync eng/common directory with azure-sdk-tools for PR 10542 ( #6559 )
...
* update most current taxnonomy for entra
* update link
---------
Co-authored-by: Minh Anh <minhanhphan@microsoft.com>
2025-05-06 09:02:54 -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