Commit Graph

315 Commits

Author SHA1 Message Date
Azure SDK Bot
ffbafa165e
Add load-testing to list of valid sample slugs (#4192)
Co-authored-by: Harshan B <Harshan01@gmail.com>
2022-12-16 14:39:01 -05:00
Azure SDK Bot
ceeda9c7b4
Update the regex to embrace more image names (#4190)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-12-15 11:31:59 -08:00
Azure SDK Bot
111776e6af
Sync eng/common directory with azure-sdk-tools for PR 4944 (#4191)
* Helm template for deploy script

* Update eng/common/scripts/stress-testing/stress-test-deployment-lib.ps1

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

* fixing helm upgrade command

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-14 12:48:57 -08:00
Azure SDK Bot
066db23d4d
Sync eng/common directory with azure-sdk-tools repository (#4186) 2022-12-12 22:01:05 -08:00
Azure SDK Bot
ae19ecafd6
fix grammar (#4175)
Co-authored-by: Feng Zhou <fenzhou@microsoft.com>
2022-12-08 19:19:56 -08:00
Azure SDK Bot
4d4dfc8c51
Sync eng/common directory with azure-sdk-tools for PR 4713 (#4135)
* stress matrix docker args

* github pr update

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2022-11-29 02:06:51 -05:00
Azure SDK Bot
90fc46693f
Fix push script passing in optional argument (#4125)
With new PS command line parsing update in 7.3 they explicitly
pass "" to the native commands which in our usage here we don't
want. However setting the variable to null instead works for our
scenario with both command line parsing strategies so using it here.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2022-11-18 15:34:32 -05:00
Azure SDK Bot
a9efb5ad56
Use the new audience field (#4124)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-11-17 13:59:23 -05:00
Azure SDK Bot
385492999d
Sync eng/common directory with azure-sdk-tools for PR 4628 (#4111)
* Add new check in APIView to verify and enforce package name approval

* Changes as per review feedback

* Apply suggestions from code review

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

Co-authored-by: praveenkuttappan <praveen.kuttappan@gmail.com>
Co-authored-by: Praven Kuttappan <55455725+praveenkuttappan@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2022-11-17 12:42:22 -05:00
Azure SDK Bot
852c07d16b
Fix minor issue getting stress secret labels with quoting and error handling (#4122)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-11-16 17:41:02 -05:00
Azure SDK Bot
dd8a5ef542
Sync eng/common directory with azure-sdk-tools for PR 4701 (#4119)
* Make the env variable upper case

* Adding debug messages.

* Log out the link

Co-authored-by: sima-zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
2022-11-15 15:40:04 -05:00
Azure SDK Bot
801452f6b9
Sync eng/common directory with azure-sdk-tools for PR 4632 (#4117)
* Service readme index table stays the same even the table content needs to update

* adjust the edge cases tests

* change the helper function to helper folder

* add missing files

* Fixed the service name

Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-11-14 18:56:13 -05:00
Azure SDK Bot
1488aa8df7
Warn user when helm fails due to large files not being ignored (#4107)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-11-10 17:27:54 -05:00
Azure SDK Bot
6426e9d901
Handle possible strict mode bugs (#4106)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-11-10 16:48:56 -05:00
Azure SDK Bot
296fdbcd23
Set default LimitRange for stress container resource requests (#4092)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-11-08 12:46:34 -05:00
Azure SDK Bot
f4bea88a51
Add package source override to toc script. (#4081)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-11-02 13:17:27 -04:00
Azure SDK Bot
ce1d5837e5
Handle helm version modifiers in stress test min version check (#4085)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-11-01 22:41:45 -04:00
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