Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds the ability to run Azure DevOps pipeline tests in live mode on demand by introducing a configurable AzureRecordMode parameter. The parameter threads through the pipeline template hierarchy and controls the AZURE_RECORD_MODE environment variable used by the test recording infrastructure. By default, tests continue to run in 'playback' mode, maintaining the existing behavior.
Changes:
- Added
AzureRecordModeparameter to the pipeline template hierarchy, allowing selection between playback and live test modes - Replaced hardcoded 'playback' mode with the configurable parameter value in test execution
- Made the parameter user-selectable in the release-cli.yml pipeline with a dropdown UI
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| eng/pipelines/templates/stages/build-and-test.yml | Added AzureRecordMode parameter with 'playback' default and passed it to build-cli job template |
| eng/pipelines/templates/jobs/build-cli.yml | Added AzureRecordMode parameter and replaced hardcoded AZURE_RECORD_MODE environment variable with parameter value |
| eng/pipelines/release-cli.yml | Added user-facing AzureRecordMode parameter with dropdown values (playback/live) and passed it to build-and-test stage |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash: pwsh: WindowsPowerShell install MSI install Standalone Binary
MSI
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference
|
No description provided.