Commit Graph

353 Commits

Author SHA1 Message Date
Azure SDK Bot
6fa588e08c
Sync eng/common directory with azure-sdk-tools repository (#6847) 2025-11-26 12:15:55 -08:00
Azure SDK Bot
252cc3032d
Sync eng/common directory with azure-sdk-tools for PR 13040 (#6842)
* Include groupId in the pkg name when create api view request

* Used the package info in the function signature

---------

Co-authored-by: ray chen <raychen@microsoft.com>
2025-11-24 17:17:30 -08:00
Azure SDK Bot
5eed2ccafd
Sync eng/common directory with azure-sdk-tools for PR 13009 (#6837)
* Used another way to construct package info array

* Filtered out empty string for PackageInfoFiles

---------

Co-authored-by: ray chen <raychen@microsoft.com>
2025-11-21 11:30:57 -08:00
Azure SDK Bot
0eed2707ca
Sync eng/common directory with azure-sdk-tools for PR 12910 (#6829)
* Add cspell upgrade check in check-spelling.yml

* Don't diff against a baseline. Assume spelling is correct before upgrade.

* Review feedback

* Comment

* Review feedback: don't clutter steps unless upgrade script param is used

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2025-11-18 19:32:09 -08:00
Azure SDK Bot
c583f4af14
Only checkout PerfAutomation from azure-sdk-tools - Other files in azure-sdk-tools repo are unnecessary - Unnecessary checkout hurts perf and increases security footprint (#6801)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2025-10-22 11:26:31 -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
ded668be79
Sync eng/common directory with azure-sdk-tools for PR 12483 (#6787)
* Mark TypeSpec upgrade PR as draft when generation fails

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Add condition to run Create_PR job even when Generate fails

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Include emitter name in PR title

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Use emitterIdentifier variable for PR title instead of recalculating

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Include scope in emitterIdentifier for branch and PR names

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Read emitter name from package.json instead of extracting from path

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Resolve emitterPackagePath to absolute path before reading

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Append package.json to emitterPackagePath directory

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Add log statement for fallback to package path

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
2025-10-15 09:41:57 -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
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
d17a6c5acb
update conditions in detect-api-changes.yml (#6780)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-10-10 13:48:29 -07:00
Azure SDK Bot
6ad8fa48b9
Include disambiguation for branch name using EmitterPackagePath (#6778)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
2025-10-10 10:25:59 -07:00
Azure SDK Bot
e19518ea0a
Sync eng/common directory with azure-sdk-tools for PR 12396 (#6770)
* Secure tsp-client usage by using pinned version from package-lock.json

Co-authored-by: raych1 <20296335+raych1@users.noreply.github.com>

* Use absolute path and remove try/finally blocks

Co-authored-by: raych1 <20296335+raych1@users.noreply.github.com>

* Keep original workingDirectory and use Push-Location for directory switching

Co-authored-by: raych1 <20296335+raych1@users.noreply.github.com>

* Resolve EmitterPackageJsonOutputPath to absolute path if relative

Co-authored-by: raych1 <20296335+raych1@users.noreply.github.com>

* Use workingDirectory instead of Push-Location/Pop-Location

Co-authored-by: weshaggard <9010698+weshaggard@users.noreply.github.com>

* Merge path resolution into tsp-client execution step

Co-authored-by: raych1 <20296335+raych1@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: raych1 <20296335+raych1@users.noreply.github.com>
Co-authored-by: weshaggard <9010698+weshaggard@users.noreply.github.com>
2025-10-09 17:17:55 -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
cfc9354584
Update Azure pipeline conditions to respect canceled status (#6763)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: benbp <1020379+benbp@users.noreply.github.com>
2025-10-02 13:21:14 -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
dd66f84f17
Sync eng/common directory with azure-sdk-tools for PR 11373 (#6677)
* Use full checkout for regen stage

* remove fetchdepth

* update both

* checkout branch

* switch

* Fetch branch

* origin

* azure-sdk

---------

Co-authored-by: jolov <jolov@microsoft.com>
2025-07-29 13:04:04 -07:00
Azure SDK Bot
05c6f48fd3
Ignore failures when new package isn't indexed yet. (#6674)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-07-29 08:03:29 -07:00
Azure SDK Bot
adb3a71db4
Sync eng/common directory with azure-sdk-tools for PR 11336 (#6668)
* Install .NET from tools repo global.json

* Set workingDirectory to tools root

* use exact same install steps as tools repo

* revert formatting

* formatting

---------

Co-authored-by: Mike Harder <mharder@microsoft.com>
2025-07-24 19:27:19 -07:00
Azure SDK Bot
b68dd76217
Always install .NET before running perf automation - May not be pre-installed on ubuntu-24 (#6666)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2025-07-23 10:03:43 -07:00
Azure SDK Bot
71769537a5
Disable codeql for linter pipeline (#6656)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-07-10 13:04:41 -07:00
Azure SDK Bot
223a42026e
Remove MAC from pwsh tools template (#6648)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-06-30 17:34:07 -07:00
Azure SDK Bot
9ed14d04f1
Sync eng/common directory with azure-sdk-tools for PR 11039 (#6647)
* Disable SBom generation for pull requests

* Update eng/common/pipelines/templates/steps/publish-1es-artifact.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-30 14:28:13 -07:00
Azure SDK Bot
6d5a909084
Sync eng/common directory with azure-sdk-tools for PR 10990 (#6644) 2025-06-25 09:53:19 -07:00
Azure SDK Bot
d9eacda722
Sync eng/common directory with azure-sdk-tools for PR 10953 (#6633)
* update all eng/common templates or scripts that utilize the old azsdk-pool-* to utilize the unified pool azsdk-pool
* upgrade to target ubuntu 24.04 where applicable

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Mike Harder <mharder@microsoft.com>
2025-06-20 16:00:49 -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
c40e4e94fe
Use releaseJob for publishing (#6631)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-06-18 08:51:59 -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
c0327ee775
Condition the APIView step at compile ntime (#6627)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-06-12 17:54:52 -07:00
Azure SDK Bot
0676c77217
disable java CI pipeline generation (#6621)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-06-09 16:35:29 -07:00
Azure SDK Bot
0e04dd0c63
fix checkout (#6603)
Co-authored-by: jolov <jolov@microsoft.com>
2025-05-29 13:19:35 -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
2d5514fa8a
Add common npm publishing template (#6596)
Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2025-05-27 15:57:22 -07:00
Azure SDK Bot
aabb0b1101
Sync eng/common directory with azure-sdk-tools for PR 10736 (#6595)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-05-23 17:19:19 -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
8ce6da8645
Sync eng/common directory with azure-sdk-tools for PR 10657 (#6580)
* ensure the directory that gets logged is the actual changed package's service directory
---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-05-16 14:29:07 -07:00
Azure SDK Bot
5d4324dd7d
Sync eng/common directory with azure-sdk-tools for PR 10664 (#6576)
* Add option to perserve auth

* Update eng/common/pipelines/templates/steps/sparse-checkout.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: ray chen <raychen@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-15 15:59:55 -07:00
Azure SDK Bot
91d579b8cf
Sync eng/common directory with azure-sdk-tools for PR 10522 (#6555)
* cspell: Remove node version requirement, node is already on the agent

* Succeeded

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2025-05-14 11:30:58 -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
a123a27abf
Sync eng/common directory with azure-sdk-tools for PR 10523 (#6556)
* fix: bump node version in emitter pipeline

* pr feedback

---------

Co-authored-by: Jorge Rangel <jorgerangel@microsoft.com>
2025-05-02 12:41:04 -05:00
Azure SDK Bot
e38701682a
Fix typo for workingDirectory (#6546)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-04-29 00:44:36 -07:00
Azure SDK Bot
394e24680f
use working directory in eng\common\pipelines\templates\steps\save-package-properties.yml (#6545)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-04-28 19:45:39 -07:00
Azure SDK Bot
cece8a16c0
Sync eng/common directory with azure-sdk-tools for PR 10467 (#6544) 2025-04-28 15:52:47 -07:00
Azure SDK Bot
cefaf3a978
Sync eng/common directory with azure-sdk-tools for PR 10461 (#6542)
* Fix regenerate commit message

* fix casing

---------

Co-authored-by: jolov <jolov@microsoft.com>
2025-04-25 10:45:05 -07:00
Azure SDK Bot
92246a2d90
Sync eng/common directory with azure-sdk-tools for PR 10432 (#6539) 2025-04-23 15:43:35 -07:00
Azure SDK Bot
f5fd48d274
build: enable pushing emitter nuget packages (#6534)
Co-authored-by: Jorge Rangel <jorgerangel@microsoft.com>
2025-04-22 13:56:32 -06:00
Azure SDK Bot
95a88de9ef
disable prepare pipelines for net CI jobs (#6529)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-04-16 17:02:21 -07:00
Azure SDK Bot
5b055e8fcd
Sync eng/common directory with azure-sdk-tools for PR 10314 (#6528)
* Move tsp-client step to regenerate stage

* Update comment

* open as draft logic and fix emitter version

* add comment

---------

Co-authored-by: jolov <jolov@microsoft.com>
2025-04-16 09:29:52 -07:00