feat: add pg-jsonschema container image#266
Open
elohmeier wants to merge 1 commit into
Open
Conversation
Add the pg_jsonschema extension image using Supabase release Debian packages for PostgreSQL 18 on bookworm and trixie. Closes cloudnative-pg#117 Signed-off-by: Enno Richter <2536303+elohmeier@users.noreply.github.com>
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.
Description
This PR adds a
pg-jsonschemaextension container image for PostgreSQL 18 onDebian
bookwormandtrixie.pg_jsonschemaprovides JSON Schema validation for PostgreSQLjsonandjsonbdata.Packaging note:
pg_jsonschemais currently not available through the PG 18bookwormortrixiebase-image apt sources. This image intentionallyinstalls Supabase's official GitHub release
.debassets from:https://github.com/supabase/pg_jsonschema/releases/tag/v0.3.4
The package contains
pg_jsonschema.control,pg_jsonschema--0.3.4.sql, andpg_jsonschema.so. The final image remainsFROM scratchand copies only theextension artifacts plus the upstream Apache-2.0 license.
Type of change
Closes #117. Follow-up to #103.
Contributor checklist
compliance (
git commit -s).mainbranch of the upstream repository.task checks:allpasses locally.Not run locally.
tests pass (e.g.
task bake TARGET=<ext>,task e2e:test:full TARGET=<ext>).task bake TARGET=pg-jsonschemapassed locally; full E2E was not runlocally.
// renovate:comments touched inmetadata.hcl/README.mdremainintact (
suite=,depName=,extractVersion=).This PR uses GitHub tag-based Renovate annotations for
supabase/pg_jsonschema.README.md,BUILD.md, ...) updated where relevant.Maintainer review checklist
// renovate:annotations preserved so automated version tracking keepsworking.
_sharedfilter in.github/workflows/bake.ymlwas updated when all extensions must rebuild.mainand is ready to merge.