pgxman
uses to specify how a PostgreSQL extension should be built and packaged. Buildkits are added to the buildkit repository.
Below is an example buildkit configuration including all the fields:
apiVersion
v1
is supported.name
maintainers
name
:
email
:
source
.tar.gz
.repository
version
pgVersions
"13"
, "14"
, "15"
, "16"
"13"
, "14"
, "15"
, "16"
license
build
$DESTDIR
directory.pre
:
name
:
run
:
main
:
name
:
run
:
DESTDIR
: Indicates the directory where the built extension should be placed.WORKDIR
: The working directory that contains the source code and the script.PG_CONFIG
: Identifies the path to the pg_config
executable.USE_PGXS
: Always set to 1
.PG_VERSION
: The PostgreSQL version that the script is building against.post
:
name
:
run
:
runDependencies
pgxman/EXTENSION
.buildDependencies
pgxman/EXTENSION
.arch
amd64
, arm64
amd64
, arm64
formats
deb
) are supported.deb
deb
description
homepage
keywords
pgxman
tool searches.readme
pgxman
tries to detect a README file at the root of extension source.builders
debian:bookworm
:
buildDependencies
:
debian:bookworm
builder. This list overrides the global buildDependencies
. pgxman extensions can be specified as dependencies using the format pgxman/EXTENSION
.runDependencies
:
debian:bookworm
builder. This list overrides the global runDependencies
. pgxman extensions can be specified as dependencies using the format pgxman/EXTENSION
.image
:
ghcr.io/pgxman/builder/debian/bookworm
aptRepositories
:
id
:
types
:
deb
, deb-src
uris
:
suites
:
components
:
signedKey
:
uri
:
format
:
gpg
, asc
ubuntu:jammy
:
buildDependencies
:
ubuntu:jammy
builder. This list overrides the global buildDependencies
. pgxman extensions can be specified as dependencies using the format pgxman/EXTENSION
.runDependencies
:
ubuntu:jammy
builder. This list overrides the global runDependencies
. pgxman extensions can be specified as dependencies using the format pgxman/EXTENSION
.image
:
ghcr.io/pgxman/builder/ubuntu/jammy
aptRepositories
:
id
:
types
:
deb
, deb-src
uris
:
suites
:
components
:
signedKey
:
uri
:
format
:
gpg
, asc
overrides
pgVersions
:
pgVersions
field.
pgVersions
at the root.
source
version
build
builders
arch
formats
readme
buildDependencies
runDependencies