Deprecate postgres-13 job: removal scheduled for next release#2778
Deprecate postgres-13 job: removal scheduled for next release#2778ZPascal wants to merge 1 commit into
Conversation
The postgres-13 job will be removed in the next bosh release. Operators should migrate to cloudfoundry/postgres-release. See docs/postgres-migration.md for upgrade instructions.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughThe Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR deprecates the postgres-13 BOSH job ahead of its scheduled removal, by surfacing the deprecation both in the job metadata and during deployment/startup so operators see a clear migration signal.
Changes:
- Adds a deprecation warning message to the
postgres-13jobpre-startscript output. - Adds a
descriptionfield tojobs/postgres-13/specmarking the job as deprecated and directing operators to migrate.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| jobs/postgres-13/templates/pre-start.erb | Emits deprecation warning lines when the job runs its pre-start hook. |
| jobs/postgres-13/spec | Marks the job as deprecated via the job spec description string. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| echo "WARNING: The postgres-13 job is deprecated and will be removed in the next bosh release." | ||
| echo "WARNING: Migrate to the postgres job from cloudfoundry/postgres-release. See docs/postgres-migration.md" |
| @@ -1,5 +1,6 @@ | |||
| --- | |||
| name: postgres-13 | |||
| description: "DEPRECATED: This job will be removed in the next bosh release. Use the postgres job from cloudfoundry/postgres-release instead. See docs/postgres-migration.md for upgrade instructions." | |||
Summary
Marks the `postgres-13` job as deprecated ahead of its removal in the next bosh release.
Operators should migrate to cloudfoundry/postgres-release. See `docs/postgres-migration.md` (added in a companion PR) for the full migration guide.
Related PRs
This is one of three independent PRs split from the original postgres-release migration:
Test plan