Commit Graph

159 Commits

Author SHA1 Message Date
Azure SDK Bot
d3dbd56d1d
Update pipeline-generator version (#3623)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2022-05-05 12:52:24 -07:00
Azure SDK Bot
2c3d73e369
Short circuit out of msdocs publish if no package locations are specified (#3607)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2022-05-02 17:44:55 -07:00
Azure SDK Bot
42eff2eb4b
Skip azcopy download if it already exists (#3576)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2022-04-21 15:01:46 -07:00
Azure SDK Bot
ca20a7f744
check the right variable syntax (#3547)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-04-11 16:32:14 -07:00
Azure SDK Bot
fd10570626
update pipeline generator package version (#3545)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2022-04-11 13:02:06 -07:00
Azure SDK Bot
cb291def7c
Clean up on cspell (#3487)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-03-30 09:51:18 -07:00
Azure SDK Bot
6f426df9f3
fix the target branch checking (#3474) 2022-03-24 14:52:26 -07:00
Azure SDK Bot
300612ca4e
Sync eng/common directory with azure-sdk-tools for PR 2861 (#3425)
* Use common script for git diff changes

* remove extra files

* suppress spell check

* suppress false positive cspelling

* Address comments

* make changes to cspell

* Suppress to right values

* More fix

Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-03-23 16:59:07 -07:00
Azure SDK Bot
1cd78c3dc2
Sync eng/common directory with azure-sdk-tools for PR 2901 (#3437)
* skip credscanning when only file deletes are done
* applying condition wherever applicable
* updating name as accepted by the crew

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2022-03-16 11:55:13 -07:00
Azure SDK Bot
e6c91c09f9
Skip component governance in generate matrix job (#3435)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-03-15 18:18:21 -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
7af1e39c27
Sync eng/common directory with azure-sdk-tools for PR 2875 (#3396)
* Support staging URl to run detect API changes in test env

* Remove empty line

Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2022-03-07 17:02:52 -08:00
Azure SDK Bot
f3c3d5fa0b
Sync eng/common directory with azure-sdk-tools for PR 2830 (#3383)
* Improve Cosmos Emulator logic

* Run cosmos db emulator in two steps

* Using povershell < core for emulator

* add retry logic to cosmosdb-emulator launch

* Add Retry step fir cosmos emulator launch

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2022-03-02 16:18:16 -08:00
Azure SDK Bot
59e620318e
Check API changes only if package is modified (#3385)
Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2022-03-02 09:03:02 -08:00
Azure SDK Bot
2a57a72e50
Sync eng/common directory with azure-sdk-tools for PR 2778 (#3384)
* Clean up unused codes and dependencies

* fix the only deleted files

Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-03-01 21:41:40 -08:00
Azure SDK Bot
9bbd33b714
Generate weekly pipelines for unified pipeline convention (#3347)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-02-18 16:16:40 -08:00
Azure SDK Bot
f045b220e6
Update pipeline generator version to 20220211.1 (support upweekly) (#3354)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-02-18 16:11:02 -08:00
Azure SDK Bot
ddb9acde4c
Sync eng/common directory with azure-sdk-tools for PR 2775 (#3360)
* update baseline

* change version

* Update the credscan version

* add empty line

* Update credscan.yml

* Update eng/common/pipelines/templates/steps/credscan.yml

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-02-17 21:43:02 -08:00
Azure SDK Bot
771b7382c2
Sync eng/common directory with azure-sdk-tools for PR 2754 (#3346)
* Add configs

* Update eng/common/pipelines/templates/steps/credscan.yml

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

* Adding commnets

* wrong order

* Update credscan.yml

* Update credscan.yml

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-02-15 14:44:43 -08:00
Azure SDK Bot
41cda0d34d
Sync eng/common directory with azure-sdk-tools for PR 2740 (#3341)
* Change credscan to use v3 and enable to scan entire repo

* Check string emtpy

* add quotes around parameters

Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-02-10 21:58:57 -08:00
Azure SDK Bot
dc1ce53a34
Fixed the prefix of the target branch (#3338)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-02-10 16:00:47 -08:00
Azure SDK Bot
c905080138
Preprocess the target branch + Remove deleted files (#3337)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-02-09 17:58:16 -08:00
Azure SDK Bot
145359aecd
Sync eng/common directory with azure-sdk-tools for PR 2686 (#3331)
* Add common template for credscan step

* Update eng/common/pipelines/templates/steps/credscan.yml

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

* Update eng/common/pipelines/templates/steps/credscan.yml

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

* Update eng/common/pipelines/templates/steps/credscan.yml

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

* Update eng/common/pipelines/templates/steps/credscan.yml

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

* Update eng/common/pipelines/templates/steps/credscan.yml

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

* Update eng/common/pipelines/templates/steps/credscan.yml

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

* Update eng/common/pipelines/templates/steps/credscan.yml

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

* Update eng/common/pipelines/templates/steps/credscan.yml

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

* Added the source directory parameter

* Update eng/common/pipelines/templates/steps/credscan.yml

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

* Update eng/common/pipelines/templates/steps/credscan.yml

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

* Update eng/common/pipelines/templates/steps/credscan.yml

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

* Update eng/common/pipelines/templates/steps/credscan.yml

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

* Update credscan.yml

* Update eng/common/pipelines/templates/steps/credscan.yml

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: Ben Broderick Phillips <ben@benbp.net>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2022-02-08 12:57:43 -08:00
Azure SDK Bot
213608b951
Sync eng/common directory with azure-sdk-tools for PR 2608 (#3303)
* Get ms alias from github identity.

* Update Update-DocsMsMetadata.ps1

Co-authored-by: sima-zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
2022-02-02 10:54:58 -08:00
Azure SDK Bot
acdd028d56
remove greedy suffix on link check (#3276)
Co-authored-by: Dane Walton <dawalton@microsoft.com>
2022-01-26 13:00:24 -08:00
Azure SDK Bot
118e598e3e
Sync eng/common directory with azure-sdk-tools for PR 2596 (#3267)
- Fix bug in Add-ReleaseLease helper script
- Enable better local logging for handling token
- Enable strict mode to help catch issues like this in the future
2022-01-21 15:19:23 -08:00
Azure SDK Bot
8978973ddd
Sync eng/common directory with azure-sdk-tools for PR 2500 (#3227)
* Update pipeline generator tool feed to azure-sdk-for-net

* Update pipeline generator tool version

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-01-07 21:48:51 -05:00
Azure SDK Bot
ae3e5e021b
Sync eng/common directory with azure-sdk-tools for PR 2484 (#3213)
* Add weekly pipeline generation to prepare-pipelines template

* Add succeeded condition to pipeline generation pipelines

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-01-05 15:59:24 -08:00
Azure SDK Bot
11e625596f
Sync eng/common directory with azure-sdk-tools for PR 2417 (#3176)
* Add logic for retrieving package infro from DevOps feed

* Add template for docwarden

* Remove Invoke-DevOpsAPI changes

* Update verify readme logic

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-12-09 17:37:19 -08:00
Azure SDK Bot
2520b2b359
Sync eng/common directory with azure-sdk-tools for PR 2381 (#3162)
* Add disk metrics script and template

* Support linux disk matrics

* Add continueOnError to write-filesystemmetrics.yml

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2021-12-07 12:52:30 -08:00
Azure SDK Bot
68c7e28523
Sync eng/common directory with azure-sdk-tools for PR 2327 (#3158)
* Use docker validation on release pipeline

* format

* Update Update-DocsMsMetadata.ps1

* Update Update-DocsMsMetadata.ps1

* Update Update-DocsMsMetadata.ps1

* For testing null purpose

* Update eng/common/scripts/Update-DocsMsMetadata.ps1

* Update eng/common/scripts/Update-DocsMsMetadata.ps1

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

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>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2021-12-06 13:29:33 -08:00
Azure SDK Bot
18300fa13c
Sync eng/common directory with azure-sdk-tools for PR 2352 (#3145)
* Add spell check pin changes

* Apply suggestions from code review

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

* Add package-lock.json

* Set node version and upgrade npm in check-spelling.yml

* Do not mutate local NPM environment

* Remove unnecessary comment, we no longer use npm exec

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-12-02 08:39:07 -08:00
Azure SDK Bot
f0a743e02b
Sync eng/common directory with azure-sdk-tools for PR 2086 (#3138) 2021-11-23 18:13:48 -08:00
Azure SDK Bot
c5bbe8a281
Prefix matrix generation service directory sparse checkout with 'sdk' (#3107)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-11-16 10:12:53 -08:00
Azure SDK Bot
10861b3c3d
Use docker to do package validation. (#3020)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2021-11-01 23:04:13 -07:00
Azure SDK Bot
b028304d82
Use https for sparse checkout command (#3019)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-11-01 18:37:23 -07:00
Azure SDK Bot
24b34875ff
Sync eng/common directory with azure-sdk-tools for PR 2093 (#2984)
* Consume Codeowners parser library, ceperate users from teams in codeownerse

* Update get-pr-owners and related logic

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-10-20 12:07:56 -07:00
Azure SDK Bot
0d0810c349
Sync eng/common directory with azure-sdk-tools for PR 2085 (#2975)
* Fix up identity resolver to make it more reliable, publish notification configuration as a tool

* Use both username and email to resolve queuing user

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-10-18 19:53:29 -07:00
Azure SDK Bot
aab2b798f8
Add devops variable setting/clearing to eng/common (#2952)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2021-10-06 10:30:24 -07:00
Azure SDK Bot
975ad22708
Sync eng/common directory with azure-sdk-tools for PR 2064 (#2953) 2021-10-06 09:30:57 -07:00
Azure SDK Bot
58b19709c7
Add common policheck steps (#2920)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-09-24 16:39:08 -07:00
Azure SDK Bot
d0991c71d2
Sync eng/common directory with azure-sdk-tools for PR 2011 (#2903)
* Common pipeline template and script to detect API changes

* Cahnges as per review comments

* Review comment changes

* CCahgnes as per review comments

* Show warning for list of failed packages to detect API changes

* Apply suggestions from code review

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

Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
Co-authored-by: praveenkuttappan <55455725+praveenkuttappan@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-09-16 12:33:40 -07:00
Azure SDK Bot
8070ab2392
Sync eng/common directory with azure-sdk-tools for PR 2016 (#2904)
* Make ServiceName optional for verify-changelog

In cases like go where we don't pass a service name having this default to "not-specified" breaks things so we should allow for ServiceName and/or ServiceDirectory to be empty.

* Put quotes around the strings to allow for empty

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-09-15 15:32:47 -07:00
Azure SDK Bot
15b6a7abc4
Sync eng/common directory with azure-sdk-tools for PR 2009 (#2897)
* Skip PSModule caching in container jobs

* Add succeeded check to condition

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

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-09-15 12:45:36 -07:00
Azure SDK Bot
91b459b560
Add Skip.SetTestPipelineVersion to allow overidiing of use of BuildID for test version (#2849)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-09-08 12:58:47 -07:00
Azure SDK Bot
dd906a9b0d
Make "Setup Versioning Properties" cancellable (#2820)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2021-09-01 17:12:52 -07:00
Azure SDK Bot
669252d2a9
Skip eng common workflow enforcer for private repos (#2813)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-08-30 17:21:03 -07:00
Azure SDK Bot
b62de00276
Prevent wildcard expansion in git sparse checkout add (#2745)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-08-16 10:00:54 -07:00
Azure SDK Bot
8d0e4dfd1c
Add support for 'files' configuration (#2746)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2021-08-16 08:43:11 -07:00
Azure SDK Bot
2b4ece0098
Sync eng/common directory with azure-sdk-tools for PR 1748 (#2508)
* Simplify Ubuntu image name check for dns bypass

* Fix typo

Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2021-07-14 16:14:51 -07:00