Commit Graph

291 Commits

Author SHA1 Message Date
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
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