Commit Graph

346 Commits

Author SHA1 Message Date
Azure SDK Bot
18fb2de089
Sync eng/common directory with azure-sdk-tools for PR 5951 (#4537)
* Switch to using standard PAT tokens instead of base 64

For most of these we can use the standard System.AccessToken given to
the build instead of maintaining a specific token. However that
token isn't base 64 encoded so we need to encode it.

With this we can stop explicitly passing PAT's unless we need to
access another DevOps org and we also don't have to remember
to keep the PAT's in KV base 64 encoded.

Add error detection for queue build script to fail if we get login response.

* PR Feedback

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2023-04-11 18:32:39 -07:00
Azure SDK Bot
6999572809
Sync eng/common directory with azure-sdk-tools for PR 5608 (#4411)
* ongoing

* Move get-codeowners scripts and tests to their own dirs

* address PR remarks

* Fix CodeOwnerFileLocation path, fix casing, and dedup param defaults

* fix param names

* add todos on needed changes in cpp repo

* Add CodeownersFileLocation to Get-Codeowners and use $null for default param values

* move get-codeowners back to scripts/ and rename -functions to .lib

* fix: use empty string as defaults instead of $nulls, to fix invocation

* fix bug with invocation of Get-Codeowners + add support for passing IncludeNonUserAliases as switch

* fix path iin Metadata-Helpers.ps1

* fix typo

* Update archetype-cpp-release.yml

---------

Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-03-30 23:55:52 -07:00
Azure SDK Bot
97c7630c2d
Sync eng/common directory with azure-sdk-tools for PR 5726 (#4488)
* rerun flag

* rerun failed stress test

* naming & commenting

* update

* function and var renaming for better readability

* readability & exit on error

---------

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2023-03-28 09:37:59 -07:00
Azure SDK Bot
e9f900f7d2
Explicitly set PSNativeCommandArgumentPassing to Legacy for git push script (#4481)
https://learn.microsoft.com/en-us/powershell/scripting/learn/experimental-features?view=powershell-7.3#psnativecommandargumentpassing
Do to that breaking change in PS 7.3 we need to opt into the legacy arg parsing.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2023-03-24 11:12:14 -07:00
Azure SDK Bot
bd98ee06ec
Sync eng/common directory with azure-sdk-tools for PR 5742 (#4465)
* add some default output to see about minimizing any occurrence of the task failing for no reason. perhaps having some output will allow devops to have an easier time with the invocation

* update message

* Update eng/common/scripts/trust-proxy-certificate.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2023-03-21 16:14:28 -07:00
Azure SDK Bot
f8ae5d9d8b
Sync eng/common directory with azure-sdk-tools for PR 5691 (#4450)
* typespec renaming

* add back scripts for cadl

* support .cadl and .tsp

* rename

* add newline at the end of file

---------

Co-authored-by: FAREAST\chunyu <chunyu@microsoft.com>
2023-03-16 11:21:39 +08:00
Azure SDK Bot
6f2e39a5c5
Sync eng/common directory with azure-sdk-tools for PR 5702 (#4453)
* add healthinsights to Test-SampleMetadata script

* spacing

* update productSlug to azure-health-insights

---------

Co-authored-by: Asaf Levi <asaflevi@microsoft.com>
2023-03-15 11:31:48 -07:00
Azure SDK Bot
6706c20b26
Add product slug for Web PubSub (#4415)
To make sample script use correct product slug.

Related PR: https://github.com/Azure/azure-sdk-for-net/pull/34618

Co-authored-by: JialinXin <jixin@microsoft.com>
2023-03-07 16:34:17 -05:00
Azure SDK Bot
ecb5f3db1c
logging api post request body (#4404)
Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2023-03-02 14:21:41 -08:00
Azure SDK Bot
4c22ce6ab0
Sync eng/common directory with azure-sdk-tools for PR 5540 (#4396)
* add parameter to set cadl emitter options

* remove emitter name in the additional parameter

---------

Co-authored-by: chunyu3 <chunyu@microsoft.com>
2023-03-01 11:54:03 +08:00
Azure SDK Bot
1df70cb104
Sync eng/common directory with azure-sdk-tools for PR 5562 (#4384)
* Add todos to update packages to pick up the newest CODEOWNERS interpreter

* update

---------

Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-02-23 20:49:29 -05:00
Azure SDK Bot
77a849ffac
Sync eng/common directory with azure-sdk-tools for PR 5431 #2501
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-02-23 13:54:22 -08:00
Azure SDK Bot
0fc14a7464
Sync eng/common directory with azure-sdk-tools for PR 5103 (#4367)
* - improve $commandOutput processing - capitalization fixups + some naming refactoring - update ToolVersion to 1.0.0-dev.20230213.7 - fix param: --codeowners-file-path -> --codeowners-file-path-or-url; minor fixes - update Azure.Sdk.Tools.RetrieveCodeOwners package ver to 20230213.2 - document params + add TargetPath

* update ToolVersion to 1.0.0-dev.20230214.3

* Add diag output + tests

* replace sima-zhu with konrad-jamrozik

---------

Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-02-16 13:40:53 -08:00
Azure SDK Bot
f8a1e7fc5c
remove obsolete tests (#4357)
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-02-14 14:34:41 -08:00
Azure SDK Bot
466c82a361
Sync eng/common directory with azure-sdk-tools for PR 5427 (#4356)
Co-authored-by: archerzz <archerzz@gmail.com>
2023-02-14 10:54:18 +08:00
Azure SDK Bot
5e0159d8fa
Improve diagnostics for copy-docs-to-blobstorage script (#4351)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2023-02-13 11:01:48 -08:00
Azure SDK Bot
57072c8af3
Temporarily disable error handling for Get-AzKeyVault -InRemovedState (#4329)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-02-02 15:20:59 -05:00
Azure SDK Bot
1b2378be73
Enable nodepool update via bicep and update node SKUs (#4322)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-02-02 11:03:30 -08:00
Azure SDK Bot
b8ddcc616f
Consume cosmos emulator from install path on agent (#4316)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2023-01-31 21:33:57 -08:00
Azure SDK Bot
75e91ce668
Sync eng/common directory with azure-sdk-tools for PR 5272 (#4309)
* add documentation for cadl sync and generate

* move the file to doc/common and link to it from each script

* update links after file rename

---------

Co-authored-by: m-nash <prognash@gmail.com>
2023-01-31 14:44:23 -08:00
Azure SDK Bot
d6a2fedb88
Sync eng/common directory with azure-sdk-tools for PR 5231 (#4288)
* move scripts to common

* add reference to common script

* address feedback

* couple tweaks to relative path updates

* update copy paste issue with emitter path

* updates to make scripts more generic

---------

Co-authored-by: m-nash <prognash@gmail.com>
2023-01-30 12:43:04 -08:00
Azure SDK Bot
ed2732dd80
ongoing (#4249)
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-01-13 17:12:04 -08:00
Azure SDK Bot
90a4316ae5
Update on existing metadata json file. (#4247)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2023-01-13 12:41:51 -08:00
Azure SDK Bot
d0c2234be4
Fix Github to GitHub (#4243)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2023-01-12 15:27:06 -08:00
Azure SDK Bot
42e91a5c91
fix paths + add diagnostic output on failure (#4231)
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-01-09 19:14:15 -08:00
Azure SDK Bot
aec83d672b
update package versions (#4229)
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-01-09 14:24:13 -08:00
Azure SDK Bot
f2201b1d8d
Hyperlink from eng/common job-matrix README to matrix_generator.md (#4227)
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-01-07 04:35:16 -08:00
Azure SDK Bot
bf5e9bb757
Sync eng/common directory with azure-sdk-tools for PR 5027 (#4221)
* move things out from eng/common/scripts/job-matrix

* fix broken link for CI/CD verification

Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-01-04 22:05:53 -05:00
Azure SDK Bot
b67b46b059
Sync eng/common directory with azure-sdk-tools for PR 4985 (#4209) 2022-12-21 09:42:17 -08:00
Azure SDK Bot
c2e6607f0b
Sync eng/common directory with azure-sdk-tools for PR 4880 (#4203) 2022-12-20 11:15:36 -08:00
Azure SDK Bot
37f197c383
Sync eng/common directory with azure-sdk-tools for PR 4988 (#4202)
Mirror of https://github.com/Azure/azure-sdk-tools/pull/4988
2022-12-20 00:16:22 +00:00
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