зеркало из
1
0
Форкнуть 0
Граф коммитов

122 Коммитов

Автор SHA1 Сообщение Дата
Azure SDK Bot a7e3707c18
Sync eng/common directory with azure-sdk-tools for PR 9229 (#38026)
* Remove default sub config sub-config-azure-cloud-test-resources

We no longer want to default the configuration and instead
default from the service connection which had the info we need.

* Fix quoting

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-10-21 18:20:41 -07:00
Azure SDK Bot d565fc4c7f
Move perf pipelines to TME subscription (#38020)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-10-21 12:56:52 -07:00
Azure SDK Bot afc9563f6d
Set resource group env variable early so remove always works (#37939)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-16 15:25:32 -07:00
Azure SDK Bot 1be56df7e2
Use equality function check for persist oidc token step (#37797)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-08 15:37:35 -07:00
Azure SDK Bot 48657867f8
Persist oidc env vars in deploy template (#37786)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-08 11:59:31 -07:00
Azure SDK Bot 786b64a338
Need to add environment to subscription configuration (#37726)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-10-04 13:16:58 -07:00
Azure SDK Bot 7b62acc059
Sync eng/common directory with azure-sdk-tools for PR 9092 (#37713)
* Export the subscription data from the service connection

* Update deploy-test-resources.yml

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-10-03 15:11:18 -07:00
Azure SDK Bot db218a02c0
Update New-TestResources.ps1 to add quotes around shell envvar (#37650)
Co-authored-by: swathipil <swathip@microsoft.com>
2024-10-02 13:15:02 -07:00
Azure SDK Bot 80e8d0063d
Sync eng/common directory with azure-sdk-tools for PR 8902 (#37229)
* Add descriptive error when variable groups are not added to pipeline

* Add emoji to deploy step title to make it easier to find

* Move yaml json checking into powershell script

* Fix base sub config empty/string checking

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-09-10 14:07:04 -07:00
Azure SDK Bot 33be259bf6
Sync eng/common directory with azure-sdk-tools for PR 8760 (#36732)
* Do not mark values as secret that are from git-hosted sub config files

* Simplify sub config build yaml

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-08-06 12:54:39 -07:00
Azure SDK Bot 2206169882
Add remaining preview/sov cloud sub configs to common dir (#36608)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-07-24 12:39:03 -07:00
Azure SDK Bot 06f9fac43a
Sync eng/common directory with azure-sdk-tools for PR 8598 (#36419)
* 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:17:35 -04:00
Azure SDK Bot 2d7012f265
Sync eng/common directory with azure-sdk-tools for PR 8558 (#36350)
* 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:23 -04:00
Azure SDK Bot 174849ab88
Sync eng/common directory with azure-sdk-tools for PR 8516 (#36297)
* 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:18 -04:00
Azure SDK Bot 209a47d124
Sync eng/common directory with azure-sdk-tools for PR 8528 (#36309)
* 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:24:06 -04:00
Azure SDK Bot 3d93616381
Sync eng/common directory with azure-sdk-tools for PR 8371 (#35886)
* 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:56 -04:00
Azure SDK Bot 9e8aefc31e
Sync eng/common directory with azure-sdk-tools for PR 8422 (#36039)
* 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:11 -07:00
Azure SDK Bot 5da0dbed17
Pass pipeline vnet to live test arm templates (#36121)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-06-17 18:07:48 -04:00
Azure SDK Bot 6e6648a692
Sync eng/common directory with azure-sdk-tools for PR 8377 (#35915)
* 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:10 -04:00
Azure SDK Bot a5abbc628d
Sync eng/common directory with azure-sdk-tools for PR 8319 (#35736)
* 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:55 -07:00
Azure SDK Bot dbca7107c1
Sync eng/common directory with azure-sdk-tools for PR 8249 (#35585)
* Add support for Federated Auth to test resources scripts

* Default -- UseFederatedAuth: false

* Clear secrets if FederatedAuth is set

* Template conditions use AzurePowerShell only when a service connection is needed

* Review feedback and pair with Ben

* Update docs

* http:// -> https://

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-05-15 14:25:29 -07:00
Azure SDK Bot 61e9c57b9e
TestResources - Bubble up errors in Retry with pipe statements (#34667)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-03-06 16:13:25 -08:00
Azure SDK Bot 38d569e0a4
Add stress test arm/bicep template prefix to New-TestResources ResourceType set (#34267)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-02-09 18:11:21 -05:00
Azure SDK Bot 82edd1924b
Sync eng/common directory with azure-sdk-tools for PR 7584 (#34018)
* Fix role assignment for user auth

* PR fb

* Apply suggestions from code review

Co-authored-by: Heath Stewart <heaths@outlook.com>

---------

Co-authored-by: jolov <jolov@microsoft.com>
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
Co-authored-by: Heath Stewart <heaths@outlook.com>
2024-01-25 14:52:37 -08:00
Azure SDK Bot a2ae8e0095
Sync eng/common directory with azure-sdk-tools for PR 7580 (#33993)
* Support creating resources with user auth

* Log warning if TestApplicationId is set

* missing space

* regenerate md file

* Rename

* Update link

---------

Co-authored-by: jolov <jolov@microsoft.com>
2024-01-24 15:38:28 -08:00
Azure SDK Bot 7b03af4385
Sync eng/common directory with azure-sdk-tools for PR 7310 (#33247)
* Force capitalize all deployment/env outputs in live test

* Update eng/common/TestResources/New-TestResources.ps1

Co-authored-by: Heath Stewart <heaths@outlook.com>

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Heath Stewart <heaths@outlook.com>
2023-11-20 11:03:07 -08:00
Azure SDK Bot b3a1d9a04c
Fix update test resources tagging when tags are empty. Bump max limit (#32587)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-10-19 15:59:08 -07:00
Azure SDK Bot 97a55746b4
Sync eng/common directory with azure-sdk-tools for PR 7113 (#32463)
* Remove ARM deployment after deploy

* Update eng/common/TestResources/New-TestResources.ps1

Co-authored-by: Heath Stewart <heaths@outlook.com>

* Apply suggestions from code review

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Heath Stewart <heaths@outlook.com>
2023-10-16 17:00:29 -07:00
Azure SDK Bot 579763fa7d
Fail fast on variable conflicts with subscription config (#31812)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-08-25 12:25:16 -07:00
Azure SDK Bot 42267a99d0
Make x509 certificate script from azure-sdk-for-net common to repos (#31271)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-07-24 13:34:18 -07:00
Azure SDK Bot 16ed3f07ec
Fix regression - base name overrides in CI (#29771)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-04-05 14:58:50 -07:00
Azure SDK Bot f2a27fc13f
Handle multi-line string concatenation with Write-Warning (#28590)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-02-01 17:47:16 -08:00
Azure SDK Bot 621aa1c838
Sync eng/common directory with azure-sdk-tools for PR 5242 (#28508)
* Consolidate naming logic and generate short hash names for local use

* Shorten long lines

* Handle issues with EnvironmentVariable parameter ref being updated

* Warn on env variable overwrite. Base name generation off resource group

* Use SHA256 algorithm for short name hash

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-01-27 12:20:02 -08:00
Azure SDK Bot 920c02963a
Handle service principal creation quota errors (#28412)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-01-24 16:19:32 -05:00
Azure SDK Bot 80e5718186
Add optional TestResourcesDirectory override parameter (#27432)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-11-10 16:35:19 -05:00
Azure SDK Bot de985763a3
Add public cloud cosmos endpoint suffix (#27307)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-11-07 18:38:39 -05:00
Azure SDK Bot 69cf6557b8
Dump out correlation id without verbose logging for resource deployment (#27119)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-10-31 17:15:14 -04:00
Azure SDK Bot 9953b8588b
Fix misleading step name in az module install (#25472)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-07-29 14:30:48 -07:00
Azure SDK Bot bd009ba40b
Use westus as default region in test resource deployments (#24910)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-06-21 06:43:01 -07:00
Azure SDK Bot 0a2f764e35
Add ResourceType parameter - Selects live test or perf test resources (#24891)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2022-06-16 22:23:25 -07:00
Azure SDK Bot 2d50ef2507
Add skip variable for remove test resources to support debugging (#24441)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-05-13 14:12:15 -07:00
Azure SDK Bot 569961606f
String parsing improvements to service directory resource names (#24398)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-05-12 16:02:22 -04:00
Azure SDK Bot eae4f8b29d
Update readme for -pre and -post TestResource scripts (#24405)
Co-authored-by: Christopher Scott <chriss@microsoft.com>
2022-05-11 15:59:26 -07:00
Azure SDK Bot bf0482e1cf
Do not pass Generated to -BaseName (#24030)
Co-authored-by: Heath Stewart <heaths@microsoft.com>
2022-04-15 13:24:17 -07:00
Azure SDK Bot cb610442e6
Support BaseName overrides in CI mode for New-TestResources.ps1 (#24015)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-04-14 17:29:26 -07:00
Azure SDK Bot ca19895c1a
Sync eng/common directory with azure-sdk-tools for PR 3124 (#23941)
* Do not fail remove test resources step when env var is not set.

* Handle empty service directories in remove test resources script

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-04-11 17:28:57 -07:00
Azure SDK Bot 451c63ada4
Sync eng/common directory with azure-sdk-tools for PR 3067 (#23861)
* Infer live resource group name based on service directory name

* Simplify service directory path splitting

* Use common logic for username and basename generation

* Rename GetServiceName to GetServiceLeafDirectoryName

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-04-07 11:33:50 -07:00
Azure SDK Bot 5466d4ad7d
Support nested service directories for local test resources resource group names (#23793)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-04-01 15:34:29 -07:00
Azure SDK Bot 103de231c5
Set owners tag in test resource deployments (#23522)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-03-15 16:19:05 -07:00
Azure SDK Bot ae8a49bcbf
Support local test resources behavior with provisioner config (#23418)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-03-09 17:02:30 -05:00