Commit Graph

123 Commits

Author SHA1 Message Date
Azure SDK Bot
d404aba845
Print clickable link to terminal (#6399)
Co-authored-by: Heath Stewart <heaths@microsoft.com>
2025-02-06 13:24:39 -08:00
Azure SDK Bot
9a1c237bcd
Flip supportsSafeSecretStandard boolean condition (#6395)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-02-05 16:27:27 -08:00
Azure SDK Bot
2dccdce3a0
Sync eng/common directory with azure-sdk-tools for PR 9745 (#6390)
* Pass arm template parameter for TME context

* Use supportsSafeSecretStandard parameter instead

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-02-04 14:05:16 -08:00
Azure SDK Bot
a9083d489b
Add fallback user id lookup for test resource deployment (#6375)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-01-28 11:44:31 -08:00
Azure SDK Bot
938222b018
Sync eng/common directory with azure-sdk-tools for PR 9529 (#6305)
* Use -Mail for test resources local user lookup to support TME

* Auto-select TME subscription based on user context

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-01-16 10:42:58 -08:00
Azure SDK Bot
0e699e4c7a
Sync eng/common directory with azure-sdk-tools for PR 9229 (#6115)
* 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:35 -07:00
Azure SDK Bot
f4eea46002
Move perf pipelines to TME subscription (#6113)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-10-21 12:56:43 -07:00
Azure SDK Bot
027f31302a
Set resource group env variable early so remove always works (#6106)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-16 15:25:24 -07:00
Azure SDK Bot
9b4417e38f
Use equality function check for persist oidc token step (#6084)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-08 15:37:18 -07:00
Azure SDK Bot
4b913e073e
Persist oidc env vars in deploy template (#6079)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-08 11:59:21 -07:00
Azure SDK Bot
519e208a00
Need to add environment to subscription configuration (#6068)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-10-04 13:16:42 -07:00
Azure SDK Bot
54e5e22b1a
Sync eng/common directory with azure-sdk-tools for PR 9092 (#6061)
* 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:09 -07:00
Azure SDK Bot
90bd17c5b4
Update New-TestResources.ps1 to add quotes around shell envvar (#6050)
Co-authored-by: swathipil <swathip@microsoft.com>
2024-10-02 13:14:52 -07:00
Azure SDK Bot
cfcfac67f7
Sync eng/common directory with azure-sdk-tools for PR 8902 (#5965)
* 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 17:04:41 -04:00
Azure SDK Bot
65e2547763
Sync eng/common directory with azure-sdk-tools for PR 8760 (#5874)
* 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:24 -07:00
Azure SDK Bot
7176808c7f
Add remaining preview/sov cloud sub configs to common dir (#5844)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-07-24 12:38:54 -07:00
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
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
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
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
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
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
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
Azure SDK Bot
c79967ef99
Sync eng/common directory with azure-sdk-tools for PR 8249 (#5616)
* 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:17:16 -07:00
Azure SDK Bot
87036bc05e
TestResources - Bubble up errors in Retry with pipe statements (#5413)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-03-06 16:13:16 -08:00
Azure SDK Bot
f348242546
Add stress test arm/bicep template prefix to New-TestResources ResourceType set (#5340)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-02-09 18:11:07 -05:00
Azure SDK Bot
dffa3edb2a
Sync eng/common directory with azure-sdk-tools for PR 7584 (#5294)
* 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:29 -08:00
Azure SDK Bot
85f4835e96
Sync eng/common directory with azure-sdk-tools for PR 7580 (#5292)
* 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:17 -08:00
Azure SDK Bot
eccfeb4be0
Sync eng/common directory with azure-sdk-tools for PR 7310 (#5173)
* 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:02:56 -08:00
Azure SDK Bot
21978a69d8
Fix update test resources tagging when tags are empty. Bump max limit (#5048)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-10-19 15:58:56 -07:00
Azure SDK Bot
4f8eca93fd
Sync eng/common directory with azure-sdk-tools for PR 7113 (#5032)
* 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:14 -07:00
Azure SDK Bot
80b6fc6022
Fail fast on variable conflicts with subscription config (#4915)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-08-25 15:22:14 -04:00
Azure SDK Bot
b7e6719046
Make x509 certificate script from azure-sdk-for-net common to repos (#4817)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-07-24 13:34:08 -07:00
Azure SDK Bot
92886eec94
Fix regression - base name overrides in CI (#4520)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-04-05 14:58:34 -07:00
Azure SDK Bot
eeaace3e51
Handle multi-line string concatenation with Write-Warning (#4321)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-02-01 20:44:41 -05:00
Azure SDK Bot
c88d0287e9
Sync eng/common directory with azure-sdk-tools for PR 5242 (#4294)
* 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 15:17:58 -05:00
Azure SDK Bot
dd58487030
Handle service principal creation quota errors (#4261)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-01-24 16:19:05 -05:00
Azure SDK Bot
4dace9b114
Add optional TestResourcesDirectory override parameter (#4105)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-11-10 16:37:39 -05:00
Azure SDK Bot
c9ea71f1d6
Add public cloud cosmos endpoint suffix (#4091)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-11-07 18:38:28 -05:00
Azure SDK Bot
4c70c2fdc6
Dump out correlation id without verbose logging for resource deployment (#4069)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-10-31 17:15:04 -04:00
Azure SDK Bot
9eae0dff88
Fix misleading step name in az module install (#3859)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-07-29 14:30:41 -07:00
Azure SDK Bot
8c5dec33be
Use westus as default region in test resource deployments (#3759)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-06-21 09:41:39 -04:00
Azure SDK Bot
61636bba41
Add ResourceType parameter - Selects live test or perf test resources (#3740)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2022-06-16 22:19:21 -07:00
Azure SDK Bot
a43622b616
Add skip variable for remove test resources to support debugging (#3648)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-05-13 14:12:08 -07:00
Azure SDK Bot
f4a5dbe217
String parsing improvements to service directory resource names (#3644)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-05-12 16:02:21 -04:00
Azure SDK Bot
0e68b12f44
Update readme for -pre and -post TestResource scripts (#3645)
Co-authored-by: Christopher Scott <chriss@microsoft.com>
2022-05-11 15:59:18 -07:00
Azure SDK Bot
201d588b6d
Do not pass Generated to -BaseName (#3562)
Co-authored-by: Heath Stewart <heaths@microsoft.com>
2022-04-15 13:24:09 -07:00
Azure SDK Bot
164346796f
Support BaseName overrides in CI mode for New-TestResources.ps1 (#3559)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-04-14 17:29:16 -07:00