Skip to content

Remove postgres job and packages; replace with postgres-release#2764

Draft
ZPascal wants to merge 1 commit into
cloudfoundry:mainfrom
ZPascal:replace-postgres-jobs-with-postgres-release
Draft

Remove postgres job and packages; replace with postgres-release#2764
ZPascal wants to merge 1 commit into
cloudfoundry:mainfrom
ZPascal:replace-postgres-jobs-with-postgres-release

Conversation

@ZPascal

@ZPascal ZPascal commented Jul 6, 2026

Copy link
Copy Markdown

Summary

Removes the homegrown `postgres` job and `postgres-15` package from this repo, replacing them with cloudfoundry/postgres-release.

What changed

  • Removed `jobs/postgres` (fully deleted) and its `postgres-15` package, blob entries, and the CI blob-bumping tasks that maintained them
  • Added `docs/postgres-migration.md` with a property-mapping table and in-place cutover procedure for operators switching from either old job

Note on postgres-13

`packages/postgres-13` is retained in this PR because `jobs/postgres-13` (currently being deprecated in PR #2778) still depends on it. Both will be removed in the next bosh release.

Why

The in-tree postgres jobs have been a maintenance burden: every PostgreSQL minor release required a blob bump, a packaging script change, and a new Docker image. postgres-release is a dedicated, well-maintained release that handles packaging, upgrades, and OS compatibility.

Migration path for operators

See `docs/postgres-migration.md` for the full guide.

Related PRs

This is one of three independent PRs split from the original postgres-release migration:

Test plan

  • `bosh create-release --force` succeeds with no references to removed packages
  • No remaining references to `jobs/postgres`, `packages/postgres-15`, or `bump-postgres-packages` in the release

@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: b96fd742-f91f-4076-b55f-e52b8ba62bdd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ZPascal ZPascal force-pushed the replace-postgres-jobs-with-postgres-release branch 3 times, most recently from cd8eaf2 to d8874e6 Compare July 6, 2026 09:51
@ZPascal ZPascal force-pushed the replace-postgres-jobs-with-postgres-release branch from d8874e6 to 9829099 Compare July 14, 2026 21:32
- Delete jobs/postgres (fully removed)
- Delete packages/postgres-15 (only used by removed jobs/postgres job)
- Remove blob entries for postgres packages from config/blobs.yml
- Remove CI blob-bumping tasks and postgres source resources
- Delete spec/postgres_bpm_spec.rb (tested removed job)
- Add docs/postgres-migration.md for operators migrating to postgres-release

Note: packages/postgres-13 is retained because jobs/postgres-13 (currently
deprecated) still depends on it. Both will be removed in the next release.
@ZPascal ZPascal force-pushed the replace-postgres-jobs-with-postgres-release branch from 9829099 to aa82d92 Compare July 14, 2026 21:37
@ZPascal ZPascal changed the title Replace postgres jobs with postgres release Remove postgres job and packages; replace with postgres-release Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant