Commit Graph

1072 Commits

Author SHA1 Message Date
Azure SDK Bot
ae14b41e8e
Sync eng/common directory with azure-sdk-tools for PR 8598 (#5777)
* Set storage account test resources to disable blob public access

* Skip adding network rules to storage accounts that don't need them during cleanup

* Add succeeded check to set pipeline subnet info step

* Disable network firewall by default in resource creation/removal

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-07-12 17:15:32 -04: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
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
Azure SDK Bot
1143b6bf4d
Support regex/negative regex filters for stress test discovery. Add storage env defaults (#5779)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-07-11 13:25:01 -04:00
Azure SDK Bot
b1207fc87a
add the ability to override default succeeded() conditioning by parameter (#5780)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-07-10 14:26:42 -07:00
Azure SDK Bot
bc547c4f4c
Sync eng/common directory with azure-sdk-tools for PR 8558 (#5764)
* Support storage network access and worm removal in remove test resources script

* Move storage network access script to common resource helpers file

* Improve storage container deletion resilience

* Plumb through pool variable to live test cleanup template

* Add sleep for network rule application

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-07-08 17:56:18 -04:00
Azure SDK Bot
32250eaf25
Delete eng/common/InterdependencyGraph.html which is unused. (#5763)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-07-05 13:15:17 -04: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
Azure SDK Bot
8b39000b42
Sync eng/common directory with azure-sdk-tools for PR 8549 (#5762)
* commit the file changes so that we can see them running

* use standalone tool

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-07-03 14:54:52 -07:00
Azure SDK Bot
5251c27034
Sync eng/common directory with azure-sdk-tools for PR 8516 (#5752)
* Ensure subConfigFiles is not an empty string

* Skip instances where $file is an empty string

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-07-03 17:51:11 -04:00
Azure SDK Bot
a7ce5b43c3
Sync eng/common directory with azure-sdk-tools for PR 8528 (#5755)
* Fix default value for env vars in build-test-resource-config template

* Add empty pool condition

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-07-03 14:23:56 -04: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
Azure SDK Bot
88bb72c045
Sync eng/common directory with azure-sdk-tools for PR 8371 (#5685)
* Restrict live test storage account access to client IP

* Add storage pools to test resources vnet allowlist

* Use pool subnet map to reduce number of subnets added to live test resources

* snap

* Add test resource parameter to add ip ranges to storage firewall

* Validate and update ip firewall rules

* Get pool subnet using separate workload identity

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-07-01 15:08:16 -04: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
Azure SDK Bot
8750d80f07
Force amd64 as the build platform - it has to match what the AKS cluster is running on. (#5738)
Co-authored-by: Richard Park <ripark\@microsoft.com>
2024-06-21 15:18:06 -04:00
Azure SDK Bot
7d463cd596
update the target version of the proxy (#5732)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-06-21 10:59:59 -07:00
Wes Haggard
572c2ae27a
update macos image from 11 to latest (#5721) 2024-06-21 08:14:56 -07:00
Azure SDK Bot
e24c5f9900
Fix case where changelog wasn't marked as invalid (#5726)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-06-18 18:37:04 -04:00
Azure SDK Bot
247583f456
Update publish template (#5727)
Add logging and fix display name given Agent.JobStatus doesn't evaluate currently in the display name property.

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-06-18 16:48:00 -04: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
Azure SDK Bot
2f74d85edb
Sync eng/common directory with azure-sdk-tools for PR 8422 (#5712)
* Merge subscription configuration file values with the supplied subscription config

* Bring forward working parts

* Collapse into a single task

* SubConfig-Helpers.ps1 changes

* Update remove-test-resources.yml

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-06-17 16:27:00 -07:00
Azure SDK Bot
c4a395e0b9
Pass pipeline vnet to live test arm templates (#5724)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-06-17 18:07:39 -04:00
Azure SDK Bot
b7b9ab04af
Sync eng/common directory with azure-sdk-tools for PR 8457 (#5722)
* Update macos image from 11 to latest

* unpin pester now that 5.6.0 is on the agent

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-06-17 14:54:06 -04:00
Azure SDK Bot
bbfc93fcae
Update CodeownersLinter version to 1.0.0-dev.20240614.4 (#5720)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-06-14 11:45:11 -07:00
Azure SDK Bot
ed9f70ad16
Update spelling dependencies (#5719)
This is the result of `npm audit fix` to address vulnerability in older versions
of `braces`.

Co-authored-by: Jeremy Meng <yumeng@microsoft.com>
2024-06-13 17:22:10 -07:00
Azure SDK Bot
f80f2d7999
Sync eng/common directory with azure-sdk-tools for PR 8388 (#5704)
* Removal of the devops release PAT

* Don't pass in the access token, just use the AzureCLI task and do everything in the scripts

* Updates for feedback

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-06-13 12:10:14 -04:00
Azure SDK Bot
77e23c2108
Fix prepare-pipelines line wrapping (#5716)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-06-12 18:34:13 -04:00
Azure SDK Bot
fe18f39cb3
Pin pester version to 5.5.0 (#5703)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-06-07 10:16:39 -07:00
Azure SDK Bot
666e611153
Use DOTNET_ROLL_FORWARD: 'Major' for test-proxy (#5699)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-06-07 12:04:58 -04:00
Azure SDK Bot
3635e2064a
Sync eng/common directory with azure-sdk-tools for PR 8377 (#5690)
* Plumb env vars through deploy test resources

* Update eng/common/TestResources/deploy-test-resources.yml

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

* Update eng/common/TestResources/deploy-test-resources.yml

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

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-06-06 19:11:02 -04:00
Azure SDK Bot
459c148d06
bump target version of the test proxy (#5688)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-06-04 15:58:11 -07:00
Azure SDK Bot
f715b5674f
Sync eng/common directory with azure-sdk-tools for PR 8370 (#5689)
* PAT Removal from pipeline generation yml

* update version of PipelineGenerator to install

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-06-04 14:09:47 -07:00
Azure SDK Bot
cee9b6ab5e
Sync eng/common directory with azure-sdk-tools for PR 8324 (#5671)
* Reuse same branch name for previews of a PR

* Default AddBuildSummary parameter using pipeline variable existence

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-05-30 10:39:42 -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
Azure SDK Bot
dc64ca6eb3
Sync eng/common directory with azure-sdk-tools for PR 8340 (#5669)
* Changes to scripts to deal with PATs and AccessTokens

* swap access and auth for add-retention-lease

* AuthToken to BearerToken and remove unused Base64EncodedAuthToken from the script parameters

* remove unneccsary if not null check for the mandatory parameter

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-05-28 15:52:20 -07:00
Azure SDK Bot
1b8d54e396
Sync eng/common directory with azure-sdk-tools for PR 8319 (#5653)
* Add static file secret-less sub-config support

* Review feedback: if/else

* http -> https

* Update eng/common/TestResources/deploy-test-resources.yml

* Space cleanup

* Add AzurePublicMsft.json

* Remove EnvironmentVariables

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-05-28 14:43:46 -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
Azure SDK Bot
af92a6980a
Sync eng/common directory with azure-sdk-tools for PR 8278 (#5659)
* Migrate stress cluster to use workload identity

* Only sleep to sync fed creds when namespace is new

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-05-23 10:42:33 -07: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
Azure SDK Bot
edfca94426
Sync eng/common directory with azure-sdk-tools for PR 8295 (#5639)
* ensure we write the log to the same root directory as what is being used for the proxy invocation

* fix spacing

* we should write these proxy logs to the same root folder that we start the proxy in

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-05-17 17:15:08 -07:00
Azure SDK Bot
afb41afa58
properly feed the proxy output into the log on windows (#5569)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-05-17 13:41:46 -07:00
James Suplizio
4415f66cff
Remove usage of azure-sdk-docs-prod-sas (#5637) 2024-05-17 17:44:12 +00:00
Azure SDK Bot
d055b7a921
Sync eng/common directory with azure-sdk-tools for PR 8283 (#5635)
* Update APIView script path to absolute path
2024-05-17 12:58:56 -04:00
Azure SDK Bot
a315b29bab
Remove SAS token from GitHubIO blob storage docs publish (#5636)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-05-17 09:35:10 -07:00
Azure SDK Bot
0869a14ff5
Sort the keys in devDependencies and overrides (#5629)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-05-16 17:42:52 -07:00
Azure SDK Bot
e8954d04ae
Convert live test clean-up to use WIF for open source api access (#5630)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-05-16 16:42:57 -07:00