diff --git a/packages.txt b/packages.txt index 0f9939c9db0..9eac95a26da 100644 --- a/packages.txt +++ b/packages.txt @@ -880,3 +880,4 @@ php-igbinary bluez pulseaudio php-redis +pgcat diff --git a/pgcat.yaml b/pgcat.yaml new file mode 100644 index 00000000000..2afae0bfddc --- /dev/null +++ b/pgcat.yaml @@ -0,0 +1,38 @@ +package: + name: pgcat + version: 1.0.0 + epoch: 0 + description: "PostgreSQL pooler with sharding, load balancing and failover support." + copyright: + - license: MIT + +environment: + contents: + packages: + - rust + - libLLVM-15 + - wolfi-base + - busybox + - ca-certificates-bundle + - build-base + +pipeline: + - uses: git-checkout + with: + repository: https://github.com/postgresml/pgcat + tag: v${{package.version}} + expected-commit: 0d5feac4b299ab9eac8cdb6641d06b0606696442 + + - name: Configure and build + runs: | + cargo build --release -vv + mkdir -p ${{targets.destdir}}/usr/bin/ + mv target/release/pgcat ${{targets.destdir}}/usr/bin/ + + - uses: strip + +update: + enabled: true + github: + identifier: postgresml/pgcat + strip-prefix: v