Commit Graph

44 Commits

Author SHA1 Message Date
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
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
d6cc3fb2db
Add env var skip for matrix debug. Add acceptance test tag (#6512)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-04-07 12:25:45 -04:00
Azure SDK Bot
a836fde12a
Sync eng/common directory with azure-sdk-tools for PR 10145 (#6488)
* support accessing a different key for the value of the Package during batching in Create-PrJobMatrix

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-03-27 17:44:53 -07:00
Azure SDK Bot
396acfc466
Sync eng/common directory with azure-sdk-tools for PR 10129 (#6483)
* identify and fix the issue with no results on a matrix that is PRBatched. The platform filters eliminate all the jobs, which is why it only turned up on the second windows leg

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-03-25 15:19:52 -07:00
Azure SDK Bot
bebf2310f8
Sync eng/common directory with azure-sdk-tools for PR 10081 (#6473)
* update generate-matrix function ProcessImport to return a structured result, versus a tuple that is destructured immediately

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
2025-03-19 14:53:35 -07:00
Azure SDK Bot
7a551d9c27
Gracefully handle when we return no matrix results (#6467)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-03-14 11:44:35 -07:00
Azure SDK Bot
63d575d179
Ensure that direct batches have an underscore before the batchnumber (#6464)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-03-13 15:59:19 -07:00
Azure SDK Bot
3e56210de8
Sync eng/common directory with azure-sdk-tools for PR 9918 (#6447)
* add pullrequest faq

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2025-03-05 18:26:23 -08:00
Azure SDK Bot
af764fe673
Sync eng/common directory with azure-sdk-tools for PR 9945 (#6444)
* allow skipping of batching during Create-PRJobMatrix
---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-03-03 15:50:12 -08:00
Azure SDK Bot
c2ddfee999
Sync eng/common directory with azure-sdk-tools for PR 9836 (#6422)
* adjustments to iterating across matrix configs for packages that belong to multiple matrices

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-02-14 11:16:59 -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
494f9ff858
Pass non sparse parameters through to PR job matrix generator (#6386)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-02-04 13:32:17 -05:00
Azure SDK Bot
c95362ac9d
Sync eng/common directory with azure-sdk-tools for PR 9699 (#6372)
* allow the indirect matrix to generate non-sparse based on new parameter to generate-job-matrix

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-01-27 19:21:28 -08:00
Azure SDK Bot
757e967f90
Sync eng/common directory with azure-sdk-tools for PR 9601 (#6351)
* updates to dynamic matrix generation. moves indirectly included packages to sparse usage. adds additional parameters to GeneratePRMatrix that enable further filtering of the matrix generated for the indirect packages

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-01-17 12:00:38 -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
9464edce03
batching adjustments for create-prjobmatrix (#6238)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-18 12:57:45 -08:00
Azure SDK Bot
3ad8f7254a
Sync eng/common directory with azure-sdk-tools for PR 9294 (#6162)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-31 16:19:43 -07:00
Azure SDK Bot
9d76fb6c61
Sync eng/common directory with azure-sdk-tools for PR 9290 (#6158)
* identify and resolve missing function GenerateMatrixForConfig 
* identify and resolve miss-used null-coalesce operator

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-30 22:19:20 -07: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
4affaf7b6a
Skip env processing on matrix import step (#5435)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-03-11 17:07:08 -04:00
Azure SDK Bot
59976a3c16
Fix matrix CI tests (#5355)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-03-01 11:14:04 -08:00
Azure SDK Bot
afccfb1288
Sync eng/common directory with azure-sdk-tools for PR 7682 (#5381)
* Support resolving environment variable references in matrix config

* Improve type and null handling

* Fix reference bug

* Change behavior on missing env vars to throw

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-02-29 13:40:25 -08:00
Azure SDK Bot
42e91a5c91
fix paths + add diagnostic output on failure (#4231)
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-01-09 19:14:15 -08:00
Azure SDK Bot
f2201b1d8d
Hyperlink from eng/common job-matrix README to matrix_generator.md (#4227)
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-01-07 04:35:16 -08:00
Azure SDK Bot
bf5e9bb757
Sync eng/common directory with azure-sdk-tools for PR 5027 (#4221)
* move things out from eng/common/scripts/job-matrix

* fix broken link for CI/CD verification

Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-01-04 22:05:53 -05:00
Azure SDK Bot
c2e6607f0b
Sync eng/common directory with azure-sdk-tools for PR 4880 (#4203) 2022-12-20 11:15:36 -08:00
Azure SDK Bot
5d64990678
Sync eng/common directory with azure-sdk-tools for PR 4544 (#4080)
* Fix contains method in stress generate function

* Update stress examples to addons 0.2.0. Script QOL fixes.

* Skip CI print for stress matrix. Minor improvements.

* Fix non-matching Chart.yaml files being evaluated too soon

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-11-01 15:27:14 -04:00
Azure SDK Bot
90f1ff9364
Sync eng/common directory with azure-sdk-tools for PR 3790 (#4041)
* Added yaml support for job matrix creation

* autogen scenario matrix for stress test

* Temporary Working State

* update to default sparse

* pr comments and some error handling

* custom matrixfilename and ordering of generatedValues.yaml

* common module import

* JobMatrix write host

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2022-10-20 16:30:02 -07:00
Azure SDK Bot
9a0463849a
Fix bad path to sample matrix json (#3860)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-08-02 14:01:54 -07:00
Azure SDK Bot
f2efcedd1d
Sync eng/common directory with azure-sdk-tools for PR 3753 (#3857)
* Bump MacOs version to macos-11

* Update eng/common/scripts/job-matrix/tests/job-matrix-functions.tests.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Update eng/common/scripts/job-matrix/tests/job-matrix-functions.tests.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

Co-authored-by: sima-zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2022-07-27 15:52:01 -07:00
Azure SDK Bot
4a0e339563
Improve matrix config include docs (#3801)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-07-06 13:27:02 -07:00
Azure SDK Bot
48ef687a8f
Fix issue where matrix replace was not using imported display names (#3694)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-06-02 13:18:44 -07:00
Azure SDK Bot
fde9966734
Sync eng/common directory with azure-sdk-tools for PR 2967 (#3499)
* Fix bug where job matrices with leading numbers generated duplicate job names

* Fail matrix generation when config path or import paths are not found

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-04-01 18:31:31 -04:00
Azure SDK Bot
c930b56100
Sync eng/common directory with azure-sdk-tools for PR 2913 (#3433)
* archetype-sdk-tests-generate.yml now provides an opportunity for additional steps after the target has been cloned but before matrix generation is invoked

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2022-03-15 13:21:23 -07:00
Azure SDK Bot
b265366d30
Update matrix doc header titles for replace/modify/append (#3292)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-01-28 18:48:12 -05:00
Azure SDK Bot
642c311676
Use single quotes for matrix generator command line arguments (#2028)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-04-05 12:53:33 -04:00
Azure SDK Bot
24f44838a8
Sync eng/common directory with azure-sdk-tools for PR 1521 (#1982)
* Fix issue where 2d index arrays with length 1 get flattened by powershell

* Pass NonSparseParameters to imported matrix generation

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-03-26 12:52:31 -07:00
Azure SDK Bot
b6c354f435
Sync eng/common directory with azure-sdk-tools for PR 1514 (#1960)
* Handle null values when generating display names

* Fix issue processing matrices where the base matrix is only an import

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-03-23 12:51:00 -07:00
Azure SDK Bot
e464f8b01e
Sync eng/common directory with azure-sdk-tools for PR 1498 (#1924)
* Fix null check against matrix parameter array

* add negative test cases

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com>
2021-03-18 13:34:30 -04:00
Azure SDK Bot
ca1692e375
Sync eng/common directory with azure-sdk-tools for PR 1463 (#1919)
* Add 'replace' support. Improve handling of dynamic parameter types.

* Support display name import and overrides

* Support regex capture groups for replace. Force fully matching regex.

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-03-16 16:46:41 -07:00
Azure SDK Bot
37454b68ef
Sync eng/common directory with azure-sdk-tools for PR 1452 (#1814)
* Use sparse checkout for generate matrix job

* Add repository parameter

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-03-08 18:07:54 -08:00
Azure SDK Bot
64d18ea182
Fix bug where imported matrix parameter duplicates are not overrided (#1790)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-03-05 12:59:49 -08:00
Azure SDK Bot
5a1fedd0d5
Sync eng/common directory with azure-sdk-tools for PR 1429 (#1705)
* Add job matrix generation scripts

* Add working job matrix example pipeline and common matrix generation pipeline.

* Update job matrix tests path

* Parameterize matrix generation job path

* Add global variable to override nuget security checks to sample matrix pipeline

* Update readme matrix pipeline example to match sample file

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-02-19 14:45:31 -08:00