Commit Graph

371 Commits

Author SHA1 Message Date
Azure SDK Bot
cd2edf266e
Used ScheduledPurgeDate for both KV, MHSM (#4866)
The previous property was calculated so didn't exist from the REST-based
call. Also updated the api-version to the latest stable control plane
version.

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2023-08-09 16:29:58 -07:00
Azure SDK Bot
b7e6719046
Make x509 certificate script from azure-sdk-for-net common to repos (#4817)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-07-24 13:34:08 -07:00
Azure SDK Bot
848d30ef21
Set DOCKER_BUILDKIT to 1 in stress deploy image build (#4815)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-07-24 15:01:23 -04:00
Azure SDK Bot
a65df8475c
Sync eng/common directory with azure-sdk-tools for PR 6544 (#4808)
* Only save package properties for track 2 packages (prevents overwrites of track 2 package info by track 1 packages)

* Only overwrite if the package is track 2

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2023-07-19 21:05:34 -07:00
Azure SDK Bot
cdfabe3cc5
Sync eng/common directory with azure-sdk-tools for PR 6530 (#4801)
* Update-DocsMsMetadata.ps1 can fail the build on invalid packages

* Better error handling and logging

* Review feedback

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2023-07-18 21:33:10 -07:00
Azure SDK Bot
3c1ed52f3e
Sync eng/common directory with azure-sdk-tools for PR 6521 (#4793)
* Use System.Threading.Mutex to make threadsafe

* Rename test, add comments

---------

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-07-14 17:19:22 -07:00
Azure SDK Bot
25f3b9a228
Sync eng/common directory with azure-sdk-tools for PR 6468 (#4780)
* Update typespec common scripts

* Revert change of specCloneDir variable

---------

Co-authored-by: raychen <raychen@microsoft.com>
2023-07-11 11:41:45 +08:00
Azure SDK Bot
ce35bd1146
Updates for Codeowneers changes (#4745)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-06-29 14:52:15 -07:00
Azure SDK Bot
3bce2fa45c
Sync eng/common directory with azure-sdk-tools for PR 6305 (#4709)
* Added switch to skip sync and generate script call

* output switch

* support forked spec repo in regex

---------

Co-authored-by: raychen <raychen@microsoft.com>
2023-06-08 19:10:00 -07:00
Azure SDK Bot
a07447b08c
Sync common script changes from azure-sdk repo (#4704)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2023-06-07 19:35:59 -07:00
Azure SDK Bot
4727da95f4
Sync eng/common directory with azure-sdk-tools for PR 6293 (#4703)
* Use local HEAD commit to create tsp-location.yaml

* Set default repo value in tsp-location

* Update eng/common/scripts/TypeSpec-Project-Process.ps1

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

* Update eng/common/scripts/TypeSpec-Project-Process.ps1

Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>

* Resolve feedback

* Fixed git remote repo parsing

---------

Co-authored-by: raychen <raychen@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-06-07 16:07:16 -07:00
Azure SDK Bot
2a4d1835b8
Sync eng/common directory with azure-sdk-tools for PR 6272 (#4698)
* Support localspecrepo if pass in this parameter

* Support regen sdk code based on local typespecs

* Added reference doc to error message

---------

Co-authored-by: raychen <raychen@microsoft.com>
2023-06-05 18:12:43 -07:00
Azure SDK Bot
72cdbaa0fe
Make Json files the source of truth for DocsMS (#4681)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-06-01 10:14:06 -07:00
Azure SDK Bot
1cda5b99f5
Sync eng/common directory with azure-sdk-tools for PR 6250 (#4675)
* Revert the change and return tsplocation folder

* Out null for the new-item command

* exit if return failure when call sync script

* Added repo assignment in local path scenario

* Added more output

* Fix path processing in windows

* exit when run generate script with error

---------

Co-authored-by: raychen <raychen@microsoft.com>
2023-05-31 01:50:29 -07:00
Azure SDK Bot
c3f8bccd27
Sync eng/common directory with azure-sdk-tools for PR 6222 (#4674)
* Updated typespec common script

* Updated per the review comment

---------

Co-authored-by: raychen <raychen@microsoft.com>
2023-05-31 15:41:25 +08:00
Azure SDK Bot
b9d83aa5b8
Use test registry in npmrc for alpha packages (#4666)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2023-05-30 14:58:50 -07:00
Azure SDK Bot
65a90e4afb
Sync eng/common directory with azure-sdk-tools for PR 6202 (#4651)
* Adding initial commit of TypeSpecE2E common script

* add TODO comment

* Updated per feedback

---------

Co-authored-by: raychen <raychen@microsoft.com>
2023-05-24 15:50:42 -07:00
Azure SDK Bot
8f2375dad5
Handle docker hangs and subscription mismatch on acr login (#4653)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-05-24 18:45:14 -04:00
Azure SDK Bot
b8e6aa1fbd
move the cleanup config to -SaveInputs parameter on the cli (#4646)
Co-authored-by: m-nash <prognash@gmail.com>
2023-05-22 14:18:52 -07:00
Azure SDK Bot
b32fccd303
Add Azure OpenAI (#4644)
Co-authored-by: Shawn Fang <45607042+mssfang@users.noreply.github.com>
2023-05-19 19:42:49 +00:00
Azure SDK Bot
5a348b6766
Swap defaults: -Login and -PushImages to -SkipLogin and -SkipPushImages (#4626)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-05-11 13:29:04 -07:00
Azure SDK Bot
e08c281cac
Eng workflows sync and branch cleanup additions (#4611)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-05-04 15:16:36 -07:00
Azure SDK Bot
4d898ffa59
Add script to verify that our docs metadata json files. (#4581)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-04-25 15:26:03 -07:00
Azure SDK Bot
26e3b35c17
Sync eng/common directory with azure-sdk-tools for PR 5911 (#4563)
* stress test warning against breaking helm versions

* import

* pr update

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

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

---------

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>
2023-04-20 14:16:14 -07:00
Azure SDK Bot
fbf20bf8b9
update sparse checkout path (#4558)
Co-authored-by: chunyu3 <chunyu@microsoft.com>
2023-04-19 11:37:32 +08:00
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