Commit Graph

271 Commits

Author SHA1 Message Date
Daniel Jurek
6f3ee2ab6a
Djurek/cleanup vm image (#6360)
* Remove vmImage from daily-verification.yml

* (test) Disable PR creation to validate change

* Revert "(test) Disable PR creation to validate change"

This reverts commit fc8343097ef11e4c78dfc6431c6ca35a79dded86.
2025-01-20 09:52:48 -08:00
Ben Broderick Phillips
bfba762f14
Remove sovereign cloud testing references (#6355) 2025-01-17 09:06:43 -05:00
Wes Haggard
32b732cb78
Move vcpkg cache to azuresdkartifacts (#6348) 2025-01-15 11:40:42 -08:00
gearama
8839b4bbf3
Add Versions of various tools (#6313)
* try1

* xcode

* ddgf

* gfd

* gfdd

* clang

* cspell

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

Co-authored-by: Daniel Jurek <djurek@microsoft.com>

* update vcpkg version after install

* tabs

* sfds

* fsd

* gdf

* gdf

* dfs

* fsd

* hfg

* fds

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2025-01-09 12:59:46 -08:00
Wes Haggard
461894d526
Update location for doxygen tool (#6319)
Also update the location of the apiview parser
2025-01-08 12:58:18 -08:00
gearama
3b81c2b009
Enable code AN in CI (#6315) 2024-12-30 15:32:10 -08:00
Daniel Jurek
551b673bca
docs.microsoft.com -> learn.microsoft.com in eng/ (#6278) 2024-12-05 13:29:38 -08:00
Ahson Khan
d46cdad67f
Add project skeleton and check-in snapshot of generated SDK for Azure App Configuration. (#6176)
* Add project skeleton and check-in snapshot of generated SDK for Azure App Configuration.

* Add new line at eof

* Add exclusion to the cspell issue.

* Explicitly use size_t instead of auto for iterating through a vector

* Add another cspell exclusion, since it is case-sensitive

* Address PR feedback, update CL, package version.

* Update readme to remove template project content.

* Exclude appconfig from recordings, since none exist atm.

* Temporarily exclude appconfiguration from docs generation.

* Add line/branch coverage thresholds and skip publishing docs if they don't exist.
2024-11-08 12:28:18 -08:00
Wes Haggard
e2e59ea1f0
Switch to TME test subscription (#6093) 2024-10-14 11:05:46 -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
Ben Broderick Phillips
02e54b9ee3
Default to sub config file paths/svc connection for public + sovereign live tests (#5845) 2024-10-02 16:45:23 -04:00
Anton Kolesnyk
b550ecc46d
CI: mac: update xcode version (#6055)
* CI: mac: update xcode version

* Use xcode 15.4

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-10-01 18:40:43 -07:00
Ahson Khan
610c85d768
Disable static analysis for live test pipelines. (#6024)
* Disable static analysis for live test pipelines.

* Remove the AZURE_ENABLE_STATIC_ANALYSIS env var definition.
2024-09-23 22:36:18 +00:00
Wes Haggard
9789d540e8
Revert "Pin windows image version (#5995)" (#6010)
This reverts commit ea00a69e04.
2024-09-23 11:02:00 -07:00
Wes Haggard
6aee9b2702
Revert "Update PublishCodeCoverateResults task (#5972)" (#6009)
This reverts commit 62891eefd6.
2024-09-19 11:26:49 -07:00
Wes Haggard
ea00a69e04
Pin windows image version (#5995) 2024-09-17 15:07:33 -07:00
Wes Haggard
658c1f317b
Don't warn on folders that aren't actually packages (#5974) 2024-09-12 22:45:41 +00:00
Ben Broderick Phillips
ac63f2618e
Add auto-baseline main pipeline config for core (#5979) 2024-09-12 16:08:24 -04:00
Wes Haggard
62891eefd6
Update PublishCodeCoverateResults task (#5972) 2024-09-11 13:43:50 -07:00
Larry Osterman
5afc447ff7
Use new clang-18 based ApiView (#5970) 2024-09-11 12:32:28 -07:00
Wes Haggard
f127982f53
Ignore non ascii chars under eng (#5971) 2024-09-11 00:31:30 +00:00
Wes Haggard
5f90646d3e
Refactor prepare-pipelines.yml (#5964) 2024-09-09 15:23:43 -07:00
Wes Haggard
10025fd2a2
Fix vcpkg cache (#5963) 2024-09-06 09:57:58 -07:00
Wes Haggard
e636fc5f3e
Remove unused variable group (old cpp cache key) (#5955) 2024-09-03 11:04:40 -07:00
Wes Haggard
11a61fa980
Switch to User Delegate SAS for vcpkg caching (#5950) 2024-08-30 10:33:47 -07:00
Wes Haggard
45cb4a5f87
Turn off warnings from sdl disablement (#5945)
See https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-pipeline-templates/features/sdlanalysis/disablingtools for info on this new flag.
2024-08-28 16:32:49 -07:00
Wes Haggard
244b4b5d51
Remove azure-sdk-docs-prod-blob-name usage (#5911) 2024-08-16 12:25:19 -07:00
George Arama
34c2441523
Enable UseFederatedAuth by default (#5852)
* enable use federated

* 401 unauthorized

* 401

* cleanup readmes

* DISABLE RUN

* Remove UseFederatedAuth overrides from ci.yml

* DISABLE RUN for admin samples,
2024-07-31 17:10:39 -07:00
Wes Haggard
c32fd0dc80
Explicitly install python (#5833)
Looks like the latest windows image failed to have python installed. So explicitly installing it.
2024-07-22 15:19:42 -07:00
Ahson Khan
bbc5a307a8
Update live.tests.yml samples display name to be shorter. (#5828) 2024-07-19 14:24:22 -07:00
Wes Haggard
3329e9d854
Update Preview Test Sub to use new connection (#5826)
In order to get both deployment and clean-up working we need to have a connection that points at the right subscription. Today azure-sdk-tests points to the name Test Sub but I created azure-sdk-tests-preview connection which points to the Preview Test Sub.

This will fix the clean-up step which is currently failing for things deployed in Preview.
2024-07-18 15:20:39 -07:00
Ahson Khan
9b9f76a737
Re-enable running previously disabled samples using AzureCliCredential. (#5818)
* Re-enable running KeyVault samples on Ubuntu using AzureCliCredential.

* Re-enable running Attestation samples using AzureCliCredential.

* Re-enable running EventHubs samples using AzureCliCredential.

* Re-enable running Identity samples.

* Disable client_secret_credential_sample since it depends on env vars
that don't exist.
2024-07-18 14:45:27 -07:00
George Arama
313fb0e58f
Move tests to use azure pipeline credentials (#5754)
* test1

* hgdfchg

* remove the remnants of azure client secret

* test KV with federated auth

* UseFederatedAuth

* fdsa

* kv template with managed

* try try again

* retry permissions

* add net acls

* blunt force replace the resource json

* put back stuff

* trey again with new method

* attempt

* missed something

* flip if else

* Temporarily use empty sub config file path for preview cloud

* remove client secret

* try to fix the identity tests

* live skip failing tests and return in samples

* samples for identity fix

* disable failing samples in identity

* fix winhttp failing test

* comment out code

* remove managed identity

* restore version from main

* revert readme changes

* PR comments

* test 2

* clang

* attempt default creds with pipeline chanined

* clangs

* identity test and clangs

* oops

* live

* cleanup

* reter

* test

* revert the DAC change

* missed one

* taking the samples to a farm upstate

* PR comments

* Fix bad merge

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-07-11 17:38:19 -07:00
Wes Haggard
2e4e87f490
Disable codeql as it is causing build issues (#5761)
All the other languages have disabled codeql and we are now hitting blocking issues when running codeql on macos (https://dev.azure.com/twcdot/Data/_workitems/edit/138580) and even on the other OS's the configuration causes the builds to run for a long time.
2024-07-03 15:03:29 -07:00
Anton Kolesnyk
f8130a26ae
If formatting fails in CI, print detailed diff (#5756)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-07-01 17:43:22 -07:00
Daniel Jurek
b0aa9bb924
Add federated auth support (#5740)
* Add federated auth support

* Wire up UseFederatedAuth more and EnvVars

* parameters.

* Testing

* ServiceConnection

* ServiceConnection (again)

* Remove testApplicaitonSecret

* Parameters

* exit $LASTEXITCODE

* Merge EnvVars correctly, only include SubscriptionConfigurationFilePaths if using federated auth

* Review comments

* Revert identity changes so tests continue passing
2024-07-01 21:36:07 +00:00
Ben Broderick Phillips
bed0d5585a
Add pool env variable to build-test-resource-config template (#5749) 2024-06-26 16:06:14 -04:00
Ben Broderick Phillips
55c241902d
Add pool variable and user env variables to test resources environment (#5731) 2024-06-21 17:41:28 -04:00
Wes Haggard
572c2ae27a
update macos image from 11 to latest (#5721) 2024-06-21 08:14:56 -07:00
George Arama
0b5b5ac951
Json library update and Xcode15 (#5681)
* Move up macos and xcode version

* first pass

* to trigger builds, some other issue

* rewrwe

* Remove MSVC compiler warning suppressions in KeyVault

The code within the `mocked_transport_adapter_test.hpp` file, specifically within the `Azure::Security::KeyVault::Keys` namespace, has been updated. The `#if defined(_MSC_VER)` preprocessor directive along with its associated `#pragma warning(push)` and `#pragma warning(disable : 4996)` directives have been removed. The corresponding `#pragma warning(pop)` directive has also been removed. The lines of code that were between these preprocessor directives remain unchanged. These changes remove specific compiler warning suppressions for MSVC compilers, but do not alter the functional behavior of the code.

* dassa

* Add UseDotNet@2 where test proxy might run on a macos agent

* test CI

* fsd

* dasdas

* gregre

* gerregr

* ffdsfsd

* fwefew

* fewfwew

* reter

* fewfew

* fwefwe

* rewrw

* rwe

* temp move build step to exec faster

* gdfgd

* fsdfd

* fdsfs

* dgdf

* Roll forward instead of installing .NET 6

* remove manual install

* rewrew

* gfdffg

* rewrwe

* gfdgd

* fdsfs

* gfdgdf

* tertre

* dasda

* try http for test proxy

* revert readmes

* rew

* rew

* fdsfsd

* ewrew

* revert storages

* KV

* opentelemetry

* remove warnbing

* anton comments

* unit tests

* clangs

* clang

* comment out some asserts

* restore originals

* updated tests

* clangs

* restore cmake

* test

* Remove manual workaround (eng/common change fixes this)

* test2

* the fix doesn't work, need to put back

* Remove DOTNET_ROLL_FORWARD

* annotate macro , put back DOTNET_ROLL_FORWARD

* remove leftover files

* reww

* update changelog

* remove left over file

* remove some doxygen comments

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-06-18 08:26:28 -07:00
Wes Haggard
0c9aae5cac
Update variable group for prepare-pipelines (#5677)
See https://github.com/Azure/azure-sdk-tools/pull/8359
2024-05-29 17:15:15 -07:00
Wes Haggard
7dedba1a4f
Update to use opensource api token (#5668) 2024-05-29 13:08:26 -07:00
Daniel Jurek
2098095d68
Set retryCountOnTaskFailure for idempotent AzurePowerShell task (#5654)
* Set retryCountOnTaskFailure for idempotent AzurePowerShell task
* Review feedback: 3
2024-05-23 19:33:06 +00:00
Daniel Jurek
599f701215
Remove setup-msvc side-by-side mitigation (#5641) 2024-05-22 13:09:08 -07:00
Azure SDK Bot
e829de01f5
Sync eng/common directory with azure-sdk-tools for PR 8294 (#5638)
* consume newest stable version of the test-proxy

* remove override of proxy pins to resume honoring standard proxy version in CI

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-05-21 17:44:24 -07:00
James Suplizio
4415f66cff
Remove usage of azure-sdk-docs-prod-sas (#5637) 2024-05-17 17:44:12 +00:00
Wes Haggard
cd3655c322
Use template condition instead of runtime condition (#5603)
"cpp Resource Group" is only available for internal builds so we need to condition this entire step out on non-internal builds.
2024-05-07 13:58:10 -07:00
Daniel Jurek
df8c4d4b2c
Use Azure federated auth (#5599) 2024-05-06 15:15:21 -07:00
Daniel Jurek
ac685055e6
Remove install-cmake.yml (#5581) 2024-04-29 22:15:47 +00:00
Scott Beddall
fd021f468c
Pin Newest Version of test-proxy in CI (#5568)
* pin version to proxy with common sanitizers added
* fixes for keyvault, storage, core, other misc packages to deal with new common proxy version
2024-04-24 15:57:50 -07:00