Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DPE-6395] Update to Postgresql 14.15 #72

Merged
merged 3 commits into from
Jan 17, 2025
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
7 changes: 5 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ on:
jobs:
lint:
name: Lint
uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v23.1.0
uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v24.0.6
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version that works on 24.04

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would recommend v29, since it includes this fix: canonical/data-platform-workflows#269


build:
name: Build snap
uses: canonical/data-platform-workflows/.github/workflows/build_snap.yaml@v23.1.0
uses: canonical/data-platform-workflows/.github/workflows/build_snap.yaml@v24.0.6

smoke:
name: Smoke test snap
Expand All @@ -26,6 +26,9 @@ jobs:
- lint
- build
steps:
- name: Uninstall Postgresql
run: |
sudo apt --purge remove postgresql*
Comment on lines +29 to +31
Copy link
Contributor Author

@dragomirp dragomirp Jan 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Workaround for 24.04, which has preinstalled PG 16

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean GH runner 24.04?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

- name: Checkout
uses: actions/checkout@v4
- name: Install tox & poetry
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ on:
jobs:
build:
name: Build snap
uses: canonical/data-platform-workflows/.github/workflows/build_snap.yaml@v23.1.0
uses: canonical/data-platform-workflows/.github/workflows/build_snap.yaml@v24.0.6

release:
name: Release snap
needs:
- build
uses: canonical/data-platform-workflows/.github/workflows/release_snap.yaml@v23.1.0
uses: canonical/data-platform-workflows/.github/workflows/release_snap.yaml@v24.0.6
with:
channel: 14/edge
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
Expand Down
4 changes: 2 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# yamllint disable rule:line-length
name: charmed-postgresql # you probably want to 'snapcraft register <name>'
base: core22 # the base snap is the execution environment for this snap
version: '14.13' # just for humans, typically '1.2+git' or '1.3.2'
version: '14.15' # just for humans, typically '1.2+git' or '1.3.2'
summary: PostgreSQL in a snap.
description: |
PostgreSQL is a free and open-source relational database management
Expand Down Expand Up @@ -240,7 +240,7 @@ parts:
- locales-all
# Landscape deps
- postgresql-14-debversion=1.1.1-5
- postgresql-plpython3-14=14.13-0ubuntu0.22.04.1
- postgresql-plpython3-14=14.15-0ubuntu0.22.04.1
- postgresql-contrib=14+238
- postgresql-plperl-14
- postgresql-14-similarity
Expand Down
Loading