Commit Graph

506 Commits

Author SHA1 Message Date
Azure SDK Bot
e0c5f27d6b
Update common tool to support go (#6389)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-02-04 00:05:33 -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
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
124742bde8
Sync eng/common directory with azure-sdk-tools for PR 9687 (#6368)
* Migrate stress storage cluster

* Add tenant to stress deploy login

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-01-24 13:58:19 -08:00
Azure SDK Bot
d646629655
Sync eng/common directory with azure-sdk-tools for PR 9656 (#6366)
* Added label handle sdk-gen pipeline template

Added common script to delete label from a PR

* Update eng/common/scripts/Invoke-GitHubAPI.ps1

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>

---------

Co-authored-by: ray chen <raychen@microsoft.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-01-22 15:30:17 -08:00
Azure SDK Bot
90a2207ea5
Sync eng/common directory with azure-sdk-tools for PR 9668 (#6364)
* Support incrementing semver prereleases with 'zero' versions

* Make tests more explicit

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2025-01-22 10:39:17 -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
4d8c32d22a
Sync eng/common directory with azure-sdk-tools for PR 9652 (#6361)
* Update github.io docs to use static website instead of blobs directly

* Update eng/common/scripts/copy-docs-to-blobstorage.ps1

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

* Switch from AzurePowerShell to AzureCLI task

* Add scriptLocation to docindex.yml

* Update Generate-DocIndex.ps1

* Fix indentation in docindex.yml script block

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2025-01-21 08:55:49 -08:00
Azure SDK Bot
fbe7276a5e
Fix broken link (#6347)
Co-authored-by: McCoy Patiño <39780829+mccoyp@users.noreply.github.com>
2025-01-17 15:11:04 -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
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
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
11ee6a6005
remove previous cadl scripts (#6262)
Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>
2024-11-26 15:47:05 -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
8f6ea6b9b8
Sync eng/common directory with azure-sdk-tools for PR 9381 (#6239)
* change our verifyChangelogs over to utilizing the artifact details. if we don't have an artifact details at all, don't verify changelog. if we do, but skipverifychangelog is present, don't verify changelog. if we have artifact details, but no disable, verify the changelog

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-18 15:13:17 -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
88beb19768
Add helpers to log a GitHub "notice" (#6228)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2024-11-15 17:10:57 -08:00
Azure SDK Bot
e7e4477a63
Fix missing stress matrix display name filter (#6210)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-13 15:01:58 -05:00
Azure SDK Bot
99d0d9faca
Sync eng/common directory with azure-sdk-tools for PR 9328 (#6174)
* ensure that ChangedServices value within the generated pr diff is always properly an array of strings
* upload the changed services as an attachment named AdditionalTags in save-package-properties.yml, to allow PipelineWitness to tag public builds during log processing

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
Co-authored-by: Patrick Hallisey <hallipr@gmail.com>
2024-11-12 14:55:03 -08:00
Azure SDK Bot
b2a84e5b06
Sync eng/common directory with azure-sdk-tools for PR 9331 (#6193)
* Common cleanup with the docs docker images no longer being used

* Remove docker-pull-image.yml

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-11-07 14:25:36 -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
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
ee75d1d79f
Version/location updates for stress script usage (#6165)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-04 19:26:47 -05: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
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
dc16283c09
Sync eng/common directory with azure-sdk-tools for PR 9288 (#6160)
* Update Logging

* Update eng/common/scripts/logging.ps1

---------

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-10-31 14:00:19 -07: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
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
bcaaa3bfdb
Allow default matrix selection override (#6128)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-24 16:05:06 -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
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
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
0e48f058d4
Sync eng/common directory with azure-sdk-tools for PR 9106 (#6082)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-08 15:58:14 -07:00
Azure SDK Bot
3fc099bfd0
Docs onboarding: ValidatePackageForOnboarding2 -> PackageIsValidForDocsOnboarding (#6045)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-09-26 15:05:17 -07:00
Azure SDK Bot
9655b9f5b8
Sync eng/common directory with azure-sdk-tools for PR 9035 (#6032)
* don't verify changelog for packages that aren't actively published anymore
---------

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>
2024-09-25 11:46:31 -07:00
Azure SDK Bot
bc9aaa43cf
Sync eng/common directory with azure-sdk-tools for PR 9013 (#6013)
* Spelling: Remove deprecated --no-install, replace with --no

* Extract testing, use npm exec instead of npx

* Move tests to eng/common-tests/

* Cleanup, documentation

* More cleanup

* Update $command

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-09-24 09:50:14 -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
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
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
f00f07dfe0
Require minimum stress addons version of 0.3.0 (#5981)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-09-12 16:55:13 -07:00