-
Notifications
You must be signed in to change notification settings - Fork 632
Added Garnet.Worker to win-x64-based-readytorun #1084
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…Service" folder. This required changes to the publishing file as well as create binaries powershell. NOTE - external release pipeline has the final release steps DISABLED so actual release doesn't happen when testing. However, testing code to only run the final push if on main
…et.Worker) doesn't get skipped.
…ipeline and not local. Maybe case sensitive issue with name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the release pipeline to support the inclusion of Garnet.Worker in the win-x64-based-readytorun.zip and adds an additional safeguard so that the final push to NuGet and GitHub releases only occurs from the main branch.
- Updated comments to clarify branch conditions for running release tasks.
- Added conditions to the GitHubRelease and NuGet push tasks to restrict execution to the main branch.
- Introduced a top-level pool definition and a job-specific pool definition with a specified vmImage.
Comments suppressed due to low confidence (1)
.azure/pipelines/azure-pipelines-external-release.yml:2
- Fix the phrase 'a the GitHub Release' to a correct phrasing, such as 'to generate the GitHub Release'.
# NOTE: Before running this pipeline to generate a the GitHub Release and new nuget packages, update the VersionPrefix value in Version.props file
…'t do it that way.
Request from a customer to add Garnet.Worker to the win-x64-based-readytorun.zip file. The main change was to the win-x64-based-readytorun.pubxml where I added the Garnet.Worker files to the "Service" folder.
The other change was to the release pipeline but that was mainly to put a check there that the actual push to Nuget and GitHub releases can only happen on Main. Can run everything else on another branch, but the final push can only happen on main. Just an extra safe guard that non main branches aren't being released.
The binaries ps1 file was specific to Garnet.Server (extra checks to double check Garnet.Server) so just small modification there