Commit Graph

233 Commits

Author SHA1 Message Date
Azure SDK Bot
366e05ea1a
Sync eng/common directory with azure-sdk-tools for PR 9793 (#6401)
* Update pipeline generate

Includes fix https://github.com/Azure/azure-sdk-tools/pull/9784

* Update eng/common/pipelines/templates/steps/install-pipeline-generation.yml

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-02-06 22:35:47 -08:00
Azure SDK Bot
ca7968c1cd
Sync eng/common directory with azure-sdk-tools for PR 9698 (#6388)
* Fix pipeline generation for private repos

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

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-02-03 17:18:54 -08:00
Azure SDK Bot
3e3c0cedf9
Sparse checkout 1espt auto-baselining file by default (#6371)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-01-24 12:50:12 -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
632728efb0
Sync eng/common directory with azure-sdk-tools for PR 9466 (#6280)
* Use new generation tool that supports service connections

* Fix condition for generating weekly test pipelines

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-12-06 09:07:08 -08: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
e7af4f79d1
Sync eng/common directory with azure-sdk-tools for PR 9354 (#6195)
* Add step for emitting rate limits for a token

* add step to eng/common sync template

* Fix resource label output

* Use propery name instead of nested 'resource' property

* Add percent metric too

* Add divide by zero safety

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-11-07 16:31:06 -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
e7df815541
Support branch name with space in create review step (#6122)
Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>
2024-10-22 16:56:27 -04:00
Azure SDK Bot
74fa925dea
Sync eng/common directory with azure-sdk-tools for PR 9181 (#6108)
* save-package-properties.yml only activates PR diff mechanism if the service directory is "auto"

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-17 17:03:39 -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
ef728e9eda
we need the condition to be set on populateScanPaths step. if we don't, and there are previous failures in the analyze pipeline, we won't properly invoke verify readmes. (#6005)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-09-19 11:34:02 -07:00
Azure SDK Bot
0c6d59b645
Update PublishCodeCoverageResults task to v2 (#5987)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-13 11:58:55 -07:00
Azure SDK Bot
668c7acb2e
Sync eng/common directory with azure-sdk-tools for PR 8959 (#5982)
* Disable sbom generation for forked PR builds

* Update publish-1es-artifact.yml

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-13 09:20:41 -07:00
Azure SDK Bot
5a4a4a1b20
add quotes to powershell args (#5953)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-08-30 14:53:24 -07:00
Azure SDK Bot
7e9246794a
Sync eng/common directory with azure-sdk-tools for PR 8900 (#5951)
* Add save-package-properties yaml

* Encapsulate Save-Package-Properties.ps1 invocation into yaml

* Fix output formatting

* Fix code style

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-08-29 14:44:37 -07:00
Azure SDK Bot
758460d618
Add FilePattern support for .github\workflow sync (#5919)
Given we cannot create subfolders under .github\workflow folder
and we have repos that want additional workflows then we have
in the tools repo we need to setup a file pattern matching for
the sync processing to only sync the ones we want to be common.

For now just use the existing *event* pattern but we can move them
to another pattern similar to *common* or *sync* in the future as
we add more common workflows.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-08-16 14:03:15 -07:00
Azure SDK Bot
6d77ab85dc
Sync eng/common directory with azure-sdk-tools for PR 8842 (#5912)
* Clean-up publish-blobs.yml to have better defaults

* Update copy-docs-to-blobstorage.ps1

* Update publish-blobs.yml

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-08-15 10:45:52 -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
67f1632454
Change the daily docs branch name (#5847)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-07-26 12:55:04 -07:00
Azure SDK Bot
522b25508d
Sync eng/common directory with azure-sdk-tools for PR 8650 (#5812)
* missed a condition passthrough

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
2024-07-19 13:44:47 -07:00
Azure SDK Bot
b1207fc87a
add the ability to override default succeeded() conditioning by parameter (#5780)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-07-10 14:26:42 -07:00
Azure SDK Bot
247583f456
Update publish template (#5727)
Add logging and fix display name given Agent.JobStatus doesn't evaluate currently in the display name property.

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-06-18 16:48:00 -04:00
Azure SDK Bot
b7b9ab04af
Sync eng/common directory with azure-sdk-tools for PR 8457 (#5722)
* Update macos image from 11 to latest

* unpin pester now that 5.6.0 is on the agent

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-06-17 14:54:06 -04:00
Azure SDK Bot
f80f2d7999
Sync eng/common directory with azure-sdk-tools for PR 8388 (#5704)
* Removal of the devops release PAT

* Don't pass in the access token, just use the AzureCLI task and do everything in the scripts

* Updates for feedback

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-06-13 12:10:14 -04:00
Azure SDK Bot
fe18f39cb3
Pin pester version to 5.5.0 (#5703)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-06-07 10:16:39 -07:00
Azure SDK Bot
f715b5674f
Sync eng/common directory with azure-sdk-tools for PR 8370 (#5689)
* PAT Removal from pipeline generation yml

* update version of PipelineGenerator to install

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-06-04 14:09:47 -07:00
Azure SDK Bot
d055b7a921
Sync eng/common directory with azure-sdk-tools for PR 8283 (#5635)
* Update APIView script path to absolute path
2024-05-17 12:58:56 -04:00
Azure SDK Bot
a315b29bab
Remove SAS token from GitHubIO blob storage docs publish (#5636)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-05-17 09:35:10 -07:00
Azure SDK Bot
3a67ae53cb
Sync eng/common directory with azure-sdk-tools for PR 8216 (#5623)
* Make create apireview runnable from non default working directory
2024-05-16 13:41:58 -04:00
Azure SDK Bot
565f07da68
Added variable to skip spec location chk (#5621)
Co-authored-by: raychen <raychen@microsoft.com>
2024-05-15 14:46:44 +08:00
Azure SDK Bot
a29f603c32
Fix Policheck step indention (#5553)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-04-18 15:55:39 -07:00
Azure SDK Bot
e28ac6cdb1
Sync eng/common directory with azure-sdk-tools for PR 8110 (#5540)
* Show review link in logs and set DevOps project name based on the pipeline run
2024-04-16 23:22:13 -04:00
Azure SDK Bot
b063cdee1b
Use WIF to connect storage container (#5525)
Moving away from SAS tokens for connecting to storage so switching to using a Workload Identity Federation connection to the container to download the needed files.

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-04-15 16:06:50 -07:00
Azure SDK Bot
1da16d5dfb
Sync eng/common directory with azure-sdk-tools for PR 8019 (#5510)
* Add retry on error for sparse checkout

* Consolidate sparse checkout command logging

* Consolidate sparse checkout command logging

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-04-10 14:47:53 -04:00
Azure SDK Bot
408bd2bead
Sync eng/common directory with azure-sdk-tools for PR 8015 (#5487)
* Use different service connection and az CLI for ACR auth

* displayName

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-04-04 10:11:18 -07:00
Azure SDK Bot
7fa626d47c
Sync eng/common directory with azure-sdk-tools for PR 7855 (#5459)
* Pipeline template to validate package and update package work item

* Changes to restructure validations

* Additional fixes as per comments

* Remove explicit exit code

* Set erroractionpreference for change log check

---------

Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>
2024-03-27 15:01:11 -04:00
Azure SDK Bot
de372fdaba
Create api review script changes to add a param to set release tag (#5453)
Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>
2024-03-18 10:54:28 -04:00
Azure SDK Bot
d390750361
Sync eng/common directory with azure-sdk-tools for PR 7892 (#5451)
* Move git check for changes to script

* Minor fixes for 1es migration

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-03-15 17:24:05 -04:00
Azure SDK Bot
a7ce0d5ae3
Sync eng/common directory with azure-sdk-tools for PR 7810 (#5412)
* Run publish on failed or succeeded

* Expand agent os string detection

* Check agent job status env var for artifact name detection

* Add sbomEnabled flag to publish template

* Fix image and artifact name conditional

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-03-05 17:47:38 -05:00
Azure SDK Bot
4be69dddcb
Sync eng/common directory with azure-sdk-tools for PR 7758 (#5410)
* Add 1es changes for job/matrix generation and publish

* Use more flexible pool filter for prev/next pool matches

* consolidate displayname definition

* use linux pool variables for generate matrix job

* Fix publish artifact

* Use single publish task for publish artifact

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-03-04 16:57:59 -05:00
Azure SDK Bot
dcc15a63a0
Sync eng/common directory with azure-sdk-tools for PR 7634 (#5323)
* Fix sparse-checkout git command line behavior

* Use command arg parsing behavior in sparse-checkout.yml

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-02-05 20:18:36 -08:00
Azure SDK Bot
535874a085
Sync eng/common directory with azure-sdk-tools for PR 7451 (#5264)
* Added script and pipeline for spec location validation

SDK release pipeline would run this validation to ensure the spec comes from
the main branch of Azure/azure-rest-api-specs repo

* Update parameter

* Use github rest api to validate commit

* Added token parameter

* Support more yaml cases and other languages

* Removed the default setting in yaml template

* Only validate in case of GA package

* Follow APIView to retrieve package version for verification

* Get github token from env variable

* Removed obsolete parameter

---------

Co-authored-by: raychen <raychen@microsoft.com>
2024-01-14 19:37:42 -08:00
Azure SDK Bot
08c5187e36
Sync eng/common directory with azure-sdk-tools for PR 7445 (#5247)
* Add package filter parameter to select recursively found packages in release

* Handle empty value for packageFilter

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-01-11 12:43:30 -08:00
Azure SDK Bot
c9f3b9485e
Use better description for single repo sparse checkout (#5028)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2023-10-12 10:53:48 -07:00
Azure SDK Bot
5acdb5ba1b
Detect all file diff types for eng/common changes (#5016)
Fixes https://github.com/Azure/azure-sdk-tools/issues/5882

We need to set the difffilter to empty instead of the default of exclude deleted files when we are trying to verify there are no changes under eng/common.

See test PR https://github.com/Azure/azure-sdk-for-python/pull/32348 which demonstrates us not detecting a deleted file under eng/common. I'll use that same test PR to verify this now catches that issue.

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2023-10-06 12:42:34 -07:00
Azure SDK Bot
35e42b99cf
Sync eng/common directory with azure-sdk-tools for PR 7040 (#4997)
* Remove codeowners resolution logic from docs scripts

* Remove parameters that aren't needed

* Remove auth information from update-docsms-metadata.yml

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2023-10-02 14:58:21 -07:00
Azure SDK Bot
744450472d
Sync eng/common directory with azure-sdk-tools for PR 6919 (#4988)
* Add autorest-preview pipeline

* Add emitternpminstall

* Always install

* Use shorter leg name

* Add short circuiting to emitter install

* Use language matrix function

* Don't look for subfolders in the matrix package folders

* Revert unnecessary eng/common changes

* Rewrite GetPullRequestUrl to Get-BuildSourceDescription

* Remove alias from Invoke-LoggedCommand

* Use invoke-expression instead of shelling out

* Add better job splitting

* Replace Folder with Directory

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2023-09-25 12:35:11 -07:00
Azure SDK Bot
468742224b
Check for DocsMsPackagesAllValid before running validation step (#4916)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2023-08-28 21:54:57 -07:00