Skip to content

Commit

Permalink
Merge pull request #4 from canonical/add-psql
Browse files Browse the repository at this point in the history
[MISC] Add snapped psql
  • Loading branch information
dragomirp authored Jun 26, 2024
2 parents 7b7130d + e34eec7 commit b164697
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ layout:
bind: $SNAP/usr/share/perl
/usr/local/lib/site_perl:
bind: $SNAP/usr/local/lib/site_perl
/usr/lib/postgresql/14:
bind: $SNAP/usr/lib/postgresql/14

slots:
logs:
Expand All @@ -66,6 +68,10 @@ apps:
plugs:
- network
- network-bind
psql:
command: usr/bin/psql
plugs:
- network

parts:
postgres-debs:
Expand All @@ -75,11 +81,15 @@ parts:
- pgbouncer=1.21.0-0ubuntu0.22.04.1~ppa1
- golang-github-prometheus-community-pgbouncer-exporter=0.7.0-0ubuntu0.22.04.1~ppa1
- locales-all
- postgresql-client-common
- postgresql-client-14
organize:
usr/share/doc/util-linux/copyright: licenses/COPYRIGHT-util-linux
usr/share/doc/pgbouncer/copyright: licenses/COPYRIGHT-pgbouncer
usr/share/doc/golang-github-prometheus-community-pgbouncer-exporter/copyright: licenses/COPYRIGHT-golang-github-prometheus-community-pgbouncer-exporter
usr/share/doc/locales-all/copyright: licenses/COPYRIGHT-locales-all
usr/share/doc/postgresql-client-common/copyright: licenses/COPYRIGHT-postgresql-client-common
usr/share/doc/postgresql-client-14/copyright: licenses/COPYRIGHT-postgresql-client-14
snap-license:
plugin: dump
source: .
Expand Down

0 comments on commit b164697

Please sign in to comment.