Commit Graph

1278 Commits

Author SHA1 Message Date
Azure SDK Bot
19f1aa4879
Update logging functions for github actions (#6499)
We need to use Write-Host for the custom logging commands to get them correctly out into stdout which is what they need to be interpreted correctly.

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-04-01 14:40:07 -07:00
Azure SDK Bot
2973916598
Sync eng/common directory with azure-sdk-tools for PR 10134 (#6489)
* Move functions to git-helpers and resolve review to approval script

* Add approval script details to sync workflow doc

* Fix up warnings/unused variables

* Formatting

* Add re-approval logic

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-03-31 16:56:44 -07:00
Azure SDK Bot
a836fde12a
Sync eng/common directory with azure-sdk-tools for PR 10145 (#6488)
* support accessing a different key for the value of the Package during batching in Create-PrJobMatrix

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-03-27 17:44:53 -07:00
Azure SDK Bot
9ed08c9750
Sync eng/common directory with azure-sdk-tools for PR 10004 (#6490)
* Add logic for seting APIView Pull Request comment

* Update script to use source and head commish

* Make API Change Check a header

* Add Fetch URI to APIView comment

* Pass APIView host as a parameter

* Update APIVBiew comment header and add state to search api call

---------

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-03-27 17:23:28 -07:00
Azure SDK Bot
c914c0933f
Import Az powershell module in self contained post script task (#6484)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-03-26 15:25:31 -07:00
Azure SDK Bot
bf36db827f
Add option to create self contained test resources post script (#6476)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-03-25 18:24:20 -07:00
Azure SDK Bot
396acfc466
Sync eng/common directory with azure-sdk-tools for PR 10129 (#6483)
* identify and fix the issue with no results on a matrix that is PRBatched. The platform filters eliminate all the jobs, which is why it only turned up on the second windows leg

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-03-25 15:19:52 -07:00
Daniel Jurek
ef40989507
[1ESPT] Migrate deployment -> job (#6475)
* Migrate deployment -> job. Deployment job requires checking out vcpkg and runs scripts in eng/

* ReleaseGate job

* Remove "environment" from "job" entries

* Explicit dependsOn

* Move variables up, templateContext

* templateContext settings

* Remove condition

* LINUXNEXTPOOL

* beta.26

* Pool

* Windows pool permission, changelog

* Fix fix PublishDocs

* Fix PublishVcpkg

* Revert sdk/template changes

* Update eng/pipelines/templates/stages/archetype-cpp-release.yml

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

* Use image.yml variables for jobs

* Test release pipeline

* #

* Revert CHANGELOG.md and packages_version.hpp

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-03-24 04:23:10 +00:00
Azure SDK Bot
92a3185c88
Removed obsolete specc-gen-sdk pipeline template (#6478)
Co-authored-by: ray chen <raychen@microsoft.com>
2025-03-21 12:27:39 -07:00
Azure SDK Bot
a4c8ade158
Package Properties processing updates (#6477)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2025-03-21 09:27:52 -07:00
Azure SDK Bot
bebf2310f8
Sync eng/common directory with azure-sdk-tools for PR 10081 (#6473)
* update generate-matrix function ProcessImport to return a structured result, versus a tuple that is destructured immediately

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
2025-03-19 14:53:35 -07:00
gearama
125c305961
Keyvault Secrets remake (#6463)
* first stab at a client tsp /tspconfig scripts

* space

* updates to clientTSP

* update for latest specs for KV

* gfd

* gfd

* hghf

* dfgdf

* jhg

* oopsie

* comments

* headers

* clang & param

* coverage

* more comments not gened

* spell

* more comments

* regen for testing

* gfd

* gdf

* tretre

* update to use tsp client

* vcxvx

* fdsfsd

* fds

* round 2

* api view

* dsa

* rte

* update to use code injection

* clang and comments

* gfd

* updates

* clang

* fsd

* spell

* comments

* some cleanup

* first test passing

* dsa

* second test

* startdeletesecret

* update secret ptoeprties

* recover secret

* cleanup clang

* docs

* update recordings and clean up tests

* ggfd

* ooops

* samples build

* gdf

* samples run

* perf tests

* CLANG

* fds

* CLAAAAAAAAANG

* update to latest version of the TSPs

* update to latest codegen

* gdfgdf

* replace method

* client and stuffs

* PR comments

* remove security from path

* clang

* qfe

* gdf

* update to models and to the lastest codegen

* forgot cmake file

* Update sdk/keyvault/azure-security-keyvault-secrets/samples/sample1-basic-operations/sample1_basic_operations.cpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* test api view

* dfsfsd

* ccxcvx

* step1

* delete, and lor and paged

* all work

* works and serializers and test for them gone

* cleanup test files

* sample

* tests passing

* dfsfsd

* latest codegen

* after merge

* fsd

* gfd

* gfd

* ApiView

* move to _details namespace

* put back readme

* update readmes

* clang

* dfsd

* get rid of snippets, validation fails without explanation as to what the failure is

* update locations of methods tp cpp files

* format files

* cover

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2025-03-14 13:46:49 -07:00
Azure SDK Bot
250a80cbc8
Use unified pipeline convention for rust (#6466)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2025-03-14 12:06:04 -07:00
Azure SDK Bot
7a551d9c27
Gracefully handle when we return no matrix results (#6467)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-03-14 11:44:35 -07:00
Azure SDK Bot
7a1eb828cc
Fix group prefix conditional in test resource removal (#6465)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-03-13 16:53:02 -07:00
Azure SDK Bot
63d575d179
Ensure that direct batches have an underscore before the batchnumber (#6464)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-03-13 15:59:19 -07:00
Azure SDK Bot
038457a155
Add resource prefix for safe secret standard alerts (#6458)
Add the prefix to identify RGs that we are creating in our TME
tenant to identify them as potentially using local auth and violating
our safe secret standards.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2025-03-13 10:59:53 -07:00
Azure SDK Bot
18f3bffccd
Fix issue with excludepaths in get-prpkgproperties (#6462)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-03-12 12:10:56 -07:00
Azure SDK Bot
1674d8071b
use the pull request head sha for APIView PR runs (#6459)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-03-11 18:06:54 -07:00
Larry Osterman
e04e96cf87
Merged Rust AMQP stack with main. (#6442)
* Initial attempt at a Rust AMQP stack, merged against feature/rust_amqp for now. (#5942)

* Enabled building AMQP *without* uAMQP

* Start integrating Rust AMQP Value to C++ AMQP Value

* AMQP Value tests now pass

* Moved AmqpValueType ostream inserter to its original location

* Added Rust AMQP Message implementation

* Added start of message source tests

* Enabled building AMQP *without* uAMQP

* Start integrating Rust AMQP Value to C++ AMQP Value

* Moved AmqpValueType ostream inserter to its original location

* Message target support

* Message source and target support

* Add connection support; restructured tests to fail on RUST AMQP rather than attempting to run; removed some uAMQP-only features  (#5986)

* Checkpoint of connection logic

* Started implementing Rust based Connection by pulling out uAMQP artifacts

* Implemented AMQP Connection in Rust; started API surface refactoring for Rust APIs; Refactored tests to remove some uAMQP only elements.

* Don't leak runtime context on calls

* Refactor AMQP logic to better isolate rust AMQP code from uAMQP code. (#6008)

* refactor uAMQP and Rust AMQP into separate implementations for ease of use

* Add connection support; restructured tests to fail on RUST AMQP rather than attempting to run; removed some uAMQP-only features  (#5986)

* Checkpoint of connection logic

* Started implementing Rust based Connection by pulling out uAMQP artifacts

* Implemented AMQP Connection in Rust; started API surface refactoring for Rust APIs; Refactored tests to remove some uAMQP only elements.

* Don't leak runtime context on calls

* export UUID from AMQP

* Cleaned up some more elements; reduced scope of doxygen significantly

* runtime context needs to be process global not thread global; all tests pass or fail at this point

* Merged main into branch

* Implement AMQP Session APIs in Rust. (#6033)

* Checkpoint of rust session support

* Session begin/end now works

* Session tests pass

* Removed accidental regression

* Added rust per-call context (#6043)

* Reworked runtime context to be call context

* Added context parameter to blocking AMQP calls

* Added comments around the lifetime of the RustRuntimeContext captured in the CallContext object

* uAMQP changes corresponding to Rust changes

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* sync rust SDK fixes to C++

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Enable Rust ClaimsBasedSecurity interoperability; Converted EventHubs producer client to work with Rust AMQP changes. (#6059)

* canonicalized return values; initial CBS support

* Implementation of CBS for C++

* Amqp Authentication works; Integrate Rust AMQP into Eventhubs Producer client

* Implemented Rust AMQP message sender. (#6083)

* Initial sender implementation

* PR feedback

* Management APIs work (#6096)


* Management APIs work

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Converted builders to be compliant with Rust guidelines. (#6102)

* Converted builders to be compliant with Rust guidelines.

* Bring rust changes back to C++ repo

* Improved builder developer experience

* Removed builders from AMQP layer to conform to Rust guidelines; Fixed AMQP bug in message sender tests (#6208)

* Removed builders from AMQP layer to conform to Rust guidelines; Fixed AMQP related bug in message sender tests

* Pr feedback

* Implement receiving messages; Changes to eventhubs so that all eventhubs tests pass (#6254)


* Eventhubs tests pass

* Noise reduction; explain the task which spawns a task

* Update sdk/eventhubs/azure-messaging-eventhubs/src/producer_client.cpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* PR feedback

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Integrate Rust 2 step message receive code to C++ (#6349)

* Integrate Rust 2 step message receive code to C++

* If receiving a delivery failed, transmit the error to the message channel if at all possible

* Enable Rust based AMQP by default (#6362)

* AMQP tests now pass; Integrate TestAmqpBroker with CI pipeline

* Updated changelogs to reflect API changes made during AMQP updates

* Replace uAMQP with Rust AMQP as the default AMQP transport; Updated build configurationj to reflect that

* Test fixes

* PR feedback; test fixes

* Fixed uninitialized variable tanking some tests (#6381)

* Fixed uninitialized variable tanking some tests

* Fixed Rust AMQP tests

* Removed connection string support from Eventhubs and EH tests. (#6391)

* Removed the ability to use connection strings from EventHubs

* Enable Rust AMQP by default!!!

* Update CMakePresets.json

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2025-03-11 22:30:13 +00:00
Azure SDK Bot
a7728011d2
Sync eng/common directory with azure-sdk-tools for PR 9993 (#6456)
* optimize save-package-properties for large diffs

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-03-11 12:07:25 -07:00
Azure SDK Bot
23df1f63e5
Sync eng/common directory with azure-sdk-tools for PR 10013 (#6455)
* Fix supportsSafeSecretStandard flag

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

---------

Co-authored-by: Deyaaeldeen Almahallawi <dealmaha@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-03-10 09:50:59 -07:00
Azure SDK Bot
c378e69d0d
Add well known tenant IDs and TME status (#6438)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-03-06 11:42:41 -08:00
Azure SDK Bot
3e56210de8
Sync eng/common directory with azure-sdk-tools for PR 9918 (#6447)
* add pullrequest faq

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2025-03-05 18:26:23 -08:00
Azure SDK Bot
eb376abced
Add path loggin to sparse-checkout (#6448)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2025-03-05 13:41:58 -08:00
Azure SDK Bot
f6fa235697
Optimize Service-Level change detection, update ordering of targeted files during impacted package detection (#6446)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-03-04 12:17:08 -08:00
Azure SDK Bot
af764fe673
Sync eng/common directory with azure-sdk-tools for PR 9945 (#6444)
* allow skipping of batching during Create-PRJobMatrix
---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-03-03 15:50:12 -08:00
Azure SDK Bot
4983de1fb5
Update original file path value in detect change request to APIView (#6443)
Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>
2025-03-03 17:58:53 -05:00
Azure SDK Bot
3dd0144c64
Sync eng/common directory with azure-sdk-tools for PR 9950 (#6439)
* Use PME for esrp release

* Update to EsrpRelease@9

* Remove extra DomainTenantId parameter

* Add PME service connection to pipelines

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2025-02-28 17:05:01 -08:00
Azure SDK Bot
4ede1a2b0f
Add condition parameter to detect-api-changes template (#6437)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-02-27 15:28:12 -08:00
Azure SDK Bot
c6334c02ad
Sync eng/common directory with azure-sdk-tools for PR 9888 (#6434)
* Move stress helm charts to azuresdkartifacts. Add publish pipeline

* Update stress deploy

* Fix tenant reference for pg tme cluster

* Update cluster config

* Fix powershell module install when whatif is set

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-02-26 14:17:02 -08:00
Azure SDK Bot
b538bd9935
Code needs to handle more than one template library (#6436)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2025-02-26 10:13:03 -08:00
Azure SDK Bot
5b900c1a9d
Sync eng/common directory with azure-sdk-tools for PR 9902 (#6433)
* populate triggeringPaths of each artifactdetails with the owning ci.yml
* handle service-directory changes in Get-PrPkgProperties

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-02-24 17:35:15 -08:00
Azure SDK Bot
8d21d5d40d
bump proxy version to 1.0.0-dev.20250221.1 (#6432)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-02-24 11:38:31 -08:00
Azure SDK Bot
97463f30d2
update apiview scripts to support sdk automation (#6431)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-02-21 17:26:12 -08:00
Azure SDK Bot
97182996eb
Sync eng/common directory with azure-sdk-tools for PR 9889 (#6429)
* Fix support for crates.io links

* Use strict-mode $Matches property accessor

---------

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2025-02-21 13:36:23 -08:00
Azure SDK Bot
4eb517add9
Sync eng/common directory with azure-sdk-tools for PR 9896 (#6430)
* Remove trailing slash addition to ExcludePaths

* Remove the needless loop and, now defunct, comment

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2025-02-21 12:13:50 -08:00
Azure SDK Bot
429f81b88f
Sync eng/common directory with azure-sdk-tools for PR 9862 (#6428)
* Get-PRPkgProperties now honors artifact-list specific absolute/relative paths to other triggering folders. This will supplant the common "if eng/ changes include template and core" in a follow-up PR.

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-02-20 16:30:18 -08:00
gearama
4d52ec202f
missed exception (#6427) 2025-02-19 12:31:59 -08:00
Wes Haggard
ccfe6a6136
Update github.io doc location (#6423) 2025-02-18 10:38:52 -08:00
Azure SDK Bot
c2ddfee999
Sync eng/common directory with azure-sdk-tools for PR 9836 (#6422)
* adjustments to iterating across matrix configs for packages that belong to multiple matrices

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-02-14 11:16:59 -08:00
Azure SDK Bot
ab5a01b7cc
chmod +x TestResources scripts (#6421)
Make them executable in bash et. al. without starting separate shell.

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2025-02-14 10:07:38 -08:00
Azure SDK Bot
1d191cb349
Sync eng/common directory with azure-sdk-tools for PR 9832 (#6420)
* Fix the issue in adding dev version in package info
2025-02-13 21:15:11 -05:00
Azure SDK Bot
e4dae4e2a5
Sync eng/common directory with azure-sdk-tools for PR 9823 (#6419)
* handle defaults for changedfiles, deletedfiles, and changedServices

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-02-13 11:37:40 -08:00
Azure SDK Bot
a5e9424161
Sync eng/common directory with azure-sdk-tools for PR 9821 (#6416)
* Change AddDevVersion as boolean in save package properties script
2025-02-12 19:56:36 -05:00
Azure SDK Bot
52797073f1
Sync eng/common directory with azure-sdk-tools for PR 9807 (#6417)
* replace PkgProps CIMatrixConfigs property in favor of a more generalized CIParameters property. Original CIMatrixConfigs will exist as an item of same key within CIParameters.
* update Create-PRJobMatrix to honor new CIMatrixConfigs property location

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-02-12 15:56:08 -08:00
Azure SDK Bot
07cc2b19cd
Support Linux environment (#6410)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-02-11 14:07:00 -08:00
Azure SDK Bot
6d3bd4cc0d
Parameterize test-pipeline version separator (#6409)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2025-02-11 13:50:10 -08:00
Azure SDK Bot
4f2ca36252
Sync eng/common directory with azure-sdk-tools for PR 9803 (#6408)
* update Get-ObjectKey to coalesce boolean-like values to their true boolean value
* update Get-ObjectKey  to call Get-ObjectKey on each item of an array or pscustom object - versus utilizing their values directly 
---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-02-11 11:34:25 -08:00
Azure SDK Bot
ac2c03cce9
Sync eng/common directory with azure-sdk-tools for PR 9799 (#6402)
* resolve issue with matrix collation when multiple matrix configs are being resolved

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-02-07 17:05:04 -08:00