Remove DailyBuild in live test since it is already deprecated#29515
Merged
Conversation
| Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
YanaXu
previously approved these changes
May 6, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request removes the deprecated DailyBuild option from the live test pipeline and module installation flow, leaving Sign and PSGallery as the only supported sources for installing AzPreview during live tests.
Changes:
- Removed
DailyBuildfromInstallLiveTestAzModules.ps1parameter validation and repository selection logic. - Updated live-test pipeline templates to only download artifacts for
Signand removed theDailyBuilddownload branch. - Changed the live-test pipeline default gallery from
DailyBuildtoSignand removedDailyBuildfrom allowed values.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| tools/TestFx/Live/InstallLiveTestAzModules.ps1 | Removes DailyBuild from ValidateSet and switch logic; keeps Sign/PSGallery paths. |
| .azure-pipelines/util/live-test-steps.yml | Removes DailyBuild artifact-download conditional branch; limits artifact download to Sign. |
| .azure-pipelines/live-test.yml | Removes DailyBuild from selectable values and updates the default to Sign. |
Comments suppressed due to low confidence (1)
tools/TestFx/Live/InstallLiveTestAzModules.ps1:8
$AzPackagesLocationis declared optional, but it is required when-Source Signbecause it is passed toRegister-PSRepository -SourceLocation. Add validation (e.g., throw a clear error when Source is Sign and AzPackagesLocation is null/empty) to avoid hard-to-diagnose failures when the script is invoked outside the pipeline.
[Parameter()]
[string] $AzPackagesLocation
)
35088ba to
52ce8f9
Compare
YanaXu
approved these changes
May 6, 2026
Contributor
Author
|
/azp run |
Contributor
|
Azure Pipelines successfully started running 3 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request removes support for the
DailyBuildgallery/source from both the pipeline configuration and the PowerShell script used for installing test modules. Now, onlySignandPSGalleryare valid options for the relevant parameters and logic.Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.mdand reviewed the following information:ChangeLog.mdfile(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.## Upcoming Releaseheader in the past tense.ChangeLog.mdif no new release is required, such as fixing test case only.