Adding new release pipeline with signing capability#1142
Open
tarunramsinghani wants to merge 4 commits intomasterfrom
Open
Adding new release pipeline with signing capability#1142tarunramsinghani wants to merge 4 commits intomasterfrom
tarunramsinghani wants to merge 4 commits intomasterfrom
Conversation
- Upgrade TypeScript from 4.0.2 to 5.9.3 for Node.js 20 compatibility - Upgrade @types/node to 20.0.0 and remove conflicting @types/glob - Add --skipLibCheck flag to TypeScript compilation for compatibility - Fix Test-CanUnravel function to handle null objects properly - Fix Invoke-Process function to properly return exit codes - Fix LocalizationFunctions to use InvariantCulture for number formatting - Update mocha version check in make.js - All 107 tests now pass successfully
- Add Node.js 20.x support for PowerShell SDK in CI pipeline - Fix error handlers in make.js to properly exit with code 1 on failures - Update TypeScript version validation to accept 5.x versions - Ensure CI pipeline failures are properly reported instead of silent success
- Move Node.js template to ci/node/steps.yml - Move PowerShell templates to ci/powershell/ folder - steps.yml: Build and test template - publish-job.yml: Publish to PowerShell Gallery job - release-pipeline.yml: Manual release pipeline - Update all template references in azure-pipelines.yml - PowerShell steps now run on all OS platforms (Windows, Linux, macOS) - Separate build/test from publish concerns with dedicated templates
- Separated Node.js and PowerShell builds into dedicated template files - Renamed steps.yml to build-steps.yml for clarity - Created unified release pipeline with npm and PowerShell Gallery publishing - Added ESRP signing steps for VstsTaskSdk.dll (strong name, authenticode, 3rd party) - Modified make.js to use locally built DLL from _lib folder in CI/release pipelines - Moved PowerShell build to separate job in CI pipeline - Added pipeline artifacts for both npm package and PowerShell module - Added .vscode/settings.json to .gitignore
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.
Summary
This PR restructures the Azure Pipelines configuration for better maintainability and adds ESRP signing support for the VstsTaskSdk.dll in release builds.
Changes
Pipeline Structure Reorganization
steps.ymltobuild-steps.ymlfor both Node.js and PowerShell componentsci/node/publish-job.ymlfor npm publishingci/powershell/publish-job.ymlfor PowerShell Gallery publishingci/release-pipeline.ymlthat publishes both Node.js and PowerShell packagesESRP Signing Implementation
ci/powershell/signing-steps.ymlwith three-stage signing process:enableSigningparameterBuild Improvements
powershell/make.jsto use locally built DLL from_libfolder when available (CI/release pipelines)condition: succeeded()to publish steps to prevent publishing on test failuresOther Changes
ci/powershell/release-pipeline.yml(superseded by unified release pipeline).vscode/settings.jsonto.gitignoreosparameter from PowerShell templates (always runs on Windows)Benefits
Testing
Related Work
Part of ongoing effort to improve pipeline maintainability and add proper code signing for shipped components.