Commit Graph

226 Commits

Author SHA1 Message Date
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
e178a716a4
Updates to tools for CodeownerUtils updates (#5383)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-02-27 10:43:23 -08:00
Azure SDK Bot
15dab12036
Updates to tools for the CodeownersUtils updates (#5362)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-02-16 11:48:24 -08: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
0b01dc6614
Fix BOM issue Generate-DocIndex.ps1 (#5318)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-02-05 15:34:41 -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
361a0199b8
Update CodeownersLinter to 1.0.0-dev.20231120.3 (#5174)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-11-20 12:13:41 -08:00
Azure SDK Bot
a6956c7639
Use sparse-checkout to do a faster, shallow clone (#5146)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-11-10 00:17:34 +00:00
Azure SDK Bot
0ca8a1d9d5
Set WorkingDirectory so the dotnet tools install works on non-windows (#5144)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-11-09 11:40:57 -08:00
Azure SDK Bot
682851f749
Sync eng/common directory with azure-sdk-tools for PR 7251 (#5125)
* Add CODEOWNERS linter yml file to eng/common/pipelines

* Add filter baseline option to run command line

* Update version of linter to 1.0.0-dev.20231107.2 which will install correctly

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-11-07 15:51:18 -08:00
Azure SDK Bot
df8f9ddf1a
Use sparse checkout for pipeline generator (#5097)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-10-31 12:36:00 -07: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
Azure SDK Bot
cdfabe3cc5
Sync eng/common directory with azure-sdk-tools for PR 6530 (#4801)
* Update-DocsMsMetadata.ps1 can fail the build on invalid packages

* Better error handling and logging

* Review feedback

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2023-07-18 21:33:10 -07:00
Azure SDK Bot
60e28cbd23
Add branch merging support to our mirror pipeline (#4734)
This adds the ability to do a branch merge as part of our mirroring
pipeline. The merge will allow configuration of which files to
move from source to target so it can be scoped to part of the branch.
Instead of a standard push it will create a PR with the merge so it
can be manually reviewed.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2023-06-23 11:41:49 -07:00
Azure SDK Bot
fac8d4e309
Turn off git auto gc for sparse-checkout (#4713)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-06-13 14:11:38 -04:00
Azure SDK Bot
95d24e9d8a
Remove defunct template (#4659)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-05-26 11:11:50 -07:00
Azure SDK Bot
e08c281cac
Eng workflows sync and branch cleanup additions (#4611)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-05-04 15:16:36 -07:00
Azure SDK Bot
8ee7d452ab
pass along the artifact name so we can override it later (#4604)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2023-05-03 11:53:45 -07:00
Azure SDK Bot
6255145031
MMSUbuntu22.04 -> ubuntu22.04 (#4561)
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-04-19 23:52:22 -07:00
Azure SDK Bot
d55e290607
Bump credscan to 2.3.12.23 (#4519)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-04-05 14:33:29 -04:00
Azure SDK Bot
6999572809
Sync eng/common directory with azure-sdk-tools for PR 5608 (#4411)
* ongoing

* Move get-codeowners scripts and tests to their own dirs

* address PR remarks

* Fix CodeOwnerFileLocation path, fix casing, and dedup param defaults

* fix param names

* add todos on needed changes in cpp repo

* Add CodeownersFileLocation to Get-Codeowners and use $null for default param values

* move get-codeowners back to scripts/ and rename -functions to .lib

* fix: use empty string as defaults instead of $nulls, to fix invocation

* fix bug with invocation of Get-Codeowners + add support for passing IncludeNonUserAliases as switch

* fix path iin Metadata-Helpers.ps1

* fix typo

* Update archetype-cpp-release.yml

---------

Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-03-30 23:55:52 -07:00
Azure SDK Bot
a08730142c
Revert "[check-spelling] Temporarily pin Node 18 to 18.13.0 (#5537)" (#4456)
This reverts commit 8a02e02adfc0d213509fce2764132afa74bd4ba4.

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-03-17 14:00:00 -07:00
Azure SDK Bot
78eabdc1af
Temporarily pin Node 18 to 18.13.0 - Fixes #5536 (#4378)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-02-21 22:36:08 -05:00
Azure SDK Bot
f45d8f6b2f
Add vmImage back to common perf.yml - Fixes #5466 - Partially reverts #5456 (#4376)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-02-21 18:13:33 -05:00
Azure SDK Bot
b1efed36d5
MMS2022 -> windows-2022 (#4368) 2023-02-16 18:32:36 -08:00
Azure SDK Bot
afaefd3d05
Sync eng/common directory with azure-sdk-tools for PR 5456 (#4362)
* Add parameter TimeoutInMinutes

* Update pools and images to latest

* Remove all usage of vmImage

---------

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-02-15 00:47:08 -08:00
Azure SDK Bot
cf1490fe80
Sync eng/common directory with azure-sdk-tools for PR 5083 (#4348)
* Remove language from profile zip

* Revert "Remove language from profile zip"

This reverts commit 2f670435b25f89955338170a7bdfbe4432cbe23f.

* Remove Services parameter

* Fix path to tests-file

* Run both sync and async tests by default

* Add LanguageVersion to common perf.yml

---------

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-02-09 21:13:26 -08:00
Azure SDK Bot
b8ddcc616f
Consume cosmos emulator from install path on agent (#4316)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2023-01-31 21:33:57 -08:00
Azure SDK Bot
df430901be
Adding test pipeline for common-tests (#4228) 2023-01-08 22:32:19 -08:00
Azure SDK Bot
61649db9f3
Revert "Migrate eng/common (except job-matrix) to Ubuntu 22.04 (#5005)" for perf.yml (#4225)
This reverts commit 81c78afd563a32c224eb45b0cf864078d55b68eb.

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-01-05 12:52:09 -08:00
Azure SDK Bot
8f28aabe67
Migrate eng/common (except job-matrix) to Ubuntu 22.04 (#4218)
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-01-03 22:12:02 -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
122eb3cfb1
Sync eng/common directory with azure-sdk-tools for PR 4998 (#4205)
* Update pipeline generation yaml

* Bump pipeline generator to 20221220.1

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-12-20 12:59:03 -05:00
Azure SDK Bot
37f197c383
Sync eng/common directory with azure-sdk-tools for PR 4988 (#4202)
Mirror of https://github.com/Azure/azure-sdk-tools/pull/4988
2022-12-20 00:16:22 +00:00
Azure SDK Bot
c73ad854c2
Sync eng/common directory with azure-sdk-tools for PR 4962 (#4193)
* prepare pipeline job bug fix

* Update eng/common/pipelines/templates/jobs/prepare-pipelines.yml

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

* Update eng/common/pipelines/templates/jobs/prepare-pipelines.yml

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
Co-authored-by: Albert Cheng <38804567+ckairen@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-12-15 13:19:31 -08:00
Azure SDK Bot
7a729bed81
introduce job version of "prepare-pipelines.yml" (#4185)
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2022-12-12 15:46:55 -08:00
Azure SDK Bot
8ec8cc2ce5
Sync eng/common directory with azure-sdk-tools for PR 4878 (#4156)
* Pass profile flag

* Fix conditional add of '--profile'

* One more attempt at how to enable profile

* Don't publish everything

* Move profile parameter after iterations

* Pass profile parameter as flag option

* Create profile variable

Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
Co-authored-by: Mike Harder <mharder@microsoft.com>
2022-12-05 15:47:14 -08:00
Azure SDK Bot
75285bc4cb
Use same CustomCondition as success task (#4148)
Co-authored-by: Heath Stewart <heaths@microsoft.com>
2022-12-02 11:26:38 -08:00
Azure SDK Bot
13100c5985
cspell issues in cpp branch , needs updated node, and cspell and npx need to be installed for cspell to run (#4086)
Co-authored-by: George Arama <50641385+gearama@users.noreply.github.com>
2022-11-02 15:03:12 -07:00
Azure SDK Bot
3fec13f7a6
Remove SkipDefaultCheckout parameter (#3930)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-09-14 16:39:10 -04:00
Azure SDK Bot
737a09fad9
Migrate SkipDefaultCheckout to SkipCheckoutNone (#3916)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-09-01 16:46:50 -04:00
Azure SDK Bot
db99ee12df
Remove unnecessary checkout: none that causes conflicts with sparse checkout declarations (#3915)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-08-31 19:34:01 -07:00