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

3269 Коммитов

Автор SHA1 Сообщение Дата
Wes Haggard 3329e9d854
Update Preview Test Sub to use new connection (#5826)
In order to get both deployment and clean-up working we need to have a connection that points at the right subscription. Today azure-sdk-tests points to the name Test Sub but I created azure-sdk-tests-preview connection which points to the Preview Test Sub.

This will fix the clean-up step which is currently failing for things deployed in Preview.
2024-07-18 15:20:39 -07:00
Ahson Khan 9b9f76a737
Re-enable running previously disabled samples using AzureCliCredential. (#5818)
* Re-enable running KeyVault samples on Ubuntu using AzureCliCredential.

* Re-enable running Attestation samples using AzureCliCredential.

* Re-enable running EventHubs samples using AzureCliCredential.

* Re-enable running Identity samples.

* Disable client_secret_credential_sample since it depends on env vars
that don't exist.
2024-07-18 14:45:27 -07:00
Azure SDK Bot e67bcaa558
Sync eng/common directory with azure-sdk-tools for PR 8602 (#5801)
* add additional argument to Save-Package-Properties to allow for usage in pull request context

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-07-18 11:44:18 -07:00
Azure SDK Bot 01263ec39b
Increment version for storage releases (#5808)
* 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-07-18 16:55:22 +08:00
Rick Winter 21b4db68f6
Update CODEOWNERS_baseline_errors.txt (#5806)
Update CODEOWNERS
2024-07-17 13:58:56 -07:00
Larry Osterman 90089ad326
Cleaned up Azure::Core::Context API surface (#5676)
* Deprecated Azure::Core::ApplicationContext because its use is confusing and inconsistent with the original design. 

---------

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2024-07-17 12:38:30 -07:00
Larry Osterman 2b987eeed8
Improve code coverage numbers by excluding some options (#5805)
* Potentially improve code coverage numbers by excluding some options

* Removed dead lines; replicated switches to both gcovr executions

* added link to gcovr branch coverage faq
2024-07-17 18:36:10 +00:00
Rick Winter 5f71ab8515
Ignore spelling in the CODEOWNER baseline (#5811) 2024-07-17 17:59:26 +00:00
microzchang fbccfdd758
Storage July Release (#5753)
* Storage July Release

* Update release date
2024-07-17 17:26:41 +08:00
microzchang 60fbccf8c0
Storage Fix AccessType live test failure (#5807)
* Fix live test failure

* update datalake tests
2024-07-17 17:26:21 +08:00
Ahson Khan b9c776c9ff
Update link in README.md to fix link verification issue. (#5804) 2024-07-16 13:13:14 -07:00
Larry Osterman e19dc2371c
Use GetTestCredentials in eventhubs admin client; updated samples to allow sample execution to be disabled (#5799)
* Use GetTestCredentials in eventhubs admin client; updated samples to allow sample execution to be disabled

* Made sample execution optional

* re-enabled building keyvault samples

* Disabled RetrieveMultipleEvents test

* Disabled RetrieveMultipleEvents test

* Pull request feedback
2024-07-16 10:29:54 -07:00
Ahson Khan 7e9906f884
Added `ClientAssertionCredential` to enable applications to authenticate with custom client assertions. (#5789)
* Added `ClientAssertionCredential` to enable applications to authenticate with custom client assertions.

* Rename test file.

* Update client assertion credential tests.

* Fix typo.

* Address PR feedback - pass in function by value and some comment fixup.

* Update log messages to use credential name as a prefix.
2024-07-15 19:30:56 -07:00
Anton Kolesnyk e47e3168fe
Acknowledge community contribution in the changelog (#5797)
* Mention community contribution in the changelog

* cspell

* Remove double spaces

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-07-15 18:45:06 +00:00
Azure SDK Bot fb6c039f5e
Increment package version after release of azure-core (#5794) 2024-07-12 21:34:14 +00:00
Azure SDK Bot ae14b41e8e
Sync eng/common directory with azure-sdk-tools for PR 8598 (#5777)
* Set storage account test resources to disable blob public access

* Skip adding network rules to storage accounts that don't need them during cleanup

* Add succeeded check to set pipeline subnet info step

* Disable network firewall by default in resource creation/removal

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-07-12 17:15:32 -04:00
Anton Kolesnyk 6b9e1cc691
Revert commits related to the new RetryPolicy method (#5793)
* Revert "Update the RetryPolicy for the GA release, keeping ShouldRetry extension point hidden. (#5771)"

This reverts commit 9ccd206ff8.

* Revert "Update the RetryPolicy and ShouldRetry customization logic to allow loosening the retry condition. (#5656)"

This reverts commit f1d95520d1.

* Do not remove changelog entry from a previous beta release

* Revert "Add a virtual ShouldRetry method to the RetryPolicy for customization. (#5584)"

This reverts commit ab90ef68b0.

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-07-12 12:03:43 -07:00
Anton Kolesnyk e8c7c559d9
Azure Core July GA Release (#5792)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-07-12 10:24:12 -07:00
Ahson Khan 9ccd206ff8
Update the RetryPolicy for the GA release, keeping ShouldRetry extension point hidden. (#5771)
* Update the RetryPolicy for the GA release, keeping ShouldRetry extension
point hidden.

* Mark test helper virtual functions private, so they aren't
accessible/callable by callers.

* Update the changelog.

* Update CL.
2024-07-11 17:39:37 -07:00
George Arama 313fb0e58f
Move tests to use azure pipeline credentials (#5754)
* test1

* hgdfchg

* remove the remnants of azure client secret

* test KV with federated auth

* UseFederatedAuth

* fdsa

* kv template with managed

* try try again

* retry permissions

* add net acls

* blunt force replace the resource json

* put back stuff

* trey again with new method

* attempt

* missed something

* flip if else

* Temporarily use empty sub config file path for preview cloud

* remove client secret

* try to fix the identity tests

* live skip failing tests and return in samples

* samples for identity fix

* disable failing samples in identity

* fix winhttp failing test

* comment out code

* remove managed identity

* restore version from main

* revert readme changes

* PR comments

* test 2

* clang

* attempt default creds with pipeline chanined

* clangs

* identity test and clangs

* oops

* live

* cleanup

* reter

* test

* revert the DAC change

* missed one

* taking the samples to a farm upstate

* PR comments

* Fix bad merge

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-07-11 17:38:19 -07:00
Ahson Khan aadeca2c5c
Turn federated auth on for Identity tests. (#5785)
* Turn federated auth on for Identity tests.

* Update test resources json.
2024-07-12 00:00:15 +00:00
Anton Kolesnyk 69ce3d7cfa
Show-FailureLogs to include vcpkg build failure logs (#5776)
* Show-FailureLogs to include vcpkg build failure logs

* Add comment

* Add proper array syntax

* Use proper syntax to create an array even if there's only a single element

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

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2024-07-11 16:34:44 -07:00
Anton Kolesnyk 22f5135d4c
Update vcpkg SHA (#5772) 2024-07-11 22:57:06 +00:00
Azure SDK Bot 1143b6bf4d
Support regex/negative regex filters for stress test discovery. Add storage env defaults (#5779)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-07-11 13:25:01 -04:00
Azure SDK Bot b1207fc87a
add the ability to override default succeeded() conditioning by parameter (#5780)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-07-10 14:26:42 -07:00
Azure SDK Bot bc547c4f4c
Sync eng/common directory with azure-sdk-tools for PR 8558 (#5764)
* Support storage network access and worm removal in remove test resources script

* Move storage network access script to common resource helpers file

* Improve storage container deletion resilience

* Plumb through pool variable to live test cleanup template

* Add sleep for network rule application

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-07-08 17:56:18 -04:00
Ahson Khan de7197daae
Provide a walkthrough for how to install the Azure SDK packages in a VS (#5751)
MSBuild project via vcpkg.
2024-07-08 14:10:28 -04:00
Azure SDK Bot 0e6b920216
Update GitHubEventProcessor version to 1.0.0-dev.20240708.1 (#5768)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-07-08 10:39:30 -07:00
Robert Schulze 8f26ebb8a8
Add missing include (#5766) 2024-07-08 09:17:46 -07:00
Azure SDK Bot 32250eaf25
Delete eng/common/InterdependencyGraph.html which is unused. (#5763)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-07-05 13:15:17 -04:00
Wes Haggard 2e4e87f490
Disable codeql as it is causing build issues (#5761)
All the other languages have disabled codeql and we are now hitting blocking issues when running codeql on macos (https://dev.azure.com/twcdot/Data/_workitems/edit/138580) and even on the other OS's the configuration causes the builds to run for a long time.
2024-07-03 15:03:29 -07:00
Azure SDK Bot 8b39000b42
Sync eng/common directory with azure-sdk-tools for PR 8549 (#5762)
* commit the file changes so that we can see them running

* use standalone tool

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-07-03 14:54:52 -07:00
Azure SDK Bot 5251c27034
Sync eng/common directory with azure-sdk-tools for PR 8516 (#5752)
* Ensure subConfigFiles is not an empty string

* Skip instances where $file is an empty string

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-07-03 17:51:11 -04:00
Azure SDK Bot a7ce5b43c3
Sync eng/common directory with azure-sdk-tools for PR 8528 (#5755)
* Fix default value for env vars in build-test-resource-config template

* Add empty pool condition

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-07-03 14:23:56 -04:00
Anton Kolesnyk 729491820e
Update vcpkg SHA (#5757)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-07-02 09:05:04 -07:00
Anton Kolesnyk f8130a26ae
If formatting fails in CI, print detailed diff (#5756)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-07-01 17:43:22 -07:00
Daniel Jurek b0aa9bb924
Add federated auth support (#5740)
* Add federated auth support

* Wire up UseFederatedAuth more and EnvVars

* parameters.

* Testing

* ServiceConnection

* ServiceConnection (again)

* Remove testApplicaitonSecret

* Parameters

* exit $LASTEXITCODE

* Merge EnvVars correctly, only include SubscriptionConfigurationFilePaths if using federated auth

* Review comments

* Revert identity changes so tests continue passing
2024-07-01 21:36:07 +00:00
Azure SDK Bot 88bb72c045
Sync eng/common directory with azure-sdk-tools for PR 8371 (#5685)
* Restrict live test storage account access to client IP

* Add storage pools to test resources vnet allowlist

* Use pool subnet map to reduce number of subnets added to live test resources

* snap

* Add test resource parameter to add ip ranges to storage firewall

* Validate and update ip firewall rules

* Get pool subnet using separate workload identity

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-07-01 15:08:16 -04:00
Ahson Khan 6f71dd3621
Update CODEOWNERS for /** and /sdk/ catch all (#5739)
* Update CODEOWNERS for /** and /sdk/ catch all

* Update .github/CODEOWNERS

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

* Apply suggestions from code review

Update the CODEOWNERS

---------

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2024-07-01 16:36:55 +00:00
Ben Broderick Phillips bed0d5585a
Add pool env variable to build-test-resource-config template (#5749) 2024-06-26 16:06:14 -04:00
Ahson Khan 3e5b7064ec
Add live tests for AzurePipelinesCredential. (#5734)
* 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.

* Add a live test to AzurePipelinesCredential.

* Add invalid test cases and output response.

* Add access token env var in ci.yml.

* Add identity yml files and EnvVars.

* Fix merge conflicts and print out the oidc response.

* Remove duplicate definition of ServiceDirectory and remove env.

* Revert CI/infra changes.

* Include engsys changes to add federated auth support.

* Update environment variables used.

* Sync recent engsys changes.

* Add invalid tenant id test and re-order them.

* Fail the live test pipeline if a test fails.

* Update tests and revert source changes.

* Debug failing TokenCredentialTest in new live test environment.

* Dont fail test on missing env var.

* Disable federated auth in ci.yml and add back client secret env var.

* Remove test application secret.

* Revert other changes related to infra.
2024-06-26 11:44:01 -07:00
Azure SDK Bot e488093c19
Increment package version after release of azure-identity (#5742) 2024-06-25 21:33:16 -07:00
Ben Broderick Phillips 55c241902d
Add pool variable and user env variables to test resources environment (#5731) 2024-06-21 17:41:28 -04:00
Ahson Khan dd83659802
Prepare for the June Identity beta release, oob. (#5735) 2024-06-21 14:15:48 -07:00
Azure SDK Bot 8750d80f07
Force amd64 as the build platform - it has to match what the AKS cluster is running on. (#5738)
Co-authored-by: Richard Park <ripark\@microsoft.com>
2024-06-21 15:18:06 -04:00
Azure SDK Bot 7d463cd596
update the target version of the proxy (#5732)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-06-21 10:59:59 -07:00
Wes Haggard 572c2ae27a
update macos image from 11 to latest (#5721) 2024-06-21 08:14:56 -07:00
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