Commit Graph

212 Commits

Author SHA1 Message Date
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
Larry Osterman
dd012fe95d
Define AZURE_CLIENT_ID for live tests in CI (#5431)
* Define AZURE_CLIENT_ID for live tests in CI
2024-03-08 15:59:09 -08:00
Larry Osterman
c707769604
Updated tests to support -UserAuth test resources switch to enable non-corpnet access. (#5387)
* Updated tests to support -UserAuth test resources switch to enable non-corpnet access.

* Try setting sample environment variables in sample script pipeline
2024-02-28 01:36:54 +00:00
George Arama
8ef815dc6a
Install test proxy and enable all tests (#5365)
* mroe quotes

* dssf

* compact the tests in the proper folder

* 2 more tests

* eqwq

* enabled all except http

* endline

* fhg

* oops

* new teests

* update

* update defaults

* hdg
2024-02-21 10:58:35 -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
84c4812d98
Re-enable UWP CI pipeline (#5226)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-01-17 10:41:20 -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
Anton Kolesnyk
8b766e3728
Temporarily disable UWP CI (#5181)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-27 12:24:41 -08:00
Larry Osterman
3fb8c2c68b
Updated ApiView processor tool (#5167) 2023-11-14 14:16:02 -08:00
Larry Osterman
2337ee796e
Split out curl and winhttp testing on WS2022 to work around CURL bias in test proxy tests (#5071)
* Split out curl an winhttp testing on WS2022 to work around CURL bias in test proxy tests

* Minor change to storage to trigger CI pipeline

* On testing builds, send a 0 length Content-Length header on Patch verbs if the caller has not provided a Content-Length header.

* Update sdk/core/azure-core/inc/azure/core/http/http.hpp

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

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-10-27 09:16:46 -07:00
Larry Osterman
51c8955d85
Vendor AMQP at commit 52942afb1a4b48a1d8af7a3ac37d3211661e3423 (#5049)
* Vendored version of uamqp

* Exclude vendored modules from cspell

* Code coverage

* Code coverage improvements

* Removed more coverage exclusions
2023-10-25 11:19:20 -07:00
Larry Osterman
490250646f
Reworked TLS 1.3 change; add WS2019 test coverage (#5051)
* Reworked TLS 1.3 change; add WS2019 test coverage

* Enable static MSVC lib support on WS2019

* Fall back to TLS 1.2 if TLS 1.3 doesn't work
2023-10-24 22:55:40 +00:00
Larry Osterman
fbec02365b
clang-13 version of cstdlib doesn't define integer types in global na… (#5031)
* clang-13 version of cstdlib doesn't define integer types in global namespace

* Added clang-13 and clang-15 variants to mix

* Pull request feedback

* Update sdk/core/azure-core/inc/azure/core/uuid.hpp

* Update sdk/core/azure-core/inc/azure/core/base64.hpp

---------

Co-authored-by: Larry Osterman <larryo@LOTHAIR-HOME.ntdev.corp.microsoft.com>
2023-10-17 18:55:54 +00: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
Larry Osterman
716129f5c0
Check for long filenames in CI pipeline (#5027)
* Check for long filenames in CI pipeline

* Base Path Length == 75 to account for visual studio defaults
2023-10-12 17:29:39 +00:00
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