-
Notifications
You must be signed in to change notification settings - Fork 11
[CLI-24] Update service versions from the registry #257
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
[CLI-24] Update service versions from the registry #257
Conversation
The versions are updated to the latest ones. Fix CLI-24
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 service and runtime versions across the codebase to align with the latest versions available in the Platform.sh registry. The changes include introducing an automated version generation system that fetches current versions from the registry.
Key changes:
- Added automated version generation tool that fetches versions from Platform.sh registry
- Updated service and runtime versions to their latest supported versions (e.g., Redis 6.2→8.0, PostgreSQL 14→17, Python 3.9→3.13)
- Updated test fixtures and templates to reflect new default versions
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| internal/question/models/generate_versions.go | New generator tool that fetches and formats version data from registry |
| internal/question/models/version.go | Updated version mappings with latest supported versions from registry |
| validator/validator_test.go | Updated test fixtures to use Redis 8.0 instead of 6.2 |
| platformifier/platformifier_test.go | Updated test data with new version arrays and runtime versions |
| platformifier/templates/upsun/.upsun/config.yaml | Updated commented example from PostgreSQL 14 to 17 |
| platformifier/templates/generic/.platform/services.yaml | Updated commented example from PostgreSQL 14 to 17 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
spk
left a comment
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.
LGTM
Fix CLI-24