Commit Graph

92 Commits

Author SHA1 Message Date
Daniel Jurek
20ee0acdf5
learn.microsoft.com docs onboarding engsys (#6818)
* Add metadata fetching

* Update docindex.yml to use new params and variables

* Add onboarding logic and update .gitignore to allow eng/scripts/docs edits

* Test: point to different branch

* Skip onboarding legacy moniker

* Add docs to release process

* REVERT: Test eng/common changes to Update-DocsMsPackages.ps1

* Remove nightly branch work, those require hosted docs

* Make CHANGELOG.md comply with rules

* Fix relevant spelling issues

* TEST: Add GitHub token

* Branch

* push branch

* Set DefinitionId

* Test branch

* Token

* Remove unnecessary condition

* Commitish

* Specify monikers

* Revert test-related changes
2025-12-02 13:26:51 -08:00
Daniel Jurek
9023c03ee8
Use vcpkg supplied by eng/common (#6771)
* Use vcpkg supplied by eng/common

* /

* Remove Set-VcpkgWriteModeCache.ps1 in favor of eng/common version

* Use vcpkg versions from https://github.com/Azure/azure-sdk-for-cpp/pull/6756/files
2025-10-16 09:51:40 -07:00
gearama
125c305961
Keyvault Secrets remake (#6463)
* first stab at a client tsp /tspconfig scripts

* space

* updates to clientTSP

* update for latest specs for KV

* gfd

* gfd

* hghf

* dfgdf

* jhg

* oopsie

* comments

* headers

* clang & param

* coverage

* more comments not gened

* spell

* more comments

* regen for testing

* gfd

* gdf

* tretre

* update to use tsp client

* vcxvx

* fdsfsd

* fds

* round 2

* api view

* dsa

* rte

* update to use code injection

* clang and comments

* gfd

* updates

* clang

* fsd

* spell

* comments

* some cleanup

* first test passing

* dsa

* second test

* startdeletesecret

* update secret ptoeprties

* recover secret

* cleanup clang

* docs

* update recordings and clean up tests

* ggfd

* ooops

* samples build

* gdf

* samples run

* perf tests

* CLANG

* fds

* CLAAAAAAAAANG

* update to latest version of the TSPs

* update to latest codegen

* gdfgdf

* replace method

* client and stuffs

* PR comments

* remove security from path

* clang

* qfe

* gdf

* update to models and to the lastest codegen

* forgot cmake file

* Update sdk/keyvault/azure-security-keyvault-secrets/samples/sample1-basic-operations/sample1_basic_operations.cpp

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

* test api view

* dfsfsd

* ccxcvx

* step1

* delete, and lor and paged

* all work

* works and serializers and test for them gone

* cleanup test files

* sample

* tests passing

* dfsfsd

* latest codegen

* after merge

* fsd

* gfd

* gfd

* ApiView

* move to _details namespace

* put back readme

* update readmes

* clang

* dfsd

* get rid of snippets, validation fails without explanation as to what the failure is

* update locations of methods tp cpp files

* format files

* cover

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2025-03-14 13:46:49 -07:00
Wes Haggard
32b732cb78
Move vcpkg cache to azuresdkartifacts (#6348) 2025-01-15 11:40:42 -08:00
gearama
4d51e6bc9a
first stab at a client tsp /tspconfig scripts (#6101)
* first stab at a client tsp /tspconfig scripts

* space
2024-10-16 13:11:50 -07:00
gearama
0ec700a819
Kv tsp secrets2 (#6094)
* compact the macros
copy generated files

* some comments

* Cleanup and update to the latest SHAs

* sdffds

* working hybrid

* cleanup

* clang

* Update cmake-modules/TSPCompile.cmake

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

---------

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2024-10-15 12:13:49 -07:00
Albert Cheng
9f2b00be2b
[apiview] adding pr support (#5932)
* add detect api changes

* add detect api changes

* trigger test pipeline

* adding cpp.json ref

* yml syntax

* move partial script below artifact publish

* renaming + trimming down

* download parser

* download parser

* download parser

* fix parser download

* update to parser 2.0

* update to parser 2.1

* update parser version

* trigger pipeline

* trigger pipeline

* download ste7p testing

* download ste7p testing

* download ste7p testing

* download parser from blob

* download parser from blob

* download parser from blob

* download parser from blob

* cspell

* download parser from blob

* download parser from blob

* directory change for get artifacts

* directory change for get artifacts

* publish packageinfo artifact

* publish packageinfo artifact

* publish packageinfo artifact

* debug

* debug

* artifact name

* artifact name

* artifact name

* artifact name

* api file

* delete job

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* dupe package json

* dupe package json

* codefile

* codefile

* codefile

* codefile

* codefile

* test in staging

* cleanup

* use api parser 0.15.0

* ignore unfound package for apiview artifacts

* pr adjustments

* pr adjustments

* pr adjustments

* latest version update

* update latest parser version

* add api parser version

* Update sdk/template/azure-template/src/template_client.cpp

* add template testing for api changes

* add template testing for api changes

* out path change

* out path change

* delete parser path

* delete parser path

* move save package properties out of artifacts loop

* Update sdk/template/azure-template/src/template_client.cpp

* Update sdk/template/azure-template/src/private/package_version.hpp

* Update sdk/template/azure-template/inc/azure/template/template_client.hpp
2024-10-04 13:17:45 -07:00
Ahson Khan
aa728eed6d
Use code snippets from managed identity credential samples in identity readme doc and fix minor generation issues (#6020)
* Use code snippets from managed identity credential samples in identity readme doc.

* Generate readme from snippets.

* Update snippet generation script to remove unnecessary indentation and extra new line at eof.

* Update Snippet Generation doc to show a concrete example on how to run it.

* Update other repo READMEs with the generation fixes.

* Fix KeyVault Secrets sample and use the snippets in its README

* Use the added sample snippet.
2024-09-25 16:56:57 -07:00
Wes Haggard
658c1f317b
Don't warn on folders that aren't actually packages (#5974) 2024-09-12 22:45:41 +00:00
Wes Haggard
10025fd2a2
Fix vcpkg cache (#5963) 2024-09-06 09:57:58 -07:00
Wes Haggard
11a61fa980
Switch to User Delegate SAS for vcpkg caching (#5950) 2024-08-30 10:33:47 -07: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
Wes Haggard
7dedba1a4f
Update to use opensource api token (#5668) 2024-05-29 13:08:26 -07:00
Daniel Jurek
caa3010ece
Harden Show-FailureLogs.ps1 against failures where the files are not present between Get-ChildItem and the output of the file (#5454)
* Harden Show-FailureLogs.ps1 against failures where the files are not present between Get-ChildItem and the output of the file

* Also log .FullName
2024-05-06 22:44:34 +00:00
Daniel Jurek
df8c4d4b2c
Use Azure federated auth (#5599) 2024-05-06 15:15:21 -07:00
Anton Kolesnyk
6ded663ff6
Fix REF replacement in vcpkg daily runs (#5529)
I could've fixed the quote characters alone, but I think it is better to just capture everything, this way it is compatible with both `REF azure-core_1234` and `REF "azure-core_1234"`, as well as `REF foo`.
2024-04-15 10:53:58 -07:00
WangWeiLin-MV
e148d89745
Update sdk vcpkg portfile with VERSION and HEAD_REF (#5516)
* Update vcpkg portfile.cmake of sdk to add parameter HEAD_REF

* Update vcpkg portfile.cmake of sdk to use variable VERSION

* Update eng\scripts\Initialize-VcpkgRelease.ps1 regex for quoted REF

* Re-trigger CI

* Revert unnecessary change

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-04-12 10:25:19 -07:00
Larry Osterman
1c304d60d4
Updated ApiView tool to version 0.13.0 (#5498) 2024-04-09 10:02:14 -07:00
Praven Kuttappan
8891f9511e
Update pipeline step to remove deprecated params in API view script (#5458)
* Update pipeline step to remove deprecated params in API view script
2024-03-19 17:16:13 -04:00
Scott Beddall
3658df22db
1ES Template Refactor (#5441)
* All eng/ folder changes necessary to enable 1es-templates for the azure-sdk-for-cpp
* Includes updates to all ci.yml files to reflect new syntax requirements from 1es-template changes to archetype-sdk-client
2024-03-12 15:20:45 -07:00
Anton Kolesnyk
39392a8181
Publishing to vcpkg-betas syncs vcpkg baseline to our repo (#5330)
* Publishing to vcpkg-betas syncs vcpkg baseline to our repo

* PR Feedback

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-15 16:31:00 -08:00
Anton Kolesnyk
0f7d02b999
Fix case-sensitive spelling in non-common /eng (#5346)
* PR Feedback

* Remove unnecessary instance

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-12 14:19:59 -08:00
Daniel Jurek
ce4f25da23
Upload logs on cmake generate/build failure (#5293)
* Upload logs on cmake generate/build failure

* Copy relevant files to staging location, clean up after publishing

* Update cspell words

* Test: break cmake generate in a way that'll produce SOME log files.

* Revert "Test: break cmake generate in a way that'll produce SOME log files."

This reverts commit d5a300587b3359ed3f2bf7be5abea40868f958a7.

* Show failure logs instead of uploading artifacts. Only show log files for vcpkg at this time

* Reapply "Test: break cmake generate in a way that'll produce SOME log files."

This reverts commit 582629ad587f3c9b652ac1f8a7eda5e12d46843a.

* Revert "Reapply "Test: break cmake generate in a way that'll produce SOME log files.""

This reverts commit 7a35250c7e598fc6e1c060f896cbc952704e40bf.

* Another type of test

* Revert inadvertent whitespace changes

* Revert "Another type of test"

This reverts commit e38013f95b152e4e2a3b9d27ccf1eb9b63fa1817.

* More logging
2024-02-07 06:36:36 +00:00
Anton Kolesnyk
5a70fcabce
Workaround for vcpkg-tool regression bug (#5328)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-06 14:12:06 -08:00
Daniel Jurek
7c751a503b
Domain-specific changes to fix docindex (#5319)
* Add domains-specific changes needed for updated Generate-DocIndex.ps1 to work

* Spelling
2024-02-05 16:28:38 -08:00
Larry Osterman
faeb832f8a
Initial cut at snippet generation tool. Also updated KeyVault Secrets readme to use snippets as a working proof of concept. (#5213)
* First cut at snippet generation - markdown files only for now.

* Removed trailing blank lines in updated file

* Use snippet generator for keyvault snippets
2023-11-30 19:40:30 +00:00
Daniel Jurek
25a96f1322
Fix SAS token generation (#5215)
* Fix token generation

* Ordering of steps

* Demonstrate proper redaction

* Revert "Demonstrate proper redaction"

This reverts commit 1e67e0ac3a67c857c5ea0df6abfae89e4a94b63e.

* Spelling
2023-11-30 11:27:26 -08:00
Larry Osterman
590502c92e
Added Powershell script to auto-generate the merged headers for a client SDK (#5078)
* Added Powershell script to auto-generate the merged headers for a client SDK

* Removed tracing unified header
2023-10-27 13:37:54 -07:00
Anton Kolesnyk
a12232d200
Drop Get-ApiViewCommandLine.ps1 (a script that was used for the old ApiView process) (#5074)
* Drop Get-ApiViewCommandLine.ps1

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-10-26 17:30:01 -07:00
Daniel Jurek
f0a379bf21
Do not log email address (#5037) 2023-10-13 11:21:33 -07:00
Daniel Jurek
f437eb0f23
Temporary: Fix vcpkg PR notification logic (#5015)
* Fix vcpkg PR notification logic

* Clean up fallback accounts, fix cspell errors

* Use environment variable for EmailAddress (no logging)
2023-10-12 11:49:30 -07:00
Daniel Jurek
04409f28df
Add X_VCPKG_ASSET_SOURCES to vcpkg cache configuration (#4824)
* Add X_VCPKG_ASSET_SOURCES to vcpkg cache configuration

* Prefix with quesiton mark

* Remove question mark

* add --debug

* /,?

* x-azurl

* Remove --debug

* Test no binary cache

* Clear

* Ensure ending of X_VCPKG_ASSET_SOURCES

* Include secrets

* Undo some investigation

* + _SECRET

* Revert testing-related changes
2023-09-19 18:54:20 +00:00
Larry Osterman
a627ab3f22
Initial creation of EventHubs service by @gearama (#4755) 2023-07-13 12:39:18 -07:00
Anton Kolesnyk
b1af5282fb
Vcpkg beta release automation: update to the new requirements (#4766)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-06 18:29:28 -07:00
Konrad Jamrozik
00b38d6b9f
fix Get-BinarySizes.ps1 to handle new OsVMImage names for Ubuntu (#4562) 2023-04-20 10:28:43 -07:00
Daniel Jurek
02bb09aac1
Add support for Ubuntu 22 to Get-BinarySzies.ps1 (#4511) 2023-04-03 14:47:38 -07:00
Daniel Jurek
50589d65b5
Always release to vcpkg when doing Daily Release (#4334)
* Always release to vcpkg when doing Daily Release

* Add ability to skip live tests via variable

* Use 1ES agents instead of Azure Pipelines
2023-03-06 11:47:15 -08:00
Praven Kuttappan
7da07d5072
Generate API review for C++ using new parser (#4302) 2023-02-21 17:35:41 -05:00
Konrad Jamrozik
971d20be3e
Where applicable, update Windows pools used to azsdk-pool-mms-win-2022-general and rename vmImage to the windows-20xx format (#4360) 2023-02-16 19:02:10 -08:00
George Arama
3762c59552
Test proxy start (#4295)
* lll

* sss

* oipio

* vcvc

* enable test proxy start at test suite start for KV and storage , example created for attestation, we cannot find the base definitions for the test suites,

* Contrib

* clangs

* clangs

* test logs

* pipeline

* more clangs

* pipeline

* clang

* try try again

* try try again

* try again

* try again

* again

* update paths , moved to macro , call macro in target code

* core

* capitalization
2023-02-07 10:52:20 -08:00
George Arama
cad042256b
proper regex for win 2022 (#4339) 2023-02-03 14:46:35 -08:00
Daniel Jurek
8891d30f4e
Use Azure Pipelines and workaround for WSL installation (#4215)
* Use Azure Pipelines and workaround for WSL installation
2023-01-03 10:35:01 -08:00
Azure SDK Bot
fa6ebb26b7
Migrate from win2019 to win2022 (#4157) 2022-12-22 10:12:28 -08:00
George Arama
ef4d41267f
Test proxy (#4118)
* start

* recording

* playback

* refactor, playback and record

* recordings for kv

* klklk

* open telemetry, identity

* attest

* all tests recorded except storage

* STORAGE RECORDINGDS

* some cleanup

* ignore result

* testproxy remade

* fiiine , do something with the result , goooosh

* install test proxy

* clang

* clang

* certs maybe

* cmake generate fix,

* start test proxy script

* start test proxy on env

* clang, move TP after build

* reregen

* certs

* sda

* dss

* allow insecure connections

* put back

* debug

* iuy

* try again

* ewew

* chmod

* try again

* update sanitizer

* output testproxy log

* sjhgasjgdajh

* folder

* worxy

* fix tests and log file

* format files

* clang format

* clang

* sa

* sa

* cleanup

* cspell

* oops

* remove redundant method

* tests

* put back original

* restore to 933486385a

* recordings

* remove storage values

* storage recordings

* disable non functioning tests

* remove core install of test proxy

* _LIVEONLY_ tests

* clang install when needed

* logs on condition

* skip tests

* revert cpp to original version

* quick test

* right that one

* one skip

* identity pushed

* maybe

* override

* clang

* clang

* attestetion

* keyvault

* reenable 20+ tests

* 5 tests left , lease related

* a bit of cleanup

* try now

* snitizers

* some fixes

* capitalization

* clang , cover, peakA

* WEIRD NAME THING ON WINDOWS

* storage recordings

* one more livee

* createappenddelete_liveonly

* CreateWithTags_LIVEONLY_

* try capitalization

* another onw

* maybe now

* all liveonly

* try restore before test

* typo

* condition

* clang and cc

* azure core ci

* qwqwq

* dsasdas

* cleanup1

* typo

* spaces

* cleanup2

* cleanup 3

* remove start proxy

* cleanup +1

* Update cmake-modules/TestProxyPrep.cmake

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

* Update eng/scripts/Start-TestProxy.ps1

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

* Update eng/scripts/Stop-TestProxy.ps1

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

* PR comments

* clangs

* Update sdk/core/azure-core-test/src/test_proxy_policy.cpp

* build

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2022-12-13 10:58:19 -08:00
Larry Osterman
bb95a22e3f
Added the ability to select OpenSSL 1.1.1n if desired. (#4045)
* Added ability to switch to OpenSSL 1.1.1n

* Fixed OpenSSL compilation challenges - the CRL stuff works now

* Added instructions on using OpenSSL 1.1.1 to README

* Added vcpkg args to handle openssl variants
2022-10-28 15:57:51 -07:00
Larry Osterman
53c9da1552
Pull all Websockets changes to main except for WebSockets itself. (#3954)
* Pulled WebSocket fixes into main except for WebSockets functionality


Co-authored-by: Rick Winter <rick.winter@microsoft.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: George Arama <50641385+gearama@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-10-04 14:58:56 -07:00
Larry Osterman
f8c41df5a2
Simpler get-binarysizes check for OSX (#3901)
* Simpler get-binarysizes check for OSX

* Missed wildcard
2022-08-24 15:22:05 -07:00
Larry Osterman
634df137e3
Fixed #3899 - Handle new OSX version correctly; reformatted platform-matrix JSON files (#3900) 2022-08-24 21:22:53 +00:00
Anton Kolesnyk
ee36dd3abb
OpenTelemetry ApiView fix (#3784) 2022-06-30 21:19:11 +00:00
Ben Broderick Phillips
1715a288d3
Add auto apiview review creation (#3763)
* Add create api auto review step

* Continue on api view upload failure

* Add comment explaining ast generation in api view script
2022-06-28 15:54:51 -04:00