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

3144 Коммитов

Автор SHA1 Сообщение Дата
Daniel Jurek fd380e9834
Empty test-resources.json 2024-07-05 15:48:22 -07:00
Daniel Jurek ae5ec7db5e
Federated auth 2024-07-05 15:35:06 -07:00
Daniel Jurek 34425bd76f
Syntax 2024-07-05 15:12:01 -07:00
Daniel Jurek a3ff93bcb3
Use EnvVars for live testing, too 2024-07-05 15:07:48 -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
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