Граф коммитов

91 Коммитов

Автор SHA1 Сообщение Дата
Azure SDK Bot 67ae10711f
Hide output from register/unregister ps module repository (#1938)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-12-02 15:23:45 -08:00
Azure SDK Bot e1dd785d3c
remove previous cadl scripts (#1935)
Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>
2024-11-26 15:47:14 -08:00
Heath Stewart 8518ea77f1
Implement `recorded::test` macro for recorded tests (#1926)
* Rename typespec_derive to typespec_macros

Will be more consistent with upcoming azure_core_macros, and may not contain *just* derive macros anyway. Will keep feature as "derive", though, for derive macros.

* Remove 128-bit number functions for Cosmos

* Implement `#[recorded]` attribute macro

* Allow live-only tests with no parameters

* Replace test_e2e feature with `recorded` attribute macro

* Refactor so that tests need only import azure_core_tests

Also makes the attribute `#[recorded::test]` which, IMO, looks a bit better.

* Fix build breaks

We may need to set env vars for our Windows agents to find OpenSSL, which does appear to be installed. See Azure/azure-sdk-for-rust#1746. For now, I'm removing `--all-features` from this PR since that issue is already tracking adding them separately.
2024-11-25 14:08:59 -08:00
Azure SDK Bot 341a094134
Sync eng/common directory with azure-sdk-tools for PR 9392 (#1924)
* Support override of powershell module feeds

* snap

* Add fallback repository support

* Unregister repository after module install

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-21 13:48:54 -08:00
Azure SDK Bot e3cb0c1aa1
add rerun pipeline (#1922)
Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>
2024-11-20 13:36:43 -08:00
Azure SDK Bot 5a5b614fc4
Bump powershell yaml versions to 0.4.7 (#1916)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-20 12:30:12 -08:00
Azure SDK Bot 5669d9b1a5
Sync eng/common directory with azure-sdk-tools for PR 9381 (#1920)
* change our verifyChangelogs over to utilizing the artifact details. if we don't have an artifact details at all, don't verify changelog. if we do, but skipverifychangelog is present, don't verify changelog. if we have artifact details, but no disable, verify the changelog

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-18 15:12:45 -08:00
Azure SDK Bot e130b82cdf
batching adjustments for create-prjobmatrix (#1919)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-18 12:57:07 -08:00
Azure SDK Bot 5dcdf4d2d9
Add helpers to log a GitHub "notice" (#1918)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2024-11-15 17:11:09 -08:00
Azure SDK Bot 47b592f3cb
Fix missing stress matrix display name filter (#1910)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-13 12:04:41 -08:00
Azure SDK Bot 6ccd715be9
Add SparseCheckoutPaths to archetype-typespec-emitter.yml (#1913)
Co-authored-by: Wei Hu <huwe@microsoft.com>
2024-11-13 10:56:48 -08:00
Azure SDK Bot 55cb81791c
Sync eng/common directory with azure-sdk-tools for PR 9328 (#1898)
* ensure that ChangedServices value within the generated pr diff is always properly an array of strings
* upload the changed services as an attachment named AdditionalTags in save-package-properties.yml, to allow PipelineWitness to tag public builds during log processing

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
Co-authored-by: Patrick Hallisey <hallipr@gmail.com>
2024-11-12 14:55:30 -08:00
Azure SDK Bot c66beb2b74
Update docindex.yml to use Python 3.11 (#1908)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-11-11 14:02:16 -08:00
Heath Stewart d7137b088f
Test wasm32-unknown-unknown in Azure Pipelines (#1903)
* Test wasm32-unknown-unknown in Azure Pipelines

Also gets rid of most of GitHub Actions with only E2E tests remaining.

* Remove GitHub Actions and disable non-functioning e2e testing

* Do not check all features, targets for wasm32

* Resolve PR feedback
2024-11-08 14:41:21 -08:00
Azure SDK Bot 817434dbf4
Sync eng/common directory with azure-sdk-tools for PR 9354 (#1905)
* Add step for emitting rate limits for a token

* add step to eng/common sync template

* Fix resource label output

* Use propery name instead of nested 'resource' property

* Add percent metric too

* Add divide by zero safety

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-11-07 16:31:16 -08:00
Azure SDK Bot 8accf952d1
Sync eng/common directory with azure-sdk-tools for PR 9331 (#1904)
* Common cleanup with the docs docker images no longer being used

* Remove docker-pull-image.yml

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-11-07 14:25:43 -08:00
Azure SDK Bot fbbd758c38
Sync eng/common directory with azure-sdk-tools for PR 9333 (#1902)
* Retry container deletion

* Do not try to purge keyvaults with purge protection

* Delete all blobs when container has immutability

* Skip missing blob container properties

* Fix null container

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-07 11:54:10 -08:00
Heath Stewart 673d5c647c
Fixed a few more nightly lints (#1901)
Made sure we're actually checking everything as well.
2024-11-06 13:54:21 -08:00
Heath Stewart 0cede91bc7
Deny clippy::large_futures and fix +nightly lint (#1895)
* Deny clippy::large_futures and fix +nightly lint

* Fix test errors

* Add clippy to cspell dictionary
2024-11-05 15:39:31 -08:00
Azure SDK Bot 8498a75d0d
Sync eng/common directory with azure-sdk-tools for PR 9330 (#1900)
* disable InitializeCIArtifacts until we get a better loop for usage

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-05 12:47:25 -08:00
Azure SDK Bot 402a961a65
Version/location updates for stress script usage (#1890)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-04 19:27:53 -05:00
Azure SDK Bot 1aec2f447c
Sync eng/common directory with azure-sdk-tools for PR 9308 (#1893)
Remove unnecessary Resolve-Path in Get-PrPkgProperties

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-04 15:47:03 -08:00
Azure SDK Bot 4a6709795e
target newly released proxy version (#1891)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-04 14:36:58 -08:00
Azure SDK Bot 107cffdeaa
Sync eng/common directory with azure-sdk-tools for PR 9294 (#1889)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-31 16:20:18 -07:00
Azure SDK Bot ca484df3a6
Sync eng/common directory with azure-sdk-tools for PR 9288 (#1887)
* Update Logging

* Update eng/common/scripts/logging.ps1

---------

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-10-31 14:00:45 -07:00
Azure SDK Bot 8bb877d88a
Reduce unnecessary delete calls to ARM for storage accounts (#1888)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-31 13:20:22 -07:00
Azure SDK Bot 9c1525cee5
Sync eng/common directory with azure-sdk-tools for PR 9290 (#1885)
* identify and resolve missing function GenerateMatrixForConfig 
* identify and resolve miss-used null-coalesce operator

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-30 22:18:14 -07:00
Azure SDK Bot 46faf385e6
Sync eng/common directory with azure-sdk-tools for PR 9281 (#1884)
* package-properties are now populated with matrix configurations from their ci.yml if present
* create new code path for generate-job-matrix.yml which combines Create-JobMatrix and the "distribute-packages-to-matrix" action to generate dynamic matrices for PRs

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-30 16:45:34 -07:00
Scott Beddall 122e1b45a5
manually syncing the eng/common pr azure/azure-sdk-tools#9236 (#1883) 2024-10-30 14:43:58 -07:00
Azure SDK Bot 670a2c3f77
Sync eng/common directory with azure-sdk-tools for PR 9259 (#1879)
* Run perf tests under federated auth

Run the tests under the same federated auth used to deploy the tests and setup the variables needed to configure AzurePipelineCredential.

* Fix indention for working directory

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-10-29 13:45:30 -07:00
catalinaperalta 2b6016b907
Setup repo to support client generation with tsp-client (#1845)
* add emitter configs

* ignore TempTypeSpecFiles dir

* update gitattributes

* update emitter-package.json to use specific versions

---------

Co-authored-by: Catalina Peralta <caperal@microsoft.com>
2024-10-29 11:48:38 -07:00
Azure SDK Bot 3fa79e34fd
Allow default matrix selection override (#1872)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-24 16:05:13 -07:00
Azure SDK Bot ecdff6d164
Sync eng/common directory with azure-sdk-tools repository (#1867) 2024-10-24 12:05:17 -07:00
Heath Stewart 1899267335
Merge branch 'feature/track2'
Active development on crates will continue in the main branch.
2024-10-18 16:39:29 -07:00
Heath Stewart 25ebe5a599
Update track 1 READMEs with notice (#1841)
* Update track 1 READMEs with notice

* Regenerate mgmt, svc crates

Also fixes a couple azure_svc_storage examples that somehow didn't cause errors previously.

* Import READMEs and remove cargo-readme

Fixes style check by removing use of `cargo-readme`. Instead, we'll just import the READMEs as we recommend in our modern guidelines.
2024-10-09 15:47:54 -07:00
Heath Stewart faa662ce5a
Regenerate track 1 crates (#1835)
* Update codegen branch URL, versions

* Update authored branch URLs, versions

* Bump crate versions and ignore problematic api-version

* Regenerate mgmt, svc crates

* Fix azure_core crate ref in storage

* Fix more clippy lints

* More codegen and clippy fixes

* Run generator with previous fixes
2024-10-08 16:32:12 -07:00
Ashley Stanton-Nurse d97b0d1800
[Cosmos] Add APIs to perform single-partition queries against a container (#1814)
* add container_client and ContainerClient::read

* rudimentary initial query API

* re-do partition keys to hide serde_json

* switch to a `NullValue` marker shared by query and partition key, and update docs

* add tracing_subscriber with env filter to all cosmos examples

* fix doctests

* remove Send bound from WASM

* Add 'Sync' bound to from_response_body, but exclude bounds from wasm32

* copyright headers, copyright headers everywhere

* change Pageable back to an owning type

* pr feedback

* refactor partition_key parameter to partition_key_strategy

* refmt and move helper back to azure_data_cosmos

* fix docs

* remove unnecessary doctest from internal utility

* fix cosmos_query sample

* simplify doctests that don't run using panic!()
2024-09-26 10:43:41 -07:00
Patrick Hallisey 43bdca3e81
Use standard options with calling cargo (#1804) 2024-09-18 09:42:59 -07:00
Heath Stewart 78ac814e0f
Better centralize and remove unused dependencies (#1798)
* Better centralize and remove unused dependencies

* Fix clippy errors

* Fix wasm32 build
2024-09-12 09:19:02 -07:00
Larry Osterman f54f0534ba
Created cplusplus feature to isolate C++ only elements (#1786)
* Created cplusplus feature to isolate C++ only elements

* cplusplus options

* PR feedback

* Deserializable and errorkind are used for CPP

* EH changes to reflect AMQP changes

* serialization and deserialization are cplusplus features
2024-09-04 14:12:46 -07:00
Heath Stewart 759a012e79
Add copyright headers to all .rs source files (#1788)
* Add copyright headers to all .rs source files

* Add datetime to dictionary
2024-09-03 23:55:38 +00:00
Patrick Hallisey 15de102305
Sync eng/common from azure-sdk-tools (#1789)
In sync as of 58a0759796
2024-09-03 16:18:13 -07:00
Patrick Hallisey d04861b15e
Use inline variable content check for SkipPackageAnalysis switch (#1787) 2024-09-03 13:10:33 -07:00
Patrick Hallisey c39c2e42f1
Move verify-dependencies to analyze job (#1781) 2024-08-30 23:23:50 +00:00
Heath Stewart 2b1c1f113b
Centralize Event Hubs dependencies (#1784)
* Centralize Event Hubs dependencies

Also fixes a few spelling issues while testing.

* Always ignore cspell.json
2024-08-29 15:36:25 -07:00
Patrick Hallisey 2fba9d599f
Sync eng/common from azure-sdk-tools (#1783)
* In sync as of da75627391
* Adjust for changes in eng/common
2024-08-29 15:36:09 -07:00
Patrick Hallisey 3c2055050e
Fix breaks in build (#1776) 2024-08-28 16:41:07 -07:00
Patrick Hallisey c1065e80b0
Fix packageInfoPath parameter (#1774) 2024-08-28 16:03:13 -07:00
Patrick Hallisey 4ff0cd28d1
Add ADO pipeline scaffolding (#1762) 2024-08-28 21:58:33 +00:00
Ashley Stanton-Nurse bddff2b6c5
Take 2: Refactoring Response<T> to collapse json/xml methods (#1724)
* use Response's type parameter as a marker type for the body, but don't actually deserialize

* make pipeline send generic to improve type inference and reduce need for map_body

* fix doctest

* change read_body/map_body into deserialize_body/deserialize_body_into

* fix issues after rebasing

* refmt and fix compile issue

* rename FromResponseBody to Model

* fix toml spacing

* address pr feedback

* set_ -> with_

* fix formatting again :(
2024-08-26 14:34:07 -07:00