Commit Graph

3656 Commits

Author SHA1 Message Date
Anton Kolesnyk
a035ee5f94
Identity: IMDS fail-fast and Cred order change in DAC (and Core support) (#6573)
* Identity: IMDS fail-fast and Cred order change in DAC (and Core support)

* Mac fix and cspell update

* Update unit test and clang-format

* Temporarily update samples to use AzCliCred until recordings are re-recorded

* Revert samples back to use DAC

* Remove SAS auth from Tables template

* Clang-format

* Add support for 'AZURE_POD_IDENTITY_AUTHORITY_HOST', override it for running samples in CI

* Add unit test for AZURE_POD_IDENTITY_AUTHORITY_HOST

* "in milliseconds"

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* PR Feedback

* Named constant + comment

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2025-05-30 16:47:50 -07:00
Azure SDK Bot
0e04dd0c63
fix checkout (#6603)
Co-authored-by: jolov <jolov@microsoft.com>
2025-05-29 13:19:35 -07:00
Azure SDK Bot
f2815312d8
Update APIView Endpoint to use API COntrollers (#6601)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-05-28 20:24:27 -07:00
Azure SDK Bot
155099a40b
Update Event Processor to condition login (#6600)
- We always had 2 jobs because the condition didn't work for login step
  it seems that GH has fixed that issue so we can now just condition the step.

- Hard code the non-secret values for the login so it is easier to on-board new usages

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-05-28 09:53:44 -07:00
Anton Kolesnyk
47c738bba2
Implement AZURE_TOKEN_CREDENTIALS (#6593)
* Implement AZURE_TOKEN_CREDENTIALS

* Clang-format

* Update sdk/identity/azure-identity/src/default_azure_credential.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update sdk/identity/azure-identity/src/default_azure_credential.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update sdk/identity/azure-identity/CHANGELOG.md

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* TrimString()

* Test against contains() or startsWith() being used

* Update sdk/identity/azure-identity/src/default_azure_credential.cpp

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* TrimString() => StringExtensions::Trim()

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2025-05-27 16:40:16 -07:00
Azure SDK Bot
2d5514fa8a
Add common npm publishing template (#6596)
Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2025-05-27 15:57:22 -07:00
Larry Osterman
643ddf6db5
Added cargo.lock file to repo (#6597) 2025-05-27 22:32:15 +00:00
Azure SDK Bot
aabb0b1101
Sync eng/common directory with azure-sdk-tools for PR 10736 (#6595)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-05-23 17:19:19 -07:00
Azure SDK Bot
03c4e12960
Sync eng/common directory with azure-sdk-tools for PR 10733 (#6594)
* Fix broken link in azsdk mcp server readme
2025-05-23 15:37:17 -04:00
Scott Addie
ebdbafd959
Direct traffic to credential chains doc (#6591) 2025-05-22 13:46:37 -07:00
Azure SDK Bot
a1aa57222f
Only convert to json if response content is of json type (#6589)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-05-22 10:55:08 -07:00
Azure SDK Bot
7317d787a2
Sync eng/common directory with azure-sdk-tools for PR 10286 (#6588)
* Remove PR commenting variable

* use staging url for testing

* Switch back to prod endpoint

---------

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-05-21 23:24:34 -07:00
Anton Kolesnyk
63ac69506f
Update vcpkg baseline (#6574)
* Update vcpkg baseline

* Make code to compile with either newer or older version of opentelemetry-cpp

* Clang-format

* Suppress otel warnings in stress test code

* Update CI to update vcpkg cache if the run is PR-initiated

* Turn SSL caching off by default

* Make code to compile with either newer or older version of opentelemetry-cpp

* Clang-format

* Integrate the exact copy of #6581 - to make sure we're testing the same change with libcurl >= 8.12, and also make future merging easier

* Update cspell

* Move feature to bugfix

* Update vcpkg.yml

* Copy #6582 to verify against the latest libcurl

* Undo unnecessary changes

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-05-21 11:57:28 -07:00
Anton Kolesnyk
6c6c4e9b35
Update libcurl transport pool to include all options into connection key (#6583)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-05-21 05:32:53 -07:00
Sushrut Shringarputale
c6d553b2a2
Fix Windows error for failing curl SSL cache (#6582)
* Fix Windows error for failing curl SSL cache

* Fix unused parameter warning in win_http_transport.cpp, as in #6579

* Update changelog, cspell, and conditional init m_sslShareHandle

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-05-20 21:59:01 -07:00
Azure SDK Bot
8ce6da8645
Sync eng/common directory with azure-sdk-tools for PR 10657 (#6580)
* ensure the directory that gets logged is the actual changed package's service directory
---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-05-16 14:29:07 -07:00
Azure SDK Bot
126452efd3
Fixes to auto-download/start azsdk mcp (#6578)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-05-15 19:44:59 -04:00
Azure SDK Bot
5d4324dd7d
Sync eng/common directory with azure-sdk-tools for PR 10664 (#6576)
* Add option to perserve auth

* Update eng/common/pipelines/templates/steps/sparse-checkout.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: ray chen <raychen@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-15 15:59:55 -07:00
Azure SDK Bot
6b591a8a12
Sync eng/common directory with azure-sdk-tools repository (#6575) 2025-05-15 12:40:59 -07:00
Azure SDK Bot
77eee12717
Support az bicep build in New-TestResources (#6572)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2025-05-14 17:38:51 -07:00
Azure SDK Bot
c61528188c
Sync eng/common directory with azure-sdk-tools for PR 10532 (#6571)
* Allow for empty serviceDirectory in deploy-test-resources

* Revert some unintentional changes

* Restore missing comment

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2025-05-14 12:45:38 -07:00
Azure SDK Bot
91d579b8cf
Sync eng/common directory with azure-sdk-tools for PR 10522 (#6555)
* cspell: Remove node version requirement, node is already on the agent

* Succeeded

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2025-05-14 11:30:58 -07:00
Azure SDK Bot
bff63e1fbd
HtmlDecode hrefs (#6570)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2025-05-14 10:21:32 -07:00
Azure SDK Bot
fe6de0cc1f
Increment version for storage releases (#6567)
* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-files-shares
2025-05-13 11:05:09 -07:00
Azure SDK Bot
662b5026d6
Use correct variable name in error (#6568)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-05-13 10:11:09 -07:00
microzchang
dc4118ea4b
Storage May Release (#6563)
* Update version and change log

* Update version

* Update the change log date
2025-05-13 15:18:11 +08:00
Azure SDK Bot
292547aecb
Sync eng/common directory with azure-sdk-tools for PR 10611 (#6566) 2025-05-12 20:43:45 -07:00
Sushrut Shringarputale
51125b0fdc
Add SSL caching share for curl (#6537)
* Add SSL caching share for curl

* Use correct destructor for CURLSH RAII

* Unit tests passing locally

* Add curloptions test for coverage and fix clangformat errors

* whitespace reverts

* Fix clang format errors

* Address PR comments

* Update changelog and CI line coverage target

* Update Changelog and set curl options test to disable ssl caching for validating non-default codepath

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

* Update CHANGELOG.md

* Update cspell.json

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2025-05-12 14:36:19 -07:00
Azure SDK Bot
140aead96d
Sync eng/common directory with azure-sdk-tools for PR 10593 (#6565)
* Improve link checking for github links

Use locally cloned repos to check github links to avoid rate-limiting.

* Add default clone path to the link checker template

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2025-05-12 12:33:18 -07:00
Azure SDK Bot
438ad5d6f8
Sync eng/common directory with azure-sdk-tools for PR 10579 (#6564)
* Support writing .env files from Test Resources

If a language repo opts into it *and* if a `test-resources.bicep` file exists and lints clean of writing secrets *and* if the `.env` file is gitignore'd, write a `.env` file next to `test-resources.bicep`.

* Resolve PR feedback

* Pass -Force for . hidden files on non-Windows

---------

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2025-05-09 21:51:43 -07:00
microzchang
c9f07f1389
Storage STG98 Features (#6501)
* get set acl oauth (#6405)

* Storage STG98/Added support for x-ms-file-request-intent for blob copy APIs (#6406)

* Source File Copy Support

* Storage STG98/NFS 2 (#6404)

* feature

* add test record

* Update blob sas new string to sign (#6511)
2025-05-07 16:45:25 +08:00
Azure SDK Bot
2e7848d736
deploy the proxy with human-readable multipart output (#6551)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-05-06 19:04:36 -07:00
Azure SDK Bot
fe4a884d0f
Increment package version after release of azure-security-keyvault-certificates (#6562) 2025-05-06 14:30:39 -07:00
gearama
be96fae795
Update release notes for version 4.3.0-beta.4 (#6558)
* Update release notes for version 4.3.0-beta.4

* Updated Features Added
2025-05-06 12:06:33 -07:00
Azure SDK Bot
1c4d8ebb4b
Sync eng/common directory with azure-sdk-tools for PR 10534 (#6560)
* Add helper function for spec-gen-sdk pipeline

* Move logging script sourceing to global scope

---------

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-05-06 09:31:04 -07:00
Azure SDK Bot
6e242c11c2
Sync eng/common directory with azure-sdk-tools for PR 10542 (#6559)
* update most current taxnonomy for entra

* update link

---------

Co-authored-by: Minh Anh <minhanhphan@microsoft.com>
2025-05-06 09:02:54 -07:00
Azure SDK Bot
a123a27abf
Sync eng/common directory with azure-sdk-tools for PR 10523 (#6556)
* fix: bump node version in emitter pipeline

* pr feedback

---------

Co-authored-by: Jorge Rangel <jorgerangel@microsoft.com>
2025-05-02 12:41:04 -05:00
Anton Kolesnyk
9b32b889d7
Identity: update Troubleshooting.md with all the credentials (#6552)
* Identity: update Troubleshooting.md with all the credentials

* </li></ul>

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-05-01 22:16:15 -07:00
Anton Kolesnyk
395a2d13c5
Temporarily disable CheckFailedCrlValidation test to unblock CI (#6554)
* Temporarily disable CheckFailedCrlValidation test to unblock CI

* Update branch coverage

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-05-01 21:31:32 -07:00
Azure SDK Bot
d99f94008d
Sync eng/common directory with azure-sdk-tools for PR 10508 (#6550)
* Wraper script for calling package properties

* Tidy up path and serviceDirectoryName

---------

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-04-29 18:38:01 -07:00
Azure SDK Bot
a742c81be8
Update Github Event Processor version number (#6547)
Co-authored-by: Juan Ospina <70209456+jeo02@users.noreply.github.com>
2025-04-29 14:55:32 -07:00
Azure SDK Bot
1ea9610745
Sync eng/common directory with azure-sdk-tools for PR 10470 (#6549)
* Initialize azure sdk MCP conventions/automation

* Fixes

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-04-29 16:49:10 -04:00
Azure SDK Bot
60c9a70a99
Sync eng/common directory with azure-sdk-tools for PR 10482 (#6548)
* Properly handle error for case where no issue (pr) is found for specified commit

* Use logInfo in various places

* Change LogWarning to LogInfo

---------

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-04-29 12:25:29 -07:00
Azure SDK Bot
e38701682a
Fix typo for workingDirectory (#6546)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-04-29 00:44:36 -07:00
Azure SDK Bot
394e24680f
use working directory in eng\common\pipelines\templates\steps\save-package-properties.yml (#6545)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-04-28 19:45:39 -07:00
Azure SDK Bot
cece8a16c0
Sync eng/common directory with azure-sdk-tools for PR 10467 (#6544) 2025-04-28 15:52:47 -07:00
Azure SDK Bot
9ae114d856
Set the resource group prefix after we get the tenantId (#6543)
Given we are using the tenantId to determine to add the prefix or not we need to make sure we have it set before we check it. For the pipelines it is set at the script calling time so it was working there but for some local scenarios it is not set yet, so we need to do it a little later in the script.

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-04-28 12:39:49 -07:00
microzchang
8b092ab175
Fix unstable test cases (#6541) 2025-04-28 10:42:02 +08:00
Azure SDK Bot
cefaf3a978
Sync eng/common directory with azure-sdk-tools for PR 10461 (#6542)
* Fix regenerate commit message

* fix casing

---------

Co-authored-by: jolov <jolov@microsoft.com>
2025-04-25 10:45:05 -07:00
Azure SDK Bot
a0f10e318e
Sync eng/common directory with azure-sdk-tools for PR 10411 (#6540)
* when processing a PR diff, treat packages added via their triggeringPaths as directly changed (used to be indirect)

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-04-24 10:30:27 -07:00