Skip to content

Commit

Permalink
Add pg_track_settings (#291)
Browse files Browse the repository at this point in the history
Co-authored-by: Evan Stanton <evanstanton@Evans-MBP.fritz.box>
Co-authored-by: Ian Stanton <ian@coredb.io>
  • Loading branch information
3 people authored Jul 26, 2023
1 parent d668986 commit 59ad18c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
15 changes: 15 additions & 0 deletions contrib/pg_track_settings/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Set PostgreSQL version
ARG PG_VERSION=15
FROM quay.io/coredb/c-builder:pg${PG_VERSION}

# Clone repository
RUN git clone https://github.com/rjuju/pg_track_settings.git

# Set project version
ARG RELEASE=2.1.2

# Build extension
RUN cd pg_track_settings && \
git fetch origin ${RELEASE} && \
git checkout ${RELEASE} && \
make
19 changes: 19 additions & 0 deletions contrib/pg_track_settings/Trunk.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[extension]
name = "pg_track_settings"
version = "2.1.2"
repository = "https://github.com/rjuju/pg_track_settings"
license = "PostgreSQL"
description = "Keep track of postgresql settings modification."
documentation = "https://github.com/rjuju/pg_track_settings"
categories = ["auditing_logging"]

[build]
postgres_version = "15"
platform = "linux/amd64"
dockerfile = "Dockerfile"
install_command = """
cd pg_track_settings && make install
set -x
mv /usr/local/pgsql/share/extension/* /usr/share/postgresql/15/extension
mv /usr/local/pgsql/lib/* /usr/lib/postgresql/15/lib
"""

0 comments on commit 59ad18c

Please sign in to comment.