Skip to content

Commit

Permalink
use pg 16 snap
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgameiroborges committed Nov 26, 2024
1 parent 9d512ca commit c6f929b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:
on:
push:
branches:
- 14-22.04
- 16-24.04
paths:
- rockcraft.yaml
workflow_dispatch:
Expand Down
10 changes: 5 additions & 5 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: charmed-postgresql
base: ubuntu@22.04
version: '14.13'
base: ubuntu@24.04
version: '16.4'
summary: PostgreSQL in a rock.
description: |
The PostgreSQL rock is created using the
Expand All @@ -16,7 +16,7 @@ parts:
postgresql-snap:
plugin: nil
stage-snaps:
- charmed-postgresql/14/edge
- charmed-postgresql/16/edge
stage-packages:
- python3
overlay-packages:
Expand Down Expand Up @@ -59,7 +59,7 @@ parts:
mkdir -p $CRAFT_PRIME/usr/share/rocks
echo "# os-release" > $CRAFT_PRIME/usr/share/rocks/dpkg.query
cat \
${CRAFT_PROJECT_DIR}/../bundles/ubuntu-22.04/rootfs/etc/os-release \
${CRAFT_PROJECT_DIR}/../bundles/ubuntu-24.04/rootfs/etc/os-release \
>> $CRAFT_PRIME/usr/share/rocks/dpkg.query
echo "# dpkg-query" >> $CRAFT_PRIME/usr/share/rocks/dpkg.query
declare -a fields
Expand All @@ -73,7 +73,7 @@ parts:
--root=${CRAFT_PROJECT_DIR}/../parts/postgresql-snap/layer/ \
>> $CRAFT_PRIME/usr/share/rocks/dpkg.query
# PostgreSQL extensions
pushd "${CRAFT_PRIME}/usr/share/postgresql/14/extension"
pushd "${CRAFT_PRIME}/usr/share/postgresql/16/extension"
ln -f postgis-3.control postgis.control
ln -f address_standardizer-3.control \
address_standardizer.control
Expand Down

0 comments on commit c6f929b

Please sign in to comment.