Commit Graph

3122 Commits

Author SHA1 Message Date
JinmingHu
3102b7847b
Remove client secrets, Re-make recording (#5725)
---------

Co-authored-by: microzchang <zchang@microsoft.com>
2024-06-21 12:13:38 +08:00
Ahson Khan
9b2c3b337e
Add AzurePipelinesCredential for authenticating an Azure Pipelines service connection with workload identity federation. (#5733)
* Add AzurePipelinesCredential for authenticating an Azure Pipelines service connection with workload identity federation.

* Add unit tests.

* Add comment about not throwing in the ctor, but rather deferring it.

* Order field in order of initialization and fix cspell.

* Fix ambiguous call to EnvironmentOverride in tests.

* Address PR feedback, suppress warning, move oidc fetch in token cache,
and update exception message.

* Address PR feedback, use ID and capitalize Azure Pipelines.

* Revert back to the workaround for the warning, rather than suppressing
it.

* Address PR feedback, move getting an assertion to a helper, and add
const.
2024-06-20 21:09:31 -07:00
Ahson Khan
ed933f5dfd
Add a trouble shooting guide for azure-identity, specific to C++. (#5730)
* Add a trouble shooting guide for azure-identity.

* Fix casing.

* Add cspell opt-outs.

* Update section level nesting to 3 instead of 4.
2024-06-19 15:41:08 -07:00
Azure SDK Bot
e24c5f9900
Fix case where changelog wasn't marked as invalid (#5726)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-06-18 18:37:04 -04:00
Azure SDK Bot
247583f456
Update publish template (#5727)
Add logging and fix display name given Agent.JobStatus doesn't evaluate currently in the display name property.

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-06-18 16:48:00 -04:00
George Arama
0b5b5ac951
Json library update and Xcode15 (#5681)
* Move up macos and xcode version

* first pass

* to trigger builds, some other issue

* rewrwe

* Remove MSVC compiler warning suppressions in KeyVault

The code within the `mocked_transport_adapter_test.hpp` file, specifically within the `Azure::Security::KeyVault::Keys` namespace, has been updated. The `#if defined(_MSC_VER)` preprocessor directive along with its associated `#pragma warning(push)` and `#pragma warning(disable : 4996)` directives have been removed. The corresponding `#pragma warning(pop)` directive has also been removed. The lines of code that were between these preprocessor directives remain unchanged. These changes remove specific compiler warning suppressions for MSVC compilers, but do not alter the functional behavior of the code.

* dassa

* Add UseDotNet@2 where test proxy might run on a macos agent

* test CI

* fsd

* dasdas

* gregre

* gerregr

* ffdsfsd

* fwefew

* fewfwew

* reter

* fewfew

* fwefwe

* rewrw

* rwe

* temp move build step to exec faster

* gdfgd

* fsdfd

* fdsfs

* dgdf

* Roll forward instead of installing .NET 6

* remove manual install

* rewrew

* gfdffg

* rewrwe

* gfdgd

* fdsfs

* gfdgdf

* tertre

* dasda

* try http for test proxy

* revert readmes

* rew

* rew

* fdsfsd

* ewrew

* revert storages

* KV

* opentelemetry

* remove warnbing

* anton comments

* unit tests

* clangs

* clang

* comment out some asserts

* restore originals

* updated tests

* clangs

* restore cmake

* test

* Remove manual workaround (eng/common change fixes this)

* test2

* the fix doesn't work, need to put back

* Remove DOTNET_ROLL_FORWARD

* annotate macro , put back DOTNET_ROLL_FORWARD

* remove leftover files

* reww

* update changelog

* remove left over file

* remove some doxygen comments

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-06-18 08:26:28 -07:00
Azure SDK Bot
2f74d85edb
Sync eng/common directory with azure-sdk-tools for PR 8422 (#5712)
* Merge subscription configuration file values with the supplied subscription config

* Bring forward working parts

* Collapse into a single task

* SubConfig-Helpers.ps1 changes

* Update remove-test-resources.yml

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-06-17 16:27:00 -07:00
Azure SDK Bot
c4a395e0b9
Pass pipeline vnet to live test arm templates (#5724)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-06-17 18:07:39 -04:00
Azure SDK Bot
b7b9ab04af
Sync eng/common directory with azure-sdk-tools for PR 8457 (#5722)
* Update macos image from 11 to latest

* unpin pester now that 5.6.0 is on the agent

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-06-17 14:54:06 -04:00
Azure SDK Bot
bbfc93fcae
Update CodeownersLinter version to 1.0.0-dev.20240614.4 (#5720)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-06-14 11:45:11 -07:00
Azure SDK Bot
ed9f70ad16
Update spelling dependencies (#5719)
This is the result of `npm audit fix` to address vulnerability in older versions
of `braces`.

Co-authored-by: Jeremy Meng <yumeng@microsoft.com>
2024-06-13 17:22:10 -07:00
Ahson Khan
20efadde4c
Add back-ticks around the WWW-Authenticate header name in exception (#5717)
message.
2024-06-13 10:12:05 -07:00
Azure SDK Bot
f80f2d7999
Sync eng/common directory with azure-sdk-tools for PR 8388 (#5704)
* Removal of the devops release PAT

* Don't pass in the access token, just use the AzureCLI task and do everything in the scripts

* Updates for feedback

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-06-13 12:10:14 -04:00
Azure SDK Bot
77e23c2108
Fix prepare-pipelines line wrapping (#5716)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-06-12 18:34:13 -04:00
Azure SDK Bot
5264ee4e28
Increment package version after release of azure-identity (#5714) 2024-06-12 08:33:45 -07:00
Azure SDK Bot
cee566307b
Increment version for storage releases (#5715)
* Increment package version after release of azure-storage-common

* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-files-datalake

* Increment package version after release of azure-storage-files-shares

* Increment package version after release of azure-storage-queues
2024-06-12 16:43:28 +08:00
microzchang
ad744e2a33
Storage June Release (#5702) 2024-06-12 10:14:00 +08:00
Azure SDK Bot
1a81885044
Increment package version after release of azure-messaging-eventhubs (#5713) 2024-06-11 23:09:10 +00:00
Ahson Khan
1e8c9d0c02
Prepare for the June Identity GA release. (#5695)
* Prepare for the June Identity GA release.

* Validate azure arc.

* Update changelog entry.

* Update cspell, fixup gtest skip, and remove unnecessary logging.

* Move gtest_skip call inside the gtest.

* Use system command due to permissions on creating a directory, on linux.

* Pass in a c_str() to system.

* Update permissions to create keys and address pr feedback (rename test
var and method to remove 'valid').

* Address PR feedback - nits.

* Fix remaining rename of local variable.
2024-06-11 15:25:02 -07:00
Azure SDK Bot
4ca2c8f028
Increment package version after release of azure-data-tables (#5710) 2024-06-11 11:58:20 -07:00
Azure SDK Bot
1b78b93274
Increment version for keyvault releases (#5709)
* Increment package version after release of azure-security-keyvault-certificates

* Increment package version after release of azure-security-keyvault-secrets

* Increment package version after release of azure-security-keyvault-keys
2024-06-11 11:43:49 -07:00
Larry Osterman
242162fa48
Prepare for June eventhubs release (#5694) 2024-06-11 10:18:55 -07:00
George Arama
83d3402eb2
Tables 1.0 beta 3 (#5672)
* Tables 1.0 beta 3

* ewrwe
2024-06-11 06:20:25 -07:00
George Arama
7a80e0a594
Keyvault June release (#5673)
* Update release date and modify sections in CHANGELOG.md
 This commit updates the release date for versions 4.3.0-beta.2 and 4.5.0-beta.2 in the CHANGELOG.md file from "Unreleased" to "2024-06-11". It also removes the "Features Added", "Breaking Changes", and "Bugs Fixed" sections for these versions. The "Other Changes" section has been updated to reflect the relocation of samples to the `samples` directory, updates to the `README.md` file, and updates to the samples.

* kashdhjlaks

* rewrwe

* Update sdk/keyvault/azure-security-keyvault-keys/CHANGELOG.md

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2024-06-11 06:20:08 -07:00
Azure SDK Bot
614d079719
Update github-event-processor to 1.0.0-dev.20240610.2 (#5706)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-06-10 10:07:52 -07:00
Azure SDK Bot
fe18f39cb3
Pin pester version to 5.5.0 (#5703)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-06-07 10:16:39 -07:00
Azure SDK Bot
666e611153
Use DOTNET_ROLL_FORWARD: 'Major' for test-proxy (#5699)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-06-07 12:04:58 -04:00
Anton Kolesnyk
ef9d2a5e18
Remove 'include windows.h' from inc/* (#5691)
* Remove 'include windows.h' from inc/*

* Clang format

* Qualify namespace

* Clean up includes a bit further

* Fix errors

* Clang format

* move out _detail definitions

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-06-07 03:07:10 -07:00
Azure SDK Bot
c5d0549cb5
Increment version for core releases (#5700)
* Increment package version after release of azure-core

* Increment package version after release of azure-core-amqp
2024-06-07 00:07:00 +00:00
Azure SDK Bot
3635e2064a
Sync eng/common directory with azure-sdk-tools for PR 8377 (#5690)
* Plumb env vars through deploy test resources

* Update eng/common/TestResources/deploy-test-resources.yml

Co-authored-by: Daniel Jurek <djurek@microsoft.com>

* Update eng/common/TestResources/deploy-test-resources.yml

Co-authored-by: Daniel Jurek <djurek@microsoft.com>

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-06-06 19:11:02 -04:00
Anton Kolesnyk
b43174a05b
Core June Beta Release (#5696)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-06-06 14:42:09 -07:00
Larry Osterman
803ad17e9a
Prepare for June AMQP release (#5697)
* Prepare for June AMQP release

* Update sdk/core/azure-core-amqp/CHANGELOG.md

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

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-06-06 14:41:42 -07:00
Larry Osterman
e1265f716d
Align eventhubs connection property names with Go (#5693)
* Align eventhubs connection property names with Go

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

* Changelog

* Fixed extra value caught by Anton

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-06-05 14:56:25 -07:00
Azure SDK Bot
459c148d06
bump target version of the test proxy (#5688)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-06-04 15:58:11 -07:00
Azure SDK Bot
f715b5674f
Sync eng/common directory with azure-sdk-tools for PR 8370 (#5689)
* PAT Removal from pipeline generation yml

* update version of PipelineGenerator to install

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-06-04 14:09:47 -07:00
George Arama
6bc4ee3f01
Updated method comments and functionality in tables_clients.hpp (#5674)
Updated and expanded comments for several methods in `tables_clients.hpp` to provide more detailed descriptions of their functionality. These methods include `GetAccessPolicy`, `SetAccessPolicy`, `AddEntity`, `UpdateEntity`, `MergeEntity`, `DeleteEntity`, `UpsertEntity`, `QueryEntities`, `QueryEntity`, `CreateTable`, `DeleteTable`, and `QueryTables`.
2024-05-30 11:56:43 -07:00
Azure SDK Bot
cee9b6ab5e
Sync eng/common directory with azure-sdk-tools for PR 8324 (#5671)
* Reuse same branch name for previews of a PR

* Default AddBuildSummary parameter using pipeline variable existence

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-05-30 10:39:42 -07:00
Ahson Khan
f1d95520d1
Update the RetryPolicy and ShouldRetry customization logic to allow loosening the retry condition. (#5656)
* Update the RetryPolicy and ShouldRetry customization logic to allow
loosen the retry condition.

* Add CL entry and update doc comment.

* Move WasLastAttempt check out, and add more tests.

* Address PR feedback, remove use of void and unused params.
2024-05-30 11:08:56 +08:00
Wes Haggard
b7a751dd53
Update CODEOWNERS for eng/common (#5678)
Add engsys team as owner for files under eng/common to enable engsys team to be able to approve and merge eng/common sync PRs.
2024-05-29 17:19:46 -07:00
Wes Haggard
0c9aae5cac
Update variable group for prepare-pipelines (#5677)
See https://github.com/Azure/azure-sdk-tools/pull/8359
2024-05-29 17:15:15 -07:00
Wes Haggard
7dedba1a4f
Update to use opensource api token (#5668) 2024-05-29 13:08:26 -07:00
Azure SDK Bot
dc64ca6eb3
Sync eng/common directory with azure-sdk-tools for PR 8340 (#5669)
* Changes to scripts to deal with PATs and AccessTokens

* swap access and auth for add-retention-lease

* AuthToken to BearerToken and remove unused Base64EncodedAuthToken from the script parameters

* remove unneccsary if not null check for the mandatory parameter

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-05-28 15:52:20 -07:00
Azure SDK Bot
1b8d54e396
Sync eng/common directory with azure-sdk-tools for PR 8319 (#5653)
* Add static file secret-less sub-config support

* Review feedback: if/else

* http -> https

* Update eng/common/TestResources/deploy-test-resources.yml

* Space cleanup

* Add AzurePublicMsft.json

* Remove EnvironmentVariables

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-05-28 14:43:46 -07:00
Larry Osterman
5b9ea47d6b
Disable playback for several attestation tests that use JWTs (#5665)
* Disable playback tests on test that receive a JWT

* Reduced code coverage numbers due to disabled tests.
2024-05-28 10:15:07 -07:00
microzchang
ffbf094b89
Storage/STG94 features (#5667)
* update to stable (#5541)

* Storage/ Merge main to unblock pipeline failure (#5561)

* Sync eng/common directory with azure-sdk-tools for PR 8110 (#5540)

* Show review link in logs and set DevOps project name based on the pipeline run

* Handle the failures when package work item is unassigned (#5551)

Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>

* Revert win2022 image back to latest and add msvc version mitigation (#5539)

* Revert win2022 image back to latest
* Workaround fix for MSVC SxS issue

* Fix Policheck step indention (#5553)

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

* Sync .github/workflows directory with azure-sdk-tools for PR 8131 (#5555)

* Update to azure/login@v2

* Remove the unnecessary setting of enable-AzPSSession. We don't need it.

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>

* Update sorting algorithm used in storage shared-key signing (#5547)

* Remove Windows upgrade of cmake (windows image now uses working version of cmake) (#5558)

* Revert "Update sorting algorithm used in storage shared-key signing (#5547)" (#5560)

This reverts commit b6e04fd035.

---------

Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
Co-authored-by: JinmingHu <jinmhu@microsoft.com>

* Storage/STG94 Snapshot management support via REST for NFS shares (#5543)

* add nfs support (#5267)

* add test recordinhg

* Storage/STG94 GetAccountInfo() for container and blob (#5550)

* add getaccountinfo

* update record

* Storage/STG94 Add Queues bearer challenge test case (#5556)

* Add test for queue bearer challenge

* update test case

* update var name

* update test case

* fix clang format

* Update sorting algorithm used in storage shared-key signing (#5611)

* Storage/Stg94 Support for authorization ExtendedErrorDetail (#5633)

* Support for authorization ExtendedErrorDetail

* fix clang format

* fix build error

* make tests live only

* Update change log

* remove additional changes

* update changelog

* update error detail liveonly

* Update live test

---------

Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
Co-authored-by: JinmingHu <jinmhu@microsoft.com>
2024-05-28 11:21:17 +08:00
Larry Osterman
72e8b78617
Ignore sln files and csproj files in the vendor directory (#5663) 2024-05-24 20:53:29 +00:00
Daniel Jurek
2098095d68
Set retryCountOnTaskFailure for idempotent AzurePowerShell task (#5654)
* Set retryCountOnTaskFailure for idempotent AzurePowerShell task
* Review feedback: 3
2024-05-23 19:33:06 +00:00
Azure SDK Bot
af92a6980a
Sync eng/common directory with azure-sdk-tools for PR 8278 (#5659)
* Migrate stress cluster to use workload identity

* Only sleep to sync fed creds when namespace is new

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-05-23 10:42:33 -07:00
Larry Osterman
a9526d9375
Minor tweaks to HTTP tests found during Rust HTTP testing (#5658)
* Minor tweaks to HTTP tests found during Rust HTTP testing

* PR feedback
2024-05-23 04:15:05 +00:00
George Arama
1e806a17b8
Keyvault macros deprecate and new names (#5647)
* deprecate macros

* dasda

* need to remove from cpp due to deprecated error

* test

* hgjg

* comments

* definitions

* clangs

* Update sdk/keyvault/azure-security-keyvault-keys/CHANGELOG.md

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

* move test app to build_testing

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2024-05-22 22:29:31 +00:00