Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -880,3 +880,4 @@ php-igbinary
bluez
pulseaudio
php-redis
pgcat
38 changes: 38 additions & 0 deletions pgcat.yaml
Original file line number Diff line number Diff line change
@@ -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