Commit Graph

283 Commits

Author SHA1 Message Date
Azure SDK Bot
12f52838c7
Sync eng/common directory with azure-sdk-tools for PR 3578 (#3819)
* Fixed the common contract.

* Fix for current regex

* Add new line

* Update eng/common/scripts/Service-Level-Readme-Automation.ps1

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

* move compare and merge into gerenerate function

* Fix on new lines

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-07-12 15:23:31 -07:00
Azure SDK Bot
9ec257d9dd
Update set-test-pipeline-version.yml to handle one or more packages (#3814)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2022-07-07 17:46:37 -07:00
Azure SDK Bot
ef2f8d92c9
Fix null errors in SetTestPipelineVersion, Update Package Upload step name. (#3813)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2022-07-07 14:17:16 -07:00
Azure SDK Bot
0456c58298
Sync eng/common directory with azure-sdk-tools for PR 3568 (#3804)
* Skip yml files for which parsing failed

* Update eng/common/scripts/Verify-Resource-Ref.ps1

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2022-07-06 14:00:13 -07:00
Azure SDK Bot
b59bc3628b
Only update/override powershell module path when in CI on module script import (#3791)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-07-06 13:29:33 -07:00
Azure SDK Bot
4a0e339563
Improve matrix config include docs (#3801)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-07-06 13:27:02 -07:00
Azure SDK Bot
803dfb5938
Update mgmt toc structure and modify the service readme (#3798)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-07-05 14:31:13 -07:00
Azure SDK Bot
3d62767b5e
Sync eng/common directory with azure-sdk-tools for PR 3491 (#3781)
* stress test script and docs migration from test to pg cluster

* comments for stress-test-deployment-lib script

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2022-06-29 16:52:10 -07:00
Azure SDK Bot
6ab413955c
Sync eng/common directory with azure-sdk-tools for PR 3510 (#3778)
* Update verify-readme to take a single or multiple paths

* chance ScanPaths to a comma delimited list and coalesce ScanPath/ScanPaths into a single variable for the script

* VS Code was nice enough to add an extra single quote when adding a quote to the end of the line'

* Capture ScanPaths.Split into an array so we don't have to call Split again

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2022-06-28 15:52:10 -07:00
Azure SDK Bot
98d4502d3a
Sync eng/common directory with azure-sdk-tools for PR 3481 (#3764)
* Support local addons path override in stress test deployment

* Support username based deployId in local stress deployment

* Support WhatIf in stress infrastructure provision script

* Simplify stress user detection

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

* Run helm plugin add with helper

* Add WhatIf support to ps module install helper function

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2022-06-24 11:23:53 -07:00
Azure SDK Bot
3174833951
Fix Bug in Resource Ref Verifier (#3758)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2022-06-20 13:53:26 -07:00
Azure SDK Bot
164a2d6a9a
Sync eng/common directory with azure-sdk-tools for PR 3267 (#3655)
* Use seperate scripts

* address comments.

* do compare and update

* save on the service level readme

* have the helper for reuse function

* remove mgmt table

* changes

* fix

* no return on error

* return if no contents

* Address comments

* change the table

* address wes comments.

* address wes comments.

* address more comments.

Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-06-14 08:36:00 -07:00
Azure SDK Bot
48ef687a8f
Fix issue where matrix replace was not using imported display names (#3694)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-06-02 13:18:44 -07:00
Azure SDK Bot
a401ac937a
Sync eng/common directory with azure-sdk-tools for PR 3378 (#3679)
* Create json package property parent directory

* Fix the issue in script

Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2022-05-26 09:45:27 -07:00
Azure SDK Bot
644ab3e0b7
Sync eng/common directory with azure-sdk-tools for PR 3342 (#3664)
* Delete PR and branch which central PR is closed

* more logging changes

* resume the delete operations.

* Change the pr link directly

* fix the regex

* Refactor on regex name

* change the function to inline logic

* change typo

* delete on branch

* make changes on comments

* add commnets

* Update eng/common/scripts/Delete-RemoteBranches.ps1

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

* Update eng/common/scripts/Delete-RemoteBranches.ps1

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

* Update eng/common/scripts/Delete-RemoteBranches.ps1

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

* Update eng/common/scripts/Delete-RemoteBranches.ps1

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-05-23 14:47:48 -07:00
Azure SDK Bot
f3e2f6f2a5
Add Language product slug (#3665)
Co-authored-by: Deyaaeldeen Almahallawi <dealmaha@microsoft.com>
2022-05-23 12:30:39 -07:00
Azure SDK Bot
e010b9176b
Update the version tool to the latest (#3616)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-05-04 10:10:09 -07:00
Azure SDK Bot
e788cf6303
Sync eng/common directory with azure-sdk-tools for PR 3250 (#3595)
* Change the direction of the commit date

* Log on right place

* remove auth

* fix typo

* Add auth token back

* add delete back

* Update eng/common/scripts/Delete-RemoteBranches.ps1

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

* Update Delete-RemoteBranches.ps1

* Update Delete-RemoteBranches.ps1

* Update Delete-RemoteBranches.ps1

* Update Delete-RemoteBranches.ps1

* Update Delete-RemoteBranches.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-04-28 12:51:29 -07:00
Azure SDK Bot
d1be7c8bfd
Remove the daily branch before date (#3593)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-04-28 08:23:06 -07:00
Azure SDK Bot
637def0979
Sync eng/common directory with azure-sdk-tools for PR 3221 (#3591)
* Make docs.ms link relative link

* Update Update-DocsMsMetadata.ps1

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

Co-authored-by: Daniel Jurek <djurek@microsoft.com>

Co-authored-by: sima-zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2022-04-27 13:26:09 -07:00
Azure SDK Bot
c90ffacb92
Sync eng/common directory with azure-sdk-tools for PR 3169 (#3572)
* Use the batch version of ValidateDocsMsPackagesFn

* Use proper pipelining for GetPackageInfoJson function

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2022-04-20 15:33:16 -07:00
Azure SDK Bot
ce2c8db501
Sync eng/common directory with azure-sdk-tools for PR 2963 (#3542)
* 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>

* Remove strict date verification

* Add function for sorting changelog entries

* Minor cleanups

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-04-08 20:37:20 -07:00
Azure SDK Bot
fde9966734
Sync eng/common directory with azure-sdk-tools for PR 2967 (#3499)
* Fix bug where job matrices with leading numbers generated duplicate job names

* Fail matrix generation when config path or import paths are not found

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-04-01 18:31:31 -04: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
ac9d97ddd0
Add support for service names containing a forward slash (#3472)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2022-03-23 13:19:29 -07:00
Azure SDK Bot
d3a0dd98b6
Sync eng/common directory with azure-sdk-tools for PR 2939 (#3468)
* Remove extra files

* Update common.ps1

* Update Update-DocsMsToc.ps1

Co-authored-by: sima-zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
2022-03-23 11:13:15 -07:00
Azure SDK Bot
aa1751f3c0
Fix the duplicates and revert the unique checking (#3458)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-03-22 10:38:56 -07:00
Azure SDK Bot
077d6c97be
Sync eng/common directory with azure-sdk-tools for PR 2847 (#3455)
* Add extra group conditions, template consolidation

* Module fixes. Enable provisioner identity permissions via opensource api.

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-03-21 12:38:56 -07:00
Azure SDK Bot
1f8234059d
Fix several places which needs to add group id property (#3441)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-03-16 14:47:02 -07: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
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