Skip to content

Commit bfb200c

Browse files
[ONPREM-2478] Upgrade Postgres to 13.21 (#118)
* Upgrade Postgres to 13.21 * Fix check-version-bump job Was missing a context * Bump Postgres Helm chart version
1 parent ca015c0 commit bfb200c

29 files changed

+9
-8
lines changed

.circleci/config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ jobs:
4949
environment:
5050
NAME: server-postgres
5151
DOCKERFILE_PATH: Dockerfile
52-
MAJOR_VERSION: 12.22
53-
pwd: postgresql/12
52+
MAJOR_VERSION: 13.21
53+
pwd: postgresql/13
5454
scan_rabbitmq:
5555
executor: ccc
5656
steps:
@@ -282,7 +282,8 @@ workflows:
282282

283283
# Chart jobs
284284
- validate-charts
285-
- check-version-bump
285+
- check-version-bump:
286+
context: runner-package-deploy
286287
- package-charts:
287288
context: releng-signing
288289
requires: [validate-charts, check-version-bump]

helm/postgresql/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
annotations:
22
category: Database
33
apiVersion: v2
4-
appVersion: 14.3.0
4+
appVersion: 13.21.0
55
dependencies:
66
- name: common-v1
77
repository: "file://../common/v1"
@@ -27,4 +27,4 @@ name: postgresql
2727
sources:
2828
- https://github.com/bitnami/bitnami-docker-postgresql
2929
- https://www.postgresql.org/
30-
version: 11.6.0
30+
version: 11.6.1

postgresql/12/Dockerfile renamed to postgresql/13/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ENV POSTGRESQL_BASE_DIR "/opt/bitnami/postgresql"
1010
ENV PATH="${POSTGRESQL_BASE_DIR}/bin:${PATH}"
1111

1212
# Install PostgreSQL
13-
ENV POSTGRESQL_VERSION 12.22
13+
ENV POSTGRESQL_VERSION 13.21
1414
RUN install_packages clang dirmngr gosu gnupg libclang-dev libicu-dev libipc-run-perl libkrb5-dev libldap2-dev liblz4-dev locales libpam-dev libperl-dev libpython3-dev libreadline-dev libssl-dev libxml2-dev libxslt1-dev llvm llvm-dev postgresql-server-dev-all python3-dev tcl-dev uuid-dev
1515
RUN curl -sSL "https://ftp.postgresql.org/pub/source/v${POSTGRESQL_VERSION}/postgresql-${POSTGRESQL_VERSION}.tar.gz" | tar -xz && \
1616
cd "postgresql-${POSTGRESQL_VERSION}" && \
@@ -42,7 +42,7 @@ RUN curl -sSL "https://ftp.postgresql.org/pub/source/v${POSTGRESQL_VERSION}/post
4242
make clean
4343

4444
# Install pgAudit
45-
ENV POSTGRESQL_PGAUDIT_VERSION 1.4.3
45+
ENV POSTGRESQL_PGAUDIT_VERSION 1.5.3
4646
RUN curl -sSL "https://github.com/pgaudit/pgaudit/archive/${POSTGRESQL_PGAUDIT_VERSION}.tar.gz" | tar -xz && \
4747
cd pgaudit-${POSTGRESQL_PGAUDIT_VERSION} && \
4848
make -j $(nproc) USE_PGXS=1 && \
@@ -116,7 +116,7 @@ RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && locale-gen
116116
COPY rootfs /
117117
RUN /opt/bitnami/scripts/postgresql/postunpack.sh
118118
RUN /opt/bitnami/scripts/locales/add-extra-locales.sh
119-
ENV APP_VERSION="12.22.0" \
119+
ENV APP_VERSION="13.21.0" \
120120
BITNAMI_APP_NAME="postgresql" \
121121
LANG="en_US.UTF-8" \
122122
LANGUAGE="en_US:en" \
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)