Commit Graph

53 Commits

Author SHA1 Message Date
ray chen
5f2ab2f337 Pass in package info file path 2025-12-08 19:38:36 +00:00
ray chen
8ba2425b96 Added test 2025-12-08 19:38:36 +00:00
ray chen
621e2a905c Used full pkg name for dev ops work item 2025-12-08 19:38:36 +00:00
Azure SDK Bot
6378718b66
Sync eng/common directory with azure-sdk-tools for PR 13005 (#6839)
* Add field for Spec Project Path property

* Reorder properties

* Cleanup

* Logging

* Move SpecProjectPath into Package-Properties.ps1

* Update SpecProjectPath

* Fix accidental removal of $title

* Create or update with SpecProjectPath

* Revert logic, cannot test

* Revert logic, cannot test

* Revert irrelevant file

* Retain title

* Review feedback

* Review feedback

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2025-12-02 12:10:35 -08: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
a0f10e318e
Sync eng/common directory with azure-sdk-tools for PR 10411 (#6540)
* when processing a PR diff, treat packages added via their triggeringPaths as directly changed (used to be indirect)

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-04-24 10:30:27 -07:00
Azure SDK Bot
525f701eba
Fix additional TriggerPaths not being honored in Get-PrPkgProperties (#6533)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-04-22 10:04:22 -07:00
Azure SDK Bot
65c7ba53c4
Allow eng/ based packages to parse ci.yml (#6514)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-04-08 10:16:38 -07:00
Azure SDK Bot
d4a6cb30ec
Sync eng/common directory with azure-sdk-tools for PR 10038 (#6494)
* add a category to parse triggerPaths when there is no artifact present (this is the go use-case)
* add integration tests for Save-Package-Properties scenarios
* bugfixes around various situations in new PackageProps class

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-04-01 15:36:40 -07:00
Azure SDK Bot
a4c8ade158
Package Properties processing updates (#6477)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2025-03-21 09:27:52 -07:00
Azure SDK Bot
18f3bffccd
Fix issue with excludepaths in get-prpkgproperties (#6462)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-03-12 12:10:56 -07:00
Azure SDK Bot
a7728011d2
Sync eng/common directory with azure-sdk-tools for PR 9993 (#6456)
* optimize save-package-properties for large diffs

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-03-11 12:07:25 -07:00
Azure SDK Bot
f6fa235697
Optimize Service-Level change detection, update ordering of targeted files during impacted package detection (#6446)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-03-04 12:17:08 -08:00
Azure SDK Bot
b538bd9935
Code needs to handle more than one template library (#6436)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2025-02-26 10:13:03 -08:00
Azure SDK Bot
5b900c1a9d
Sync eng/common directory with azure-sdk-tools for PR 9902 (#6433)
* populate triggeringPaths of each artifactdetails with the owning ci.yml
* handle service-directory changes in Get-PrPkgProperties

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-02-24 17:35:15 -08:00
Azure SDK Bot
4eb517add9
Sync eng/common directory with azure-sdk-tools for PR 9896 (#6430)
* Remove trailing slash addition to ExcludePaths

* Remove the needless loop and, now defunct, comment

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2025-02-21 12:13:50 -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
52797073f1
Sync eng/common directory with azure-sdk-tools for PR 9807 (#6417)
* replace PkgProps CIMatrixConfigs property in favor of a more generalized CIParameters property. Original CIMatrixConfigs will exist as an item of same key within CIParameters.
* update Create-PRJobMatrix to honor new CIMatrixConfigs property location

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-02-12 15:56:08 -08:00
Azure SDK Bot
c5b9a20dc9
Add AdditionalMatrixConfigs the CIMatrixConfigs (#6400)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2025-02-06 14:14:25 -08:00
Azure SDK Bot
12d9e66e4f
handle only deleted files in a <language> - pullrequest build (#6359)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-01-21 15:16:43 -08:00
Azure SDK Bot
b0b69233ab
Sync eng/common directory with azure-sdk-tools for PR 9649 (#6353)
* Filter out Excludes for PR Pipelines

* Updates for feedback

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2025-01-16 12:23:05 -08:00
Azure SDK Bot
413e61ade4
Sync eng/common directory with azure-sdk-tools for PR 9635 (#6350)
* ensure that packages that come back from AdditionalValidationPackages are NOT counted as 'includedForValidation: true' if they also exist in the original 'these packages changed' set

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2025-01-15 13:35:45 -08:00
Azure SDK Bot
713c8531db
remove erroneous package inclusion during package-properties evaluation (#6346)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-01-14 16:07:16 -08:00
Azure SDK Bot
3687136d04
Sync eng/common directory with azure-sdk-tools for PR 9330 (#6177)
* disable InitializeCIArtifacts outside of CI until we get a better loop for usage

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-05 12:48:10 -08:00
Azure SDK Bot
75899c62d1
Sync eng/common directory with azure-sdk-tools for PR 9308 (#6172)
Remove unnecessary Resolve-Path in Get-PrPkgProperties

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-04 15:45:40 -08: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
417342fd14
Handle missing artifacts without exception (#6103)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-16 16:22:11 -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
199a879a72
AdditionalValidationPackagesFromPackageSetFn now accepts all discovered packages (#6011)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-09-19 12:12:17 -07:00
Azure SDK Bot
8a5bf54113
Sync eng/common directory with azure-sdk-tools for PR 8974 (#5994)
* updating package properties with direct/indirect (if named differently) as well as pulling BuildDocs from ci.yml artifact list if it exists

* eliminate the addition of buildDocs property. it requires powershell-yaml to be present on our base function. not good

* remove call to InitializeBuildDocs

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-09-16 16:01:04 -07:00
Azure SDK Bot
14e5fcd057
Avoid adding the same package twice, use TrimStart instead of substring (#5956)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-09-03 15:51:44 -07:00
Azure SDK Bot
ab68436d2c
Sync eng/common directory with azure-sdk-tools for PR 8878 (#5949)
* Apply a few changes to Get-PRPackageProperties to make it more customizable for our users. Remove wonky gap + extra spacing that should pass the patch application process now that we've manually aligned common.ps1

* account for feedback -- rename CanaryPackages to AdditionalValidationPackages

* dependentPackagesforInclusion -> additionalValidationPackages

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-08-28 18:11:21 -07:00
Azure SDK Bot
b4020493c4
Sync eng/common directory with azure-sdk-tools for PR 8754 (#5884)
* more compatibility with expanding/contracting packages. add ability for packages to have DependentPackages that must be included in the set of packages that should be built given a changeset


---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-08-07 16:18:42 -07:00
Azure SDK Bot
e67bcaa558
Sync eng/common directory with azure-sdk-tools for PR 8602 (#5801)
* add additional argument to Save-Package-Properties to allow for usage in pull request context

---------

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: Wes Haggard <weshaggard@users.noreply.github.com>
2024-07-18 11:44:18 -07: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
f6ec0bd87f
Sync eng/common directory with azure-sdk-tools for PR 1763 (#2514)
* Disable release date check

* Release check is not finding release date

Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2021-06-30 14:33:29 -07:00
Azure SDK Bot
468b78cdfb
Sync eng/common directory with azure-sdk-tools for PR 1725 (#2509)
* Bring changes from JS docs metadata

* Move business logic inside Update-DocsMsMetadata.ps1

* Update with the latest changes in JS PR

* Update from latest PR feedback

* Add check for empty path to prevent crashes when creating relative paths

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2021-06-30 08:43:17 -07:00
Azure SDK Bot
5c55a82933
Sync eng/common directory with azure-sdk-tools for PR 1729 (#2473)
* Check for API review status only if release date is set in changelog

* Change property name to ReleaseStatus

Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2021-06-24 12:14:09 -07:00
Azure SDK Bot
8b0ebb39f5
Sync eng/common directory with azure-sdk-tools for PR 1716 (#2467)
* Update links with master to use main

* Update ci.yml files

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-06-21 12:18:52 -07:00
Azure SDK Bot
beda7bcaf8
Stop filtering projects by ci.yml files (#2139)
- This removes the ci.yml filtering which means all projects can be discovered
- This eliminates the need for the yml parsing module for most common scenarios
- This does introduce some potential issues with duplicate package names for
  languages like java. The only known case currently is azure-storage-blobs and
  if there is ever a need to explicitly pick the correct one someone can pass
  in the ServiceDirectory filter similar to "storage/azure*" for new and "storage/microsoft*"
  for the older sdk. By default azure usually comes first so the new one gets discovered
  which is likely all we need for now. If this turns out not to be true we might
  need another way to disambiguate.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-04-20 14:59:37 -07:00
Azure SDK Bot
eb1177ea3a
Add ReleaseTrackingOnly option to Prepare-Release (#1958) 2021-03-22 20:21:13 -07:00
Azure SDK Bot
6e19575491
Revert to Checking only ci.yml (#1918)
Pull only artifacts from `ci.yml` to resolve issue with conflicting package names.

Co-authored-by: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com>
2021-03-16 14:53:03 -07:00
Azure SDK Bot
d08bebfb6a
Sync eng/common directory with azure-sdk-tools for PR 1418 (#1759)
* Update Package Properties Logic, make prepare release require only 1 argument, make rerun of Get-PkgProperties in Update-Changelog not required

* Remove ServiceDirectory parameter from PrepareRelease.ps1

* changes to argument names

* pass service directory to Get-AllPackageInfoFromRepo

* Remove changes in Update-ChangeLog.ps1

* updates to Package-Properties.ps1

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Co-authored-by: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com>
2021-03-15 23:23:26 -07:00
Azure SDK Bot
f929894274
Sync eng/common directory with azure-sdk-tools for PR 1374 (#1686)
* Create package property file using artifact name

* Add option to pass config file dir

* Set default config file directory to avoid script execution failure

Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2021-02-16 11:57:56 -08:00
Azure SDK Bot
31fc4a5dee
Sync eng/common directory with azure-sdk-tools for PR 1345 (#1517)
* Enforce API approval status for GA and include SDK type in package properties

* Fix per review comment

* Fixes as per review comments to avoid changing constructor signature

* Fixes as per review comments to handle track 1 packages

* Fix yaml format error

Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2021-01-29 13:13:41 -08:00
Azure SDK Bot
4b8dbb696a
Sync eng/common directory with azure-sdk-tools for PR 1251 (#1429)
* Add PrepareRelease Script

* Generalize Prepare-Release Script

* Update Update-ChangeLog.ps1

* Update Package-Properties.ps1

* Update Collect-ChangeLog Script

* Update Collect-ChangeLog.ps1 and Collect-Unreleased.ps1

* Update GeneralReleaseNotesParser.ps1 script

* Update Prepare-Release Script to use recent DevOps Scripts

* Move Get-LanguageName to eng\common\scripts\Helpers\DevOps-WorkItem-Helpers.ps1, improve error message, add logic to detect changes made by prepare-release script

* Use LanguageDisplayName, move Get-CSVMetadata to Package-Properties.ps1

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-01-21 16:48:02 -08:00
Azure SDK Bot
7d04092708
Update error message in tools repo (#1405)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-01-19 21:34:30 -08:00
Azure SDK Bot
e2bfa85d8b
Sync eng/common directory with azure-sdk-tools for PR 1203 (#999)
* Refactoring artifact-metadata-parsing.ps1, update-docs-metadata.ps1, and create-tags-and-git-release.ps1

* Clean up common imports

* Refactor Update-docs-ci.ps1

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-18 21:50:29 -08:00
Azure SDK Bot
be87eb5de6
Sync eng/common directory with azure-sdk-tools for PR 1153 (#983)
* Improve Update-ChangeLog Logic

* Updates to ChangeLog-Operations.ps1, copy-docs-to-blobstorage.ps1, Invoke-GitHubAPI.ps1 and Package-Properties.ps1

* More changeLog Logic Improvements

* Update date parsing

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-13 13:22:32 -08:00