Commit Graph

682 Commits

Author SHA1 Message Date
Azure SDK Bot
818d22778f
Sync eng/common directory with azure-sdk-tools for PR 7385 (#5223)
* Update organization of the eng/common/testproxy folder
* Add merge-proxy-tags.ps1 and readme to eng/common/testproxy/scripts/tag-merge/
* Extract common assets script functionality to common-asset-functions.ps1

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2023-12-06 15:18:40 -08:00
Azure SDK Bot
0fd0109a00
Sync eng/common directory with azure-sdk-tools for PR 7346 (#5203)
* Update Test-SampleMetadata.ps1

* Update Test-SampleMetadata.ps1

---------

Co-authored-by: YUTONG_ZHAI <32332316+zhaiyutong@users.noreply.github.com>
2023-12-01 09:06:13 -08:00
Azure SDK Bot
5e6a21a0e4
Lets not treat https code 401 as broken link (#5216)
Http Status code 401 just be unauthorized and not necessarily that the link isn't valid. Removing this from the list of codes to error from.

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2023-11-30 14:44:27 -08:00
Azure SDK Bot
87ec5e9652
Sync eng/common directory with azure-sdk-tools for PR 7334 (#5206)
* Fix typo

* Update TypeSpec-Project-Generate.ps1

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-11-29 10:18:04 -08:00
Azure SDK Bot
94fc220f77
Sync eng/common directory with azure-sdk-tools for PR 7322 (#5176)
* Create new pipeline to create package work item

* Update powershell script to pass tag

* Fixes as per review comments

* Update as per review comments

* Login as az devops

* Create new entry point script to create package work item

* Load common ps module

* Add devops login step

* Pipe login token to devops login

* Pipe login token to devops login

* Add looging

* more logging

* Remove duplicate login from new script and add more logging

* More logging to debug create work item

* Remove script added for debugging

* Skip az interactive login when PAT is passed

* Remove debug logging

---------

Co-authored-by: praveenkuttappan <praveenkuttappan@gmail.com>
2023-11-21 14:08:14 -08:00
Azure SDK Bot
361a0199b8
Update CodeownersLinter to 1.0.0-dev.20231120.3 (#5174)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-11-20 12:13:41 -08:00
Azure SDK Bot
eccfeb4be0
Sync eng/common directory with azure-sdk-tools for PR 7310 (#5173)
* Force capitalize all deployment/env outputs in live test

* Update eng/common/TestResources/New-TestResources.ps1

Co-authored-by: Heath Stewart <heaths@outlook.com>

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Heath Stewart <heaths@outlook.com>
2023-11-20 11:02:56 -08:00
Azure SDK Bot
4d25b88970
Update Test-SampleMetadata.ps1 for "document-intelligence" (#5165)
Co-authored-by: Sameeksha Vaity <savaity@microsoft.com>
2023-11-14 11:15:01 -08:00
Azure SDK Bot
cc4f390a85
Avoid unnecessary CHANGELOG release date prompt (#5161)
Resolves #7261

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2023-11-13 11:44:35 -08:00
Azure SDK Bot
a6956c7639
Use sparse-checkout to do a faster, shallow clone (#5146)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-11-10 00:17:34 +00:00
Azure SDK Bot
0ca8a1d9d5
Set WorkingDirectory so the dotnet tools install works on non-windows (#5144)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-11-09 11:40:57 -08:00
Azure SDK Bot
a6ea41e717
properly name the file (#5127)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2023-11-08 12:23:13 -08:00
Azure SDK Bot
682851f749
Sync eng/common directory with azure-sdk-tools for PR 7251 (#5125)
* Add CODEOWNERS linter yml file to eng/common/pipelines

* Add filter baseline option to run command line

* Update version of linter to 1.0.0-dev.20231107.2 which will install correctly

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-11-07 15:51:18 -08:00
Azure SDK Bot
3e311672ca
Sync eng/common directory with azure-sdk-tools for PR 7193 (#5063)
* update proxy version to 20231030.1
* update test-proxy-tool.yml to record both stderr and stdout to the proxy log

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2023-10-31 17:23:54 -07:00
Azure SDK Bot
df8f9ddf1a
Use sparse checkout for pipeline generator (#5097)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-10-31 12:36:00 -07:00
Azure SDK Bot
e5a9ff95ec
ensure that empty package properties are not honored when dumping them to json (#5081)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2023-10-30 12:22:51 -07:00
Azure SDK Bot
6aec2a3807
Update to using new azcopy auto-login (#5080)
azcopy login is going to be deprecated soon in version 10.22 so
we need to move to the new auto-login model that is documented at
https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-authorize-azure-active-directory#authorize-a-service-principal-by-using-a-client-secret

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2023-10-27 14:12:31 -07:00
Azure SDK Bot
71416d73b1
Sync eng/common directory with azure-sdk-tools for PR 7181 (#5057)
* Update branch deletion code

- Update to use the gh cli for github operations
- Switch to using graphql for pulling branches as the rest api
  starts to fail after a certain number of branches and we can
  also pull back all the associated data like pull request info
  and commit date all in one query.
- switc to running on ubuntu 1ES pool

Improve query error handling

Fix condition

Fix slash escaping on the command line

clean-up pipeline

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2023-10-27 13:48:04 -07:00
Azure SDK Bot
5174503dc3
Check az login for target subscription in stress deploy login (#5054)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-10-24 16:23:34 -04:00
Azure SDK Bot
21978a69d8
Fix update test resources tagging when tags are empty. Bump max limit (#5048)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-10-19 15:58:56 -07:00
Azure SDK Bot
4f8eca93fd
Sync eng/common directory with azure-sdk-tools for PR 7113 (#5032)
* Remove ARM deployment after deploy

* Update eng/common/TestResources/New-TestResources.ps1

Co-authored-by: Heath Stewart <heaths@outlook.com>

* Apply suggestions from code review

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Heath Stewart <heaths@outlook.com>
2023-10-16 17:00:14 -07:00
Azure SDK Bot
81d1143a43
Set product as parent of package work item. (#5020)
Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2023-10-16 09:41:26 -07:00
Azure SDK Bot
c9f3b9485e
Use better description for single repo sparse checkout (#5028)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2023-10-12 10:53:48 -07:00
Azure SDK Bot
436c0905e2
Use url version spec for autorest.* packages (#5017)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2023-10-11 13:46:07 -07:00
Azure SDK Bot
5acdb5ba1b
Detect all file diff types for eng/common changes (#5016)
Fixes https://github.com/Azure/azure-sdk-tools/issues/5882

We need to set the difffilter to empty instead of the default of exclude deleted files when we are trying to verify there are no changes under eng/common.

See test PR https://github.com/Azure/azure-sdk-for-python/pull/32348 which demonstrates us not detecting a deleted file under eng/common. I'll use that same test PR to verify this now catches that issue.

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2023-10-06 12:42:34 -07:00
Azure SDK Bot
35e42b99cf
Sync eng/common directory with azure-sdk-tools for PR 7040 (#4997)
* Remove codeowners resolution logic from docs scripts

* Remove parameters that aren't needed

* Remove auth information from update-docsms-metadata.yml

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2023-10-02 14:58:21 -07:00
Azure SDK Bot
402f4ed94e
Change prod maintenance day. Fix stress watcher deploy (#4989)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-09-26 18:22:10 -07:00
Azure SDK Bot
744450472d
Sync eng/common directory with azure-sdk-tools for PR 6919 (#4988)
* Add autorest-preview pipeline

* Add emitternpminstall

* Always install

* Use shorter leg name

* Add short circuiting to emitter install

* Use language matrix function

* Don't look for subfolders in the matrix package folders

* Revert unnecessary eng/common changes

* Rewrite GetPullRequestUrl to Get-BuildSourceDescription

* Remove alias from Invoke-LoggedCommand

* Use invoke-expression instead of shelling out

* Add better job splitting

* Replace Folder with Directory

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2023-09-25 12:35:11 -07:00
Azure SDK Bot
e8b968fea0
Sync eng/common directory with azure-sdk-tools for PR 7002 (#4984)
* Add LockDeletionForDays parameter to set PodDisruptionBudget and cleanup job

* Use matrix for parallel tests. PDB improvements+docs.

* Fix kubectl namespace context preservation on login

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-09-22 17:36:39 -04:00
Azure SDK Bot
f04b7164eb
Serilaize with depth (#4960)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2023-09-18 10:43:30 -07:00
Azure SDK Bot
27919d0f91
update proxy version (#4958)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2023-09-15 13:27:32 -07:00
Azure SDK Bot
309cab82a0
Sync eng/common directory with azure-sdk-tools for PR 6895 (#4948)
* Add legacy moniker migration logic

* Add functionality from Java testing

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2023-09-13 13:28:58 -07:00
Azure SDK Bot
9d97c40d3f
Sync eng/common directory with azure-sdk-tools repository (#4937) 2023-09-11 16:10:01 +00:00
Azure SDK Bot
129a36dbc9
Sync eng/common directory with azure-sdk-tools for PR 6903 (#4926)
* fixes

* ongoing

* ongoing

* add top-level throw/catches showing exception info

* fix handling of cases when there is 1 link and when there is no RetryAfter.Delta

* handle lack of Exception.Headers property

* handle gracefully obtaining status code from $_.Exception.InnerException.ErrorCode

---------

Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-09-07 14:12:30 -07:00
Azure SDK Bot
468742224b
Check for DocsMsPackagesAllValid before running validation step (#4916)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2023-08-28 21:54:57 -07:00
Azure SDK Bot
80b6fc6022
Fail fast on variable conflicts with subscription config (#4915)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-08-25 15:22:14 -04:00
Azure SDK Bot
dd23631119
Use emitter-package-lock.json and @local feed view (#4910)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2023-08-23 16:33:32 -07:00
Azure SDK Bot
97845b77eb
Sync eng/common directory with azure-sdk-tools for PR 6632 (#4912)
* Docs Onboarding 2 - Add eng/common changes

* Dictionary Syntax

* Remove $UpdatePackageMetadata, it can be handled in other places

* Set exit code to 0 on success. The last executable to run (pip or docker or other) may be passed through

* Add optional _DocsOnboardingOrdinal sorting to work around onboarding sequence problems

* Update-DocsMsPackages2.ps1 -> Update-DocsMsPackages.ps1

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2023-08-23 14:53:33 -07:00
Azure SDK Bot
518d9d26d3
Sync eng/common directory with azure-sdk-tools for PR 6782 (#4891)
* Create Epic work item type as Service or product when running prepare release script

* Updated epic type field name

* Additional change to create release plan work item

* Exclude work items created from release planner test

* Fix issue in params

* Updated as per review comments

---------

Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2023-08-23 11:15:33 -07:00
Azure SDK Bot
99df769e8c
update proxy version to one with fixed logging (#4902)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2023-08-21 15:36:06 -07:00
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
6d583899d0
bump the proxy version (#4836)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2023-08-03 13:36:54 -07:00
Azure SDK Bot
3aaad275c1
Sync eng/common directory with azure-sdk-tools for PR 6611 (#4829)
* update dotnet dev cert being shipped with the proxy to renew for another year

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2023-08-01 12:13:53 -07:00
Azure SDK Bot
6ad42e1e40
Sync eng/common directory with azure-sdk-tools for PR 6518 (#4803)
* Bump test proxy version
* move proxy transition-scripts folder to onboarding

Co-authored-by: Bill Wert <billwert@microsoft.com>
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2023-07-28 15:01:28 -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
ccf54545c0
update deps for spelling tool (#4807)
Co-authored-by: Jeff Fisher <jeffish@microsoft.com>
2023-07-19 13:15:26 -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