Commit Graph

252 Commits

Author SHA1 Message Date
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
a46b15c8af
Sync eng/common directory with azure-sdk-tools for PR 2910 (#3423)
* Read the ms.service value from csv metadata

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

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

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

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

* Update Update-DocsMsMetadata.ps1

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-03-14 14:35:04 -07:00
Azure SDK Bot
812ba555fc
Revert "Verify ChangeLog as ForRelease (#2836)" (#3419)
This reverts commit 6d04c81f6dd95123fd53b5f75bd0849ed9c30da5.

Co-authored-by: Chidozie Ononiwu (His Righteousness) <31145988+chidozieononiwu@users.noreply.github.com>
2022-03-09 16:39:02 -08:00
Azure SDK Bot
ceee07cfa1
Sync eng/common directory with azure-sdk-tools for PR 2836 (#3388)
* Verify changelog like a release is about to take place if a vlaid date is present

* Update eng/common/scripts/ChangeLog-Operations.ps1

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

* Update eng/common/scripts/ChangeLog-Operations.ps1

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

* Update eng/common/scripts/ChangeLog-Operations.ps1

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

* Update eng/common/scripts/ChangeLog-Operations.ps1

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

* Update eng/common/scripts/ChangeLog-Operations.ps1

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

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Co-authored-by: Chidozie Ononiwu (His Righteousness) <31145988+chidozieononiwu@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2022-03-09 14:40:43 -08:00
Azure SDK Bot
3fc8cc0530
Support namespace override for local stress test deployments (#3416)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-03-09 14:09:00 -08: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
cd2e916296
Sync eng/common directory with azure-sdk-tools for PR 2824 (#3389)
* Common scripts for git diff changes

* Remove the localizer.

* Check not PR triggered case

* Pretty print

Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-03-03 10:42:41 -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
f07a8e2656
Sync eng/common directory with azure-sdk-tools for PR 2771 (#3377)
* Fix up parameters

* Update general azcopy tool for copying from blobstorage

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2022-02-25 13:05:55 -08:00
Azure SDK Bot
4a72b62e39
Enable API change detection for track2 management package (#3372)
Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2022-02-25 07:23:04 -08:00
Azure SDK Bot
3674bef659
Move Set-StrictMode to run after PSModule-Helpers.ps1 operations which violate strict mode and cause a falure as in https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1389880&view=logs&j=dc056dfc-c0cf-5958-c8c4-8da4f91a3739&t=61cf404c-fb38-582c-ffd7-16eb9e7ec7ac&l=97 (#3370)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2022-02-24 11:16:35 -08:00
Azure SDK Bot
3060f0a777
Add timeout on Invoke-request call (#3361)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-02-17 22:48:12 -08:00
Azure SDK Bot
473b7c301d
Add logic to generate docs.ms ToC (#3348)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2022-02-17 14:11:45 -08:00
Azure SDK Bot
a5a65bce1b
Print example docker commands after building stress image (#3332)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-02-08 17:30:51 -08:00
Azure SDK Bot
5157acbf6c
Sync eng/common directory with azure-sdk-tools for PR 2691 (#3324)
* Update prepare-release parameter documentation

* Apply suggestions from code review

Co-authored-by: Cala Zubair <60439897+czubair@users.noreply.github.com>

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Cala Zubair <60439897+czubair@users.noreply.github.com>
2022-02-07 13:53:09 -08:00
Azure SDK Bot
7ae6d82a65
Sync eng/common directory with azure-sdk-tools for PR 2685 (#3317)
* Fixed the no IsPrerelease property issue and retry 3 times on API call.

* check null

Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-02-04 14:20:19 -08:00
Azure SDK Bot
4e67da9775
Support github user namespaces for codespaces environments (#3316)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-02-04 15:04:23 -05:00
Azure SDK Bot
514080fa0c
Send authenticated request to query release tags (#3309)
Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2022-02-04 08:56:19 -08:00
Azure SDK Bot
dddfbaf296
Sync eng/common directory with azure-sdk-tools for PR 2673 (#3310)
* Fixed the failures from strict mode.

* Update Metadata-Helpers.ps1

Co-authored-by: sima-zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
2022-02-03 16:44:57 -08:00
Azure SDK Bot
e7c81831e1
Sync eng/common directory with azure-sdk-tools for PR 2605 (#3302)
* Non stop on readme checking

* Print the right variable name

Co-authored-by: sima-zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
2022-02-02 16:58:32 -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
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
1a83513ff1
Syncing eng/common (#3271)
Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2022-01-24 16:30:35 -08:00
Azure SDK Bot
f15372a7d1
Sync eng/common directory with azure-sdk-tools for PR 2581 (#3272) 2022-01-24 15:52:37 -08:00
Azure SDK Bot
dd40de0606
Sync eng/common directory with azure-sdk-tools for PR 2578 (#3268)
* excluding duplicated env:USER in image tag

* NIT

* removing default repo name

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2022-01-21 16:57:41 -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
34e5d9277b
fix: body is too long when create github release (#3249)
Co-authored-by: tadelesh <tadelesh.shi@live.cn>
2022-01-18 08:54:00 -08:00
Azure SDK Bot
12bae6e64b
Handle skipping docker build when PushImages is set and there is no dockerfile (#3174)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-01-06 17:25:52 -05:00
Azure SDK Bot
f937eae89c
Preserve kubectl context namespace if set for active stress cluster (#3187)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-12-17 11:41:13 -08:00
Azure SDK Bot
f73c9626fa
Increase github get issues fetch limit (#3183)
Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2021-12-14 20:19:18 -05: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
8daec30172
Added more parameter for JS use (#3175)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2021-12-09 16:10:58 -08:00
Azure SDK Bot
8e66a46e71
Use named parameter arguments and explicitly set switch argument values (#3171)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-12-08 16:42:51 -08:00
Azure SDK Bot
ccb435daa8
Added new API to get list of github issues (#3170)
Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2021-12-08 13:55:26 -08:00
Azure SDK Bot
f758b5917a
Taking the parameter literally (#3166)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2021-12-07 21:57:30 -08:00
Azure SDK Bot
1ae6ecd0a5
Sync eng/common directory with azure-sdk-tools for PR 2363 (#3159)
* Use stress test environment defaults for group and subscription

* Fix parameter passing from deploy-stress-tests.ps1 script

* Redact stress deployment logs and simplify image handling

* Use DevopsLogging parameter to prevent secret logging in non-devops CI environments

* Use switch type for DevopsLogging parameter

* Remove boolean parameter usage in favor of [switch]

* Add default parameter set usage comment

* Throw when clusterGroup and/or subscription is not specified for custom environments

* Add helper function for logging azure pipelines vso commands

* Invert SuppressVsoCommands binary default value

* Vso command fixes

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-12-07 13:45:51 -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
aa324ab9f5
Sync eng/common directory with azure-sdk-tools for PR 2380 (#3155)
* Add PowerShell Script for Validating READMEs

* Remember my VSCode doesn't use autosave

Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
2021-12-02 19:07:07 -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
6ed5696c7c
Pipeline auto-discover stress test (#3142)
Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2021-11-30 14:33:34 -08:00
Azure SDK Bot
38e42875a1
Sync eng/common directory with azure-sdk-tools for PR 2348 (#3144) 2021-11-29 16:41:23 -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
1a5c3f7f30
Sync eng/common directory with azure-sdk-tools for PR 2322 (#3133)
* Install and Run code owner tools in get-codeowner.ps1

* return command when exists

* Update eng/common/scripts/get-codeowners.ps1

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

* Update eng/common/scripts/get-codeowners.ps1

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

* Address comments

* Added test to script

* change return type

* change wrong params

* default to toolpath

* typo

* correct exit on Test

* change to right function name

* Fixed log message

* log message

* Added more test cases

* Correct the parameters

* Update eng/common/scripts/get-codeowners.ps1

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

* Update eng/common/scripts/get-codeowners.ps1

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

* Update eng/common/scripts/get-codeowners.ps1

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

* Remove exit 0 in test function

* change the path delimiter

* More changes on var

* Hide error behind

* Comment back all tests

* exit 0

* Update eng/common/scripts/get-codeowners.ps1

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

* remove default value

* changes for new get-codeowners

* Update eng/common/scripts/get-codeowners.ps1

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

* update version and parameter

* add user

* more fix

* add messages

* Added real cases

* fixed typo

* Make program work

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>
2021-11-22 16:29:47 -08:00
Azure SDK Bot
1c357e7781
Sync eng/common directory with azure-sdk-tools for PR 2306 (#3125)
* Declare transitive dependency on Az.KeyVault 3.4.1

* Resolve PR feedback

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2021-11-19 14:06:20 -08:00
Azure SDK Bot
688d36587a
Make sure clean-up scripts return collections (#3110)
Co-authored-by: Heath Stewart <heaths@microsoft.com>
2021-11-16 14:26:51 -08:00
Azure SDK Bot
ec139ab073
fix bug in prepare relaease for new packages that have never been released (#3109)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-11-16 12:58:05 -08:00
Azure SDK Bot
57e7a4e4f3
Sync eng/common directory with azure-sdk-tools for PR 2265 (#3104)
* Improve devops logging for link checker

* Update eng/common/scripts/Verify-Links.ps1

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-11-15 11:18:47 -08:00