Commit Graph

298 Commits

Author SHA1 Message Date
Azure SDK Bot
5d64990678
Sync eng/common directory with azure-sdk-tools for PR 4544 (#4080)
* Fix contains method in stress generate function

* Update stress examples to addons 0.2.0. Script QOL fixes.

* Skip CI print for stress matrix. Minor improvements.

* Fix non-matching Chart.yaml files being evaluated too soon

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-11-01 15:27:14 -04:00
Azure SDK Bot
214f4a364e
Sync eng/common directory with azure-sdk-tools for PR 4543 (#4071)
* stress test addons version check

* cleanup

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2022-10-27 18:07:33 -07:00
Azure SDK Bot
f174d97e8a
Improve scenario matrix edge case handling (#4065)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-10-26 12:51:22 -07:00
Azure SDK Bot
17a0ad5419
Sync eng/common directory with azure-sdk-tools for PR 4480 (#4046)
* Add extra parameters for .net readme path

* Use another way for default value

* Remove custom source

Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-10-23 21:03:56 -07:00
Azure SDK Bot
90f1ff9364
Sync eng/common directory with azure-sdk-tools for PR 3790 (#4041)
* Added yaml support for job matrix creation

* autogen scenario matrix for stress test

* Temporary Working State

* update to default sparse

* pr comments and some error handling

* custom matrixfilename and ordering of generatedValues.yaml

* common module import

* JobMatrix write host

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2022-10-20 16:30:02 -07:00
Azure SDK Bot
083a88e884
Bump the code owner retriver version. (#4020)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-10-12 16:31:36 -04:00
Azure SDK Bot
96984bd204
Fix 50x errors while loading page links (#4001)
We have hit a few 50x errors while pulling a page to get
links and that has caused the rest of the link checking to
terminate early. To fix that we switching to LogError which will
output an error in devops instead of Write-Error which terminates
immediately. We also add some retry count to the page retrieval
and cache file retrieval to help with these transitent 50x issues.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2022-10-06 14:24:20 -07:00
Azure SDK Bot
b809bf9883
Sync the devops helper scripts between azure-sdk repo and tools repo (#3949)
This should fix https://github.com/Azure/azure-sdk-tools/issues/3538
as it will now upgrade the devops extension to the latest version
which has the auth fix needed.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2022-09-20 11:04:28 -07:00
Azure SDK Bot
e8906ca3b4
Sync eng/common directory with azure-sdk-tools for PR 3826 (#3863)
* Add link checking for stress CI

* Remove region segment from stress testing links

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-08-03 15:42:00 -07:00
Azure SDK Bot
9a0463849a
Fix bad path to sample matrix json (#3860)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-08-02 14:01:54 -07:00
Azure SDK Bot
f2efcedd1d
Sync eng/common directory with azure-sdk-tools for PR 3753 (#3857)
* Bump MacOs version to macos-11

* Update eng/common/scripts/job-matrix/tests/job-matrix-functions.tests.ps1

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

* Update eng/common/scripts/job-matrix/tests/job-matrix-functions.tests.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-07-27 15:52:01 -07:00
Azure SDK Bot
ea2d3adb91
Sync eng/common directory with azure-sdk-tools for PR 3735 (#3845)
* Detect API changes using new snadboxinx approach

* Added strictmode

* Remove unset variable

* Changes as per strict mode 3

* Rervert strict mode to allow language level fixes to merge first

Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2022-07-25 14:50:31 -07:00
Azure SDK Bot
584f83c7bd
Sync eng/common directory with azure-sdk-tools for PR 3702 (#3843)
* Add language-service to list of valid sample slugs

* Update link to taxonomies

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2022-07-19 17:21:08 -07:00
Azure SDK Bot
c3ecbcddad
Update casing for 'verison' (#3821)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2022-07-19 13:34:32 -07:00
Azure SDK Bot
a3926d6437
Fixed the metadata for better handling (#3824)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-07-13 15:00:25 -07:00
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