Commit Graph

807 Commits

Author SHA1 Message Date
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
a08730142c
Revert "[check-spelling] Temporarily pin Node 18 to 18.13.0 (#5537)" (#4456)
This reverts commit 8a02e02adfc0d213509fce2764132afa74bd4ba4.

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-03-17 14:00:00 -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
f0a26fd4ad
enable true version override so that other tools also have a shot at picking up the replaced version (#4440)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2023-03-13 15:25:27 -07:00
Larry Osterman
562ca4c69c
Fixed credscan error (#4417)
* Fixed credscan error

* Try removing credscan placeholder suppression

* Refactored credentials into their own source file

* Pull request feedback
2023-03-08 15:15:45 -08:00
George Arama
5e91f5584e
Enable profiling in perf piplines. (#4398)
* profiling

* dsadsada

* Update eng/pipelines/templates/jobs/perf.yml

Co-authored-by: Mike Harder <mharder@microsoft.com>

---------

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-03-08 12:28:13 -08:00
Larry Osterman
d8f6aa9d27
First cut at removing proxy tests (#4416)
* FIrst cut at removing proxy tests

Changed the proxy tests from opt-out to opt-in so they're disabled by default. Removed lines enabling proxy from ci.yml file.
2023-03-07 23:46:25 +00: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
Daniel Jurek
50589d65b5
Always release to vcpkg when doing Daily Release (#4334)
* Always release to vcpkg when doing Daily Release

* Add ability to skip live tests via variable

* Use 1ES agents instead of Azure Pipelines
2023-03-06 11:47:15 -08:00
Azure SDK Bot
ab7b238197
Sync eng/common directory with azure-sdk-tools for PR 5595 (#4400)
* Use "npm ci" to install cspell and respect package-lock.json

* Review feedback

* Pipe npm ci output to Write-Host

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2023-03-03 07:28:46 -08: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
4ab6a41cf1
update proxy version to include Info/Active against individual sessions + allow delayed response (#4391)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2023-02-28 16:28:22 -08:00
Azure SDK Bot
127073119c
Sync eng/common directory with azure-sdk-tools for PR 5568 (#4387)
* we encourage folks to place their assets.jsons at the package level

* update generate-assets-json.ps1 to only include src/**/session-records so as to avoid picking up the duplicated 'target' sessionrecords

---------

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2023-02-24 13:36:00 -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
78eabdc1af
Temporarily pin Node 18 to 18.13.0 - Fixes #5536 (#4378)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-02-21 22:36:08 -05:00
Azure SDK Bot
f45d8f6b2f
Add vmImage back to common perf.yml - Fixes #5466 - Partially reverts #5456 (#4376)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-02-21 18:13:33 -05:00
Praven Kuttappan
7da07d5072
Generate API review for C++ using new parser (#4302) 2023-02-21 17:35:41 -05:00
Konrad Jamrozik
971d20be3e
Where applicable, update Windows pools used to azsdk-pool-mms-win-2022-general and rename vmImage to the windows-20xx format (#4360) 2023-02-16 19:02:10 -08:00
Azure SDK Bot
b1efed36d5
MMS2022 -> windows-2022 (#4368) 2023-02-16 18:32:36 -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
afaefd3d05
Sync eng/common directory with azure-sdk-tools for PR 5456 (#4362)
* Add parameter TimeoutInMinutes

* Update pools and images to latest

* Remove all usage of vmImage

---------

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-02-15 00:47:08 -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
Mike Harder
fd1695ebba
[Perf] Refactor tests.yml into one file per package per language (#4270) 2023-02-09 21:18:03 -08:00
Azure SDK Bot
cf1490fe80
Sync eng/common directory with azure-sdk-tools for PR 5083 (#4348)
* Remove language from profile zip

* Revert "Remove language from profile zip"

This reverts commit 2f670435b25f89955338170a7bdfbe4432cbe23f.

* Remove Services parameter

* Fix path to tests-file

* Run both sync and async tests by default

* Add LanguageVersion to common perf.yml

---------

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-02-09 21:13:26 -08:00
George Arama
3762c59552
Test proxy start (#4295)
* lll

* sss

* oipio

* vcvc

* enable test proxy start at test suite start for KV and storage , example created for attestation, we cannot find the base definitions for the test suites,

* Contrib

* clangs

* clangs

* test logs

* pipeline

* more clangs

* pipeline

* clang

* try try again

* try try again

* try again

* try again

* again

* update paths , moved to macro , call macro in target code

* core

* capitalization
2023-02-07 10:52:20 -08:00
George Arama
cad042256b
proper regex for win 2022 (#4339) 2023-02-03 14:46:35 -08:00
Daniel Jurek
72f8721e26
Add credscan to GenerateReleaseArtifacts (#4328)
* Add credscan to GenerateReleaseArtifacts

* trigger pipelines

* try again

* tryyrt

* s

* revert changes that trigger pipelines

* remove empty lines

---------

Co-authored-by: George Arama <50641385+gearama@users.noreply.github.com>
2023-02-02 13:28:11 -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
f1a714585d
update target version to newest one that includes .NET body bugfix as well as renames the proxy back to azure.sdk.tools.testproxy (#4325)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2023-02-02 11:01:10 -08:00
Azure SDK Bot
eeaace3e51
Handle multi-line string concatenation with Write-Warning (#4321)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-02-01 20:44:41 -05:00
Azure SDK Bot
fbba3f9b60
Sync eng/common directory with azure-sdk-tools for PR 5291 (#4308)
* Move migration script to eng/common

* Remove localization from link

* Ignore the improper link

---------

Co-authored-by: Timo van Veenendaal <timov@microsoft.com>
2023-02-01 16:56:42 -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
c88d0287e9
Sync eng/common directory with azure-sdk-tools for PR 5242 (#4294)
* Consolidate naming logic and generate short hash names for local use

* Shorten long lines

* Handle issues with EnvironmentVariable parameter ref being updated

* Warn on env variable overwrite. Base name generation off resource group

* Use SHA256 algorithm for short name hash

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-01-27 15:17:58 -05:00
Azure SDK Bot
a3e9ad1d2c
Sync eng/common directory with azure-sdk-tools for PR 5224 (#4274)
* feature/upload-proxy-artifact

* update template to ensure that having the file in use on windows doesn't break the build

* incoming PR fixes where test-proxy stores its log. as as result, we also need to update the location of where we read out the test-proxy log

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2023-01-26 16:47:47 -08:00
Ahson Khan
876a7baaa5
Add CI pipeline step and script that validates all files in the repo contain ASCII-only bytes and no UTF-8 BOM (#4134)
* Add CI pipeline step and script that validates all files in the repo contain ASCII-only bytes and no UTF-8 BOM

* Update platform-matrix.json to turn on CHECK_ASCII_CHARACTERS

* Fix missing comma in json.

* Update indentation in the ci.test.yml for the bash script

* Exclude the .github folder and test recording json files.

* Remove "recordings" exclusion since it doesn't exist anymore.

* Fixed UTF-8 with BOM and other non-ASCII character issues within the
files in the repo.

* Exclude nlohmann json tests from ASCII validation check.

* Log an intro to the CI console for the validation step.

* Remove codecoverage.cmake exclusion.

* Remove exclusion for docs and tools directories.
2023-01-25 17:33:26 -08:00
Azure SDK Bot
dd58487030
Handle service principal creation quota errors (#4261)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-01-24 16:19:05 -05:00
Ben Broderick Phillips
b8872e14dd
Remove CHECKENFORCER file (#4267) 2023-01-24 12:05:40 -05: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