Open
Conversation
…etaOracle; enhance Ploy::LocalPackage::DebBuilder and Ploy::S3Storage specs
…spec for ploy-2.7.8
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.
Pull Request: Upgrade Ploy to Ruby 3.1.6 with Modern Dependencies
@mantacode/tech-pr
Description of Changes
This PR modernizes the ploy deployment tool with the following major changes:
Ruby and Dependency Upgrades
aws-sdk-v1(1.64) to modern AWS SDK gems:aws-sdk-s3(~> 1.140)aws-sdk-ec2(~> 1.450)fpm: 1.12.0 → 1.15.1sinatra: 1.4.6 → ~> 2.2nokogiri: 1.10.0 → ~> 1.15rspec: upgraded to ~> 3.12rexmlandwebrickfor Ruby 3.0+ compatibilityNew Features
systemd_filesandmnt_log_pathCode Improvements
put,copy,read,get,metadata, andlistmethodsrequire 'ploy/package'in packageset.rbTesting
command/bless_spec.rb- blessing packages by deployment/branch/versioncommand/build_spec.rb- building packages with custom configsdebbuilder_spec.rbwith systemd testsmetaoracle_spec.rbands3storage_spec.rbwith proper mockingInfrastructure
ploy-3.1.6.gemspec(version 0.0.46).travis.ymlto use Ruby 3.1.6.ruby-versionfileZenhub Card
[Add your Zenhub card link here]
Dependencies
>= 3.1.0)Testing
Unit Tests
All existing tests have been updated and new tests added:
Manual Testing Required
Breaking Changes
Migration Notes
Users upgrading will need to:
systemd_filesandmnt_log_pathto.ploy-publisher.ymlfor systemd supportDeployment / Merge Strategy⚠️
This change cannot be merged into the master branch immediately.
A coordinated rollout is required because the upgraded Ploy tool requires Ruby 3.1.6, which is a breaking change for our CI/CD and deployment environments.
Required Pre-Merge Actions
.travis.ymlfiles that use Ploy must be updated to explicitly use Ruby 3.1.6 for deployment steps.This PR should be merged only after the widespread infrastructure changes (Travis and AMIs) are complete and validated in a non-production environment.