Commit Graph

187 Commits

Author SHA1 Message Date
Larry Osterman
336c8c02fb
Removed storage dependency from eventhubs (#4954)
* Removed storage dependency from eventhubs

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-09-22 08:06:58 -07:00
Daniel Jurek
c9ae5632e3
vcpkg asset cache configuration forward slash (#4972) 2023-09-20 09:17:59 -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
526143d69d
Updated ApiView tool to version 0.10.0 (#4959) 2023-09-15 16:51:43 -07:00
Larry Osterman
96c34cb5f4
Undo last commit (#4853) 2023-08-07 17:31:13 +00:00
Larry Osterman
47d162341a
Use newest API View tool (#4847) 2023-08-06 11:48:53 -07:00
Larry Osterman
d1192ee072
Check links in generated documentation (#4762)
* Check links in generated documentation

* Another try after talking to Daniel

* More doxygen checks 3

* Disable link guidance because it blocks relative URLs
2023-07-17 16:05:45 -07:00
Larry Osterman
a627ab3f22
Initial creation of EventHubs service by @gearama (#4755) 2023-07-13 12:39:18 -07:00
Larry Osterman
fba91e34c9
Enabled doxygen validation in CI pipeline. (#4715)
* doxygen fixes

* enable doxygen errors now that doxygen is updated.

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2023-06-22 18:26:07 -07:00
Daniel Jurek
df2fdba718
Upgrade Doxygen (#4724)
* Upgrade Doxygen to 1.9.7 including template and version selector

* Style and logo changes

* Add README.md for docs templates

* Tabs to spaces

* Show installed doxygen version

* choco list

* "choco" is a word

* Choco list

* Require Doxygen 1.9.7

* Revert "Choco list"

This reverts commit 4d283088771874053f5691d2d464c592dae263a8.

* Revert ""choco" is a word"

This reverts commit 3233cfde8676313efbec23b5a278c8c6b148ac24.

* Revert "choco list"

This reverts commit 107499ba7486bdca7dbbedb8ad9dbb0a683ed2ba.

* Review feedback: Use storage account

* Update README.md
2023-06-22 22:58:56 +00:00
Scott Kurtzeborn
ad984535e1
Create a CodeQL job for C++ pipelines (#4566)
* Enable CodeQL

* No jobs, so CodeQL not being injected

* trying something else

* forgot a file

* Update eng/pipelines/templates/jobs/ci.tests.yml

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-06-22 15:57:02 -07:00
Daniel Jurek
b89e2f79d0
Fix SBOM behavior on forks (#4686)
* Use a YAML template for inserting sbom steps

* Review feedback: naming

* Tab

* Ensure SBOM path exists
2023-06-02 23:07:22 +00:00
Wes Haggard
787af62286
Remove auto-merge label usage (#4679) 2023-05-31 11:56:14 -07:00
Daniel Jurek
28d5697134
Add retryCountOnTaskFailure (#4635) 2023-05-16 10:15:14 -07:00
Larry Osterman
9b44a9913b
Only check links in changed files (for PR builds) or the service directory (for release builds) (#4621)
* Only check links in changed files (for PR builds) or the service directory (for release builds)

* Fixed link detection for CheckLinkGuidance
2023-05-15 13:47:39 -07:00
Daniel Jurek
c12aafebea
Also skip downloading API Review artifact if it is not used (#4619) 2023-05-09 15:14:50 +00:00
Praven Kuttappan
d8ae044434
Fail C++ CI and release pipeline if API review is not approved for a GA package (#4588) 2023-04-27 21:34:56 -04:00
Daniel Jurek
ea2d5e00ac
Move GenerateReleaseArtifacts to PrePublishBuild (#4578) 2023-04-25 09:58:55 -07:00
Daniel Jurek
1ae675a1bb
Always release to vcpkg daily branch (#4522)
* Always release to vcpkg daily branch
* Release should also depend on PrePublishBuild
2023-04-17 15:43:36 -07:00
Larry Osterman
779c268a7f
Use new ApiView parser (#4521) 2023-04-06 02:27:10 +00:00
Daniel Jurek
c2e845266b
Migrate Ubuntu 18 to 22 directly in the matricses (#4442)
* First cut at migrating Ubuntu 18 to 22 directly in the matricses

* Try 20.04

* Remove azure.list from apt configuration on 22.04

* Parens

* gpp-8 on Ubuntu 20.04

* Remove g++-5

* Move config changes to steps/

* Remove g++-5 from live tests

* Update eng/pipelines/templates/steps/fix-linux-1es-configs.yml

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>

* Review feedback

* Finish renaming

* Setting line coverage target to 91%

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-03-31 12:07:25 -07:00
Azure SDK Bot
6999572809
Sync eng/common directory with azure-sdk-tools for PR 5608 (#4411)
* ongoing

* Move get-codeowners scripts and tests to their own dirs

* address PR remarks

* Fix CodeOwnerFileLocation path, fix casing, and dedup param defaults

* fix param names

* add todos on needed changes in cpp repo

* Add CodeownersFileLocation to Get-Codeowners and use $null for default param values

* move get-codeowners back to scripts/ and rename -functions to .lib

* fix: use empty string as defaults instead of $nulls, to fix invocation

* fix bug with invocation of Get-Codeowners + add support for passing IncludeNonUserAliases as switch

* fix path iin Metadata-Helpers.ps1

* fix typo

* Update archetype-cpp-release.yml

---------

Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-03-30 23:55:52 -07:00
Ahson Khan
cef3d3144b
Temporarily update platform-matrix.json to remove openssl_111n configuration (#4493) 2023-03-30 11:58:58 -07:00
George Arama
5e91f5584e
Enable profiling in perf piplines. (#4398)
* profiling

* dsadsada

* Update eng/pipelines/templates/jobs/perf.yml

Co-authored-by: Mike Harder <mharder@microsoft.com>

---------

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-03-08 12:28:13 -08:00
Larry Osterman
d8f6aa9d27
First cut at removing proxy tests (#4416)
* FIrst cut at removing proxy tests

Changed the proxy tests from opt-out to opt-in so they're disabled by default. Removed lines enabling proxy from ci.yml file.
2023-03-07 23:46:25 +00: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
Mike Harder
fd1695ebba
[Perf] Refactor tests.yml into one file per package per language (#4270) 2023-02-09 21:18:03 -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
Daniel Jurek
72f8721e26
Add credscan to GenerateReleaseArtifacts (#4328)
* Add credscan to GenerateReleaseArtifacts

* trigger pipelines

* try again

* tryyrt

* s

* revert changes that trigger pipelines

* remove empty lines

---------

Co-authored-by: George Arama <50641385+gearama@users.noreply.github.com>
2023-02-02 13:28:11 -08:00
Azure SDK Bot
a3e9ad1d2c
Sync eng/common directory with azure-sdk-tools for PR 5224 (#4274)
* feature/upload-proxy-artifact

* update template to ensure that having the file in use on windows doesn't break the build

* incoming PR fixes where test-proxy stores its log. as as result, we also need to update the location of where we read out the test-proxy log

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2023-01-26 16:47:47 -08:00
Ahson Khan
876a7baaa5
Add CI pipeline step and script that validates all files in the repo contain ASCII-only bytes and no UTF-8 BOM (#4134)
* Add CI pipeline step and script that validates all files in the repo contain ASCII-only bytes and no UTF-8 BOM

* Update platform-matrix.json to turn on CHECK_ASCII_CHARACTERS

* Fix missing comma in json.

* Update indentation in the ci.test.yml for the bash script

* Exclude the .github folder and test recording json files.

* Remove "recordings" exclusion since it doesn't exist anymore.

* Fixed UTF-8 with BOM and other non-ASCII character issues within the
files in the repo.

* Exclude nlohmann json tests from ASCII validation check.

* Log an intro to the CI console for the validation step.

* Remove codecoverage.cmake exclusion.

* Remove exclusion for docs and tools directories.
2023-01-25 17:33:26 -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
7a39344c3b
exclude template from test proxy (#4189)
* exclude template from test proxy

* exclute testproxy log also
2022-12-13 18:57:59 -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
George Arama
1da78ce13e
Gtest timeout fix (#4078)
* PT1

* typo

* timeout

* gtest_1.12.1

* cspell isnore cmakelistst , it seem to freeze when checking these files

* timeout for cmake generate

* timeout for cmake generate p2

* timeout for cmake generate p3

* timeout for cmake generate p4

* timeout for cmake generate p5

* PR

* node 18

* nppm

* npm

* bug in cspell, freezed on txt files

* AntonComment extra space

* cspell
2022-11-02 15:46:38 -07: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
George Arama
fc50c08b20
Storageblob (#4043)
* first take

* grrrrr

* qwqwq

* ewqw

* eewew

* put back

* pipeline

* Set read-only VCPKG_BINARY_SOURCES_SECRET

* Pass InstallLanguageSteps through the perf template

* blop pipeline

* path

* ';l'l;

* add support for sync param

* --sync flag support

* typo

* sync

* sync to y

* for PR

* clang

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2022-10-21 09:36:49 -07:00
George Arama
6fc0ba7d72
Core test (#4006)
* core tests

* clang

* vcpkg test

* dswsw

* first take on the vcpkg

* vcpkg

* get vcpkg version

* fix cmake

* separators

* vcpkg

* vcpkg

* test1

* disable verify agent od

* put back verify

* put back yml
2022-10-13 17:26:14 -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
Ben Broderick Phillips
c194034093
Build subscription configuration from cloud config values (#3976) 2022-09-30 18:03:18 -04:00
George Arama
c8d79610e0
Pipeline core (#3953)
* test1

* glob

* quick cleanup

* ddasda

* ddsa

* envs

* dsds

* Revert "ddsa"

This reverts commit 6d9e385284ba37736fb5bc41e56065943abd7937.

* wq

* comment out issues

* valid test

* maybe

* qwewqewq

* lang steps

* Vcpkg pre-steps in the place Daniel should've recommend they go

* RepoOwner

* Correct repo owner name

* Remove vcpkg.yml (we don't need to write)

* PR trigger

* small change

* Update eng/pipelines/templates/jobs/perf.yml

Co-authored-by: Mike Harder <mharder@microsoft.com>

* Update eng/pipelines/templates/jobs/perf.yml

Co-authored-by: Mike Harder <mharder@microsoft.com>

* Update sdk/core/perf.yml

Co-authored-by: Mike Harder <mharder@microsoft.com>

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Mike Harder <mharder@microsoft.com>
2022-09-26 17:34:11 +00:00
Daniel Jurek
92957377fc
Set VCPKG_ROOT (#3938)
* Set VCPKG_ROOT

* Update eng/pipelines/templates/steps/vcpkg-clone.yml

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-09-20 17:20:06 +00: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
Jonathan Cárdenas
bf65862942
CG only runs on internal (#3866)
* Condition added and indentation changes
2022-08-04 22:45:26 -07:00
Sima Zhu
9843c71d77
Bump macOs version to macos-11 (#3853) 2022-07-28 04:57:20 +00:00
Daniel Jurek
6c74e576f2
Fix incorrect failure notification in vcpkg publishing (#3838)
* Set up for testing of template pipeline

* Override branches, set up for template GA release

* More TODOs to prevent merging an unintended change

* More removal of TestPipeline

* Increment template version number

* Use script to set package version

* Check out the correct branch

* branch parameter in the command

* Use $(PublishToVcpkg) to determine if we should check for changes

* dictionary syntax

* Set GA package version to validate GA publish scenario

* Update changelog

* create-pull-request.yml optionally pushes changes

* Output GH PR URI

* Macro syntax with a variable set earlier

* Move up to 1.2.0-beta.2

* beta.1

* Revert changelog

* Revert testing-related changes

* Revert vcpkg-clone.yml

* Revert eng/common changes, ensure global $(HasChanges) is set properly

* Changes to enable testing

* 1.1.0-beta.1

* vcpkg clone should clone at configured branch

* Clone "main" branch of vcpkg betas

* Undo test-specific changes

* More PR cleanup

* PR cleanup
2022-07-21 19:02:53 +00:00
Ben Broderick Phillips
623f86b48e
Revert "Override live test location default to westus (#3696)" (#3811)
This reverts commit d4192609d5.
2022-07-11 19:04:08 -04:00