Skip to content

Conversation

@jshigetomi
Copy link

@jshigetomi jshigetomi commented Apr 10, 2025

PR Summary

This pull request includes several updates to the PSReadLine pipeline and build scripts to improve flexibility and functionality. The most important changes involve adding new parameters to the pipeline, updating the build process, and adding a new script for installing PowerShell resources.

Pipeline Improvements:

  • Added new parameters ob_release_environment, Officialness, and release to the PSReadLine-Official.yml pipeline to allow for more flexible configuration.
  • Updated the OneBranch template reference to be dynamic based on the Officialness parameter.
  • Added tasks for using the .NET SDK and installing PowerShell resources in the pipeline.
  • Added a condition to verify signed files only if the build is official.

Build Script Enhancements:

  • Added a new FeedSource parameter to the build.ps1 script to specify the source of the feed during the bootstrap process.
  • Modified the bootstrap process in build.ps1 to validate and install prerequisites only if the FeedSource is set to "Public".

New Script Addition:

  • Added a new script installPSResources.ps1 to install PowerShell resources from a specified repository, with support for the PSGallery and CFS repositories.

PR Checklist

  • PR has a meaningful title
    • Use the present tense and imperative mood when describing your changes
  • Summarized changes
  • Make sure you've added one or more new tests
  • Make sure you've tested these changes in terminals that PowerShell is commonly used in (i.e. conhost.exe, Windows Terminal, Visual Studio Code Integrated Terminal, etc.)
  • User-facing changes
    • Not Applicable
    • OR
    • Documentation needed at PowerShell-Docs
      • Doc Issue filed:
Microsoft Reviewers: Open in CodeFlow

@jshigetomi jshigetomi changed the title Add deploy box Migrate Release Pipeline to Deploy Box Products Pathway Apr 10, 2025
@jshigetomi
Copy link
Author

Changed the build script to skip DotNet install and InvokeBuild install when the new parameter -FeedSource is set to Internal

@daxian-dbw
Copy link
Member

Superseded by #4700

@daxian-dbw daxian-dbw closed this Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants