Skip to content

Commit d1af608

Browse files
committed
chore: more fixes
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
1 parent b82e186 commit d1af608

3 files changed

Lines changed: 9 additions & 24 deletions

File tree

.github/workflows/reusable-e2e.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,7 @@ defaults:
3737
# default failure handling for shell scripts in 'run' steps
3838
shell: 'bash -Eeuo pipefail -x {0}'
3939

40-
permissions:
41-
actions: none
42-
attestations: none
43-
checks: none
44-
contents: none
45-
deployments: none
46-
id-token: none
47-
issues: none
48-
models: none
49-
discussions: none
50-
packages: none
51-
pages: none
52-
pull-requests: none
53-
security-events: none
54-
statuses: none
40+
permissions: {}
5541

5642
jobs:
5743
e2e-local:
@@ -66,7 +52,8 @@ jobs:
6652
POSTGRES_VERSION: ${{ inputs.major_version }}
6753
POSTGRES_IMG: ${{ inputs.postgres_img }}
6854
POSTGRES_KIND: "PostgreSQL"
69-
MAJOR_UPGRADE_IMAGE_REGISTRY: "ghcr.io/${{ github.repository_owner }}/postgresql-trunk"
55+
POSTGRES_MAJOR_UPGRADE_IMAGE_REGISTRY: "ghcr.io/${{ github.repository_owner }}/postgresql-trunk"
56+
POSTGIS_MAJOR_UPGRADE_IMAGE_REGISTRY: "ghcr.io/${{ github.repository_owner }}/postgresql-trunk"
7057

7158
DOCKER_SERVER: ghcr.io
7259
DOCKER_USERNAME: ${{ github.actor }}

Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,13 @@ RUN apt-get purge -y --auto-remove $(cat /build-deps.txt) && \
118118
USER 26
119119

120120
FROM build-layer AS standard
121-
# TODO: re-enable once https://github.com/pgaudit/pgaudit/issues/257 is fixed
122121
# Build PgAudit
123122
# See to https://github.com/pgaudit/pgaudit/blob/master/README.md#compile-and-install
124-
# RUN mkdir -p /usr/src/pgaudit && \
125-
# git clone -b main --single-branch https://github.com/pgaudit/pgaudit.git /usr/src/pgaudit && \
126-
# cd /usr/src/pgaudit && \
127-
# make install USE_PGXS=1 PG_CONFIG=/usr/lib/postgresql/$PG_MAJOR/bin/pg_config && \
128-
# rm -rf /usr/src/pgaudit
123+
RUN mkdir -p /usr/src/pgaudit && \
124+
git clone -b main --single-branch https://github.com/pgaudit/pgaudit.git /usr/src/pgaudit && \
125+
cd /usr/src/pgaudit && \
126+
make install USE_PGXS=1 PG_CONFIG=/usr/lib/postgresql/$PG_MAJOR/bin/pg_config && \
127+
rm -rf /usr/src/pgaudit
129128

130129
# Install all locales
131130
RUN apt-get update && \

docker-bake.hcl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ target "default" {
5454
tgt = [
5555
"minimal",
5656
"standard",
57-
// # TODO: re-enable postgis once https://trac.osgeo.org/postgis/ticket/5965 is fixed
58-
// "postgis"
57+
"postgis"
5958
]
6059
pgMajor = ["${pgMajor}"]
6160
base = ["debian:trixie-slim"]

0 commit comments

Comments
 (0)