Commit Graph

3610 Commits

Author SHA1 Message Date
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
Azure SDK Bot
92246a2d90
Sync eng/common directory with azure-sdk-tools for PR 10432 (#6539) 2025-04-23 15:43:35 -07:00
Azure SDK Bot
068757046f
Sync .github/workflows directory with azure-sdk-tools repository (#6538) 2025-04-23 14:19:18 -07:00
Azure SDK Bot
f5fd48d274
build: enable pushing emitter nuget packages (#6534)
Co-authored-by: Jorge Rangel <jorgerangel@microsoft.com>
2025-04-22 13:56:32 -06:00
Azure SDK Bot
525f701eba
Fix additional TriggerPaths not being honored in Get-PrPkgProperties (#6533)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-04-22 10:04:22 -07:00
Azure SDK Bot
ac75bd58e9
Exit early if no API changes are found (#6531)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-04-18 10:18:11 -07:00
Azure SDK Bot
95a88de9ef
disable prepare pipelines for net CI jobs (#6529)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-04-16 17:02:21 -07:00
Azure SDK Bot
5b055e8fcd
Sync eng/common directory with azure-sdk-tools for PR 10314 (#6528)
* Move tsp-client step to regenerate stage

* Update comment

* open as draft logic and fix emitter version

* add comment

---------

Co-authored-by: jolov <jolov@microsoft.com>
2025-04-16 09:29:52 -07:00
gearama
1752fec5c0
Expose Scopes on the client options (#6522)
* try

* dsf

* Allow for scope to be passed in

* comment

* clang and others

* Update sdk/tables/azure-data-tables/test/ut/table_client_test.cpp

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

* Update sdk/tables/azure-data-tables/inc/azure/data/tables/tables_audience.hpp

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

* Update sdk/tables/azure-data-tables/inc/azure/data/tables/tables_audience.hpp

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

* PR comments

* Update sdk/tables/azure-data-tables/inc/azure/data/tables/table_audience.hpp

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

* Update sdk/tables/azure-data-tables/inc/azure/data/tables/table_audience.hpp

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

* PR

* clang

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2025-04-14 16:30:49 -07:00
gearama
ccfdc87473
Small cleanup (#6526) 2025-04-14 16:22:28 -07:00
Azure SDK Bot
b2c133f43a
Sync eng/common directory with azure-sdk-tools for PR 10293 (#6524)
* Updates to emitter CI

* add missing $

* add path

---------

Co-authored-by: jolov <jolov@microsoft.com>
2025-04-14 14:26:34 -07:00
gearama
45c02dc359
Kv cleanup (#6519)
* Certs stage1

* keys part 1

* screts part 1

* Keys part2

* keys step3

* QFT

* clang

* Preserve Cert order

* recored tests add checks for preserve
2025-04-14 10:46:16 -07:00
Azure SDK Bot
27c2e5d335
Add missing backticks (#6520)
Co-authored-by: jolov <jolov@microsoft.com>
2025-04-08 17:43:46 -07:00
Azure SDK Bot
ce596aa50b
Sync eng/common directory with azure-sdk-tools for PR 10241 (#6518)
* Use tsp-client in emitter CI

* include arg

* Check path

* remove lock scirpt

---------

Co-authored-by: jolov <jolov@microsoft.com>
2025-04-08 16:10:59 -07:00
Azure SDK Bot
86245d07e6
Increment package version after release of azure-identity (#6517) 2025-04-08 20:08:17 +00:00
Azure SDK Bot
edc07cca48
Increment version for keyvault releases (#6515)
* Increment package version after release of azure-security-keyvault-keys

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

* Increment package version after release of azure-security-keyvault-certificates
2025-04-08 19:25:27 +00:00
Anton Kolesnyk
e8d34efc67
Update Identity live test (#6516)
* Update Identity live test

* Clang-format

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-04-08 11:55:11 -07:00
Anton Kolesnyk
170660ff80
Identity April GA Release (#6504)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-04-08 10:31:59 -07:00
Azure SDK Bot
65c7ba53c4
Allow eng/ based packages to parse ci.yml (#6514)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-04-08 10:16:38 -07:00
Daniel Jurek
c49375b9d4
Ubuntu 20 -> Ubuntu 22 migration (#6498)
* Remove g++-8, not present in Ubuntu 22

* Update clang-11 job to Ubuntu 22

* Move live testing matrix to Ubuntu 22

* image.yml: Linux Next -> Linux

* "release" differentiator

* LINUXNEXT -> LINUX

* Deduplicate Ubuntu 22 in live matrix

* Trivial change to trigger CI

* Revert "Trivial change to trigger CI"

This reverts commit 72dae1d0cd90435cdad18391a993154a2b32c9e3.
2025-04-08 10:08:05 -07:00
gearama
9b94fc3f72
Kv april releases (#6508)
* april releases

* changelogs

* fds

* fds

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

Co-authored-by: Larry Osterman <LarryOsterman@users.noreply.github.com>

* sadasfsd

---------

Co-authored-by: Larry Osterman <LarryOsterman@users.noreply.github.com>
2025-04-08 09:42:30 -07:00
gearama
020ffec789
Certs update (#6507)
* generate code and build the generated code

* client

* update name

* put back things

* work in progress for get

* get and get version

* das

* issuer ops

* set/get/delete contacts

* backup restore

* Get /update policy

* purge

* get deleted

* Update props

* Merge cert

* import cert

* Create

* Start delete

* Recover

* Delete/Cacel op

* GetCertsProps

* Get versions

* get deleted certs

* getissuers

* some cleanup and tests all working

* samples

* test record

* PR build

* more PR stuffs

* PR update part i lost count

* clang

* Update sdk/keyvault/azure-security-keyvault-certificates/samples/certificate-basic-operations/certificate_basic_operations.cpp

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

* Update sdk/keyvault/azure-security-keyvault-certificates/samples/certificate-get-certificates/certificate_get_certificates.cpp

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

* Update sdk/keyvault/azure-security-keyvault-certificates/samples/certificate-import-certificate/certificate_import_certificate.cpp

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

* Update sdk/keyvault/azure-security-keyvault-certificates/test/ut/certificate_client_base_test.hpp

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

* Update sdk/keyvault/azure-security-keyvault-certificates/test/ut/certificate_client_test.cpp

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

* comments

* explicitly turn off

* friend comments

* clang

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2025-04-07 12:31:45 -07:00
Azure SDK Bot
d6cc3fb2db
Add env var skip for matrix debug. Add acceptance test tag (#6512)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-04-07 12:25:45 -04:00
Azure SDK Bot
dd65910814
Add AdditionalParameters global variable to dynamic post script (#6506)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-04-03 19:00:18 -04:00
Azure SDK Bot
d374747dcc
Sync eng/common directory with azure-sdk-tools for PR 10190 (#6505)
* updating eng/common/testproxy/test-proxy-tool.yml and eng/common/testproxy/test-proxy-standalone-tool.yml to output a bunch of information about what they're actually running for their commands
---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
Co-authored-by: Patrick Hallisey <hallipr@gmail.com>
2025-04-03 15:42:12 -07:00
Azure SDK Bot
292731bd66
Add handling to stress deploy script to tell users when they lack TME group permissions (#6502)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-04-03 17:02:13 -04:00
Sutou Kouhei
6cc8fc195f
Add support for building with ICU 75.1 or later (#6486)
* Add support for building with ICU 75.1 or later

We use ICU via libxml2 implicitly. ICU 75.1 or later require C++17 for
its C++ API:

https://github.com/unicode-org/icu/releases/tag/release-75-1

> C++ code now requires C++17

But we use C++17. So `#include <libxml/xmlreader.h>` with ICU 75.1 or
later causes an error:

    [1/177] Building CXX object sdk/storage/azure-storage-common/CMakeFiles/azure-storage-common.dir/src/xml_wrapper.cpp.o
    FAILED: sdk/storage/azure-storage-common/CMakeFiles/azure-storage-common.dir/src/xml_wrapper.cpp.o
    /bin/c++ -DAZ_RTTI -DBUILD_CURL_HTTP_TRANSPORT_ADAPTER -D_azure_BUILDING_SDK
    -Isdk/storage/azure-storage-common/inc -Isdk/core/azure-core/inc
    -isystem /usr/include/libxml2 -g -std=gnu++14 -fno-operator-names
    -Wold-style-cast -Wall -Wextra -pedantic -Werror -MD
    -MT sdk/storage/azure-storage-common/CMakeFiles/azure-storage-common.dir/src/xml_wrapper.cpp.o
    -MF sdk/storage/azure-storage-common/CMakeFiles/azure-storage-common.dir/src/xml_wrapper.cpp.o.d
    -o sdk/storage/azure-storage-common/CMakeFiles/azure-storage-common.dir/src/xml_wrapper.cpp.o
    -c sdk/storage/azure-storage-common/src/xml_wrapper.cpp
    In file included from /usr/include/unicode/uenum.h:25,
                     from /usr/include/unicode/ucnv.h:52,
                     from /usr/include/libxml2/libxml/encoding.h:31,
                     from /usr/include/libxml2/libxml/parser.h:812,
                     from /usr/include/libxml2/libxml/globals.h:18,
                     from /usr/include/libxml2/libxml/threads.h:35,
                     from /usr/include/libxml2/libxml/xmlmemory.h:218,
                     from /usr/include/libxml2/libxml/tree.h:1307,
                     from /usr/include/libxml2/libxml/xmlreader.h:14,
                     from sdk/storage/azure-storage-common/src/xml_wrapper.cpp:23:
    /usr/include/unicode/localpointer.h:561:26: error: 'auto' parameter not permitted in this context
      561 | template <typename Type, auto closeFunction>
          |                          ^~~~
    /usr/include/unicode/localpointer.h:573:76: error: template argument 2 is invalid
      573 |     explicit LocalOpenPointer(std::unique_ptr<Type, decltype(closeFunction)> &&p)
          |                                                                            ^
    /usr/include/unicode/localpointer.h:583:78: error: template argument 2 is invalid
      583 |     LocalOpenPointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> &&p) {
          |                                                                              ^
    /usr/include/unicode/localpointer.h:599:59: error: template argument 2 is invalid
      599 |     operator std::unique_ptr<Type, decltype(closeFunction)> () && {
          |                                                           ^
    /usr/include/unicode/uenum.h:69:1: note: invalid template non-type parameter
       69 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_close);
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/unicode/ucnv.h:597:1: note: invalid template non-type parameter
      597 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, ucnv_close);
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~

We don't need ICU C++ API. So we can avoid this error by disabling ICU
C++ API by defining `U_SHOW_CPLUSPLUS_API` as `0`.

* Update CHANGELOG
2025-04-02 16:08:40 -07:00
Azure SDK Bot
da54173ead
Fix error in APIView Helper (#6503)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-04-02 15:32:26 -07:00
Azure SDK Bot
d4a6cb30ec
Sync eng/common directory with azure-sdk-tools for PR 10038 (#6494)
* add a category to parse triggerPaths when there is no artifact present (this is the go use-case)
* add integration tests for Save-Package-Properties scenarios
* bugfixes around various situations in new PackageProps class

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-04-01 15:36:40 -07:00
Azure SDK Bot
a9d94e3084
Update APIView Helpers (#6500)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2025-04-01 15:00:01 -07:00
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
gearama
9ac4ae9002
Temporary fix for the live pipeline (#6496)
* take out expects till we fix the TME thing

* clang
2025-03-31 15:43:20 -07:00
gearama
da1f4c399f
Keys update (#6491)
* Generate files

* GetKey done

* Creates done

* GetDeletedKey

* StartDeleteKey

* StartRecoverDeleted

* backup/restore

* purge/rotate

* import

* update properties

* get/update rotation policy

* release key

* GetProps of keys

* GetVersions

* GetDeletedKeys

* remove test used for test

* cleanup tests

* remove some methods

* tests

* PR pipeline

* more PR

* fsdfs

* clang

* update to hsm

* PR comments

* PR

* rwe

* Rerecord for HSM and fix get

* gdf
2025-03-31 11:16:41 -07:00
Anton Kolesnyk
eaae21410c
Update Identity root README to align with the common format (#6493)
* Update Identity root README to align with the common format

* Update vcpkg link identifier in README

* Remove vcpkg installation instructions from README

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-03-31 09:54:19 -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
Larry Osterman
5652d3aecc
GeoDR preparation - EventHubs Offset is a string, not an integer encoded as a string (#6461)
* GeoDR preparation - EventHubs Offset is a string, not an integer encoded as a string

* clang-format
2025-03-27 12:28:15 -07:00
microzchang
ccd7e6b55e
Fix unstable test cases (#6485) 2025-03-27 09:53:29 -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
e05a88682d
regen into generated folder (#6472)
* secrets regen into magic folder

* AZURE to AZ

* missed

* drop namespaces
2025-03-17 13:34:47 -07:00