Skip to content

Commit 3e23b5e

Browse files
authored
Merge branch 'develop' into INDATA-211
2 parents 119e353 + d95ee44 commit 3e23b5e

File tree

11 files changed

+72
-179
lines changed

11 files changed

+72
-179
lines changed

Dockerfile-15

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ COPY --from=groonga /tmp/groonga-plugins/plugins /usr/lib/groonga/plugins
173173
COPY --chown=postgres:postgres ansible/files/postgresql_config/postgresql.conf.j2 /etc/postgresql/postgresql.conf
174174
COPY --chown=postgres:postgres ansible/files/postgresql_config/pg_hba.conf.j2 /etc/postgresql/pg_hba.conf
175175
COPY --chown=postgres:postgres ansible/files/postgresql_config/pg_ident.conf.j2 /etc/postgresql/pg_ident.conf
176+
COPY --chown=postgres:postgres ansible/files/postgresql_config/conf.d /etc/postgresql-custom/
176177
COPY --chown=postgres:postgres ansible/files/postgresql_config/postgresql-stdout-log.conf /etc/postgresql/logging.conf
177178
COPY --chown=postgres:postgres ansible/files/postgresql_config/supautils.conf.j2 /etc/postgresql-custom/supautils.conf
178179
COPY --chown=postgres:postgres ansible/files/postgresql_extension_custom_scripts /etc/postgresql-custom/extension-custom-scripts
@@ -193,8 +194,8 @@ RUN sed -i \
193194
echo "vault.getkey_script= '/usr/lib/postgresql/bin/pgsodium_getkey.sh'" >> /etc/postgresql/postgresql.conf && \
194195
echo 'auto_explain.log_min_duration = 10s' >> /etc/postgresql/postgresql.conf && \
195196
usermod -aG postgres wal-g && \
196-
mkdir -p /etc/postgresql-custom && \
197-
chown postgres:postgres /etc/postgresql-custom
197+
mkdir -p /etc/postgresql-custom/conf.d && \
198+
chown -R postgres:postgres /etc/postgresql-custom
198199

199200
# # Include schema migrations
200201
COPY migrations/db /docker-entrypoint-initdb.d/

Dockerfile-17

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ COPY --from=groonga /tmp/groonga-plugins/plugins /usr/lib/groonga/plugins
178178
COPY --chown=postgres:postgres ansible/files/postgresql_config/postgresql.conf.j2 /etc/postgresql/postgresql.conf
179179
COPY --chown=postgres:postgres ansible/files/postgresql_config/pg_hba.conf.j2 /etc/postgresql/pg_hba.conf
180180
COPY --chown=postgres:postgres ansible/files/postgresql_config/pg_ident.conf.j2 /etc/postgresql/pg_ident.conf
181+
COPY --chown=postgres:postgres ansible/files/postgresql_config/conf.d /etc/postgresql-custom/
181182
COPY --chown=postgres:postgres ansible/files/postgresql_config/postgresql-stdout-log.conf /etc/postgresql/logging.conf
182183
COPY --chown=postgres:postgres ansible/files/postgresql_config/supautils.conf.j2 /etc/postgresql-custom/supautils.conf
183184
COPY --chown=postgres:postgres ansible/files/postgresql_extension_custom_scripts /etc/postgresql-custom/extension-custom-scripts
@@ -198,8 +199,8 @@ RUN sed -i \
198199
echo "vault.getkey_script= '/usr/lib/postgresql/bin/pgsodium_getkey.sh'" >> /etc/postgresql/postgresql.conf && \
199200
echo 'auto_explain.log_min_duration = 10s' >> /etc/postgresql/postgresql.conf && \
200201
usermod -aG postgres wal-g && \
201-
mkdir -p /etc/postgresql-custom && \
202-
chown postgres:postgres /etc/postgresql-custom
202+
mkdir -p /etc/postgresql-custom/conf.d && \
203+
chown -R postgres:postgres /etc/postgresql-custom
203204

204205
# Remove items from postgresql.conf
205206
RUN sed -i 's/ timescaledb,//g;' "/etc/postgresql/postgresql.conf"

Dockerfile-orioledb-17

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ COPY --from=groonga /tmp/groonga-plugins/plugins /usr/lib/groonga/plugins
178178
COPY --chown=postgres:postgres ansible/files/postgresql_config/postgresql.conf.j2 /etc/postgresql/postgresql.conf
179179
COPY --chown=postgres:postgres ansible/files/postgresql_config/pg_hba.conf.j2 /etc/postgresql/pg_hba.conf
180180
COPY --chown=postgres:postgres ansible/files/postgresql_config/pg_ident.conf.j2 /etc/postgresql/pg_ident.conf
181+
COPY --chown=postgres:postgres ansible/files/postgresql_config/conf.d /etc/postgresql-custom/
181182
COPY --chown=postgres:postgres ansible/files/postgresql_config/postgresql-stdout-log.conf /etc/postgresql/logging.conf
182183
COPY --chown=postgres:postgres ansible/files/postgresql_config/supautils.conf.j2 /etc/postgresql-custom/supautils.conf
183184
COPY --chown=postgres:postgres ansible/files/postgresql_extension_custom_scripts /etc/postgresql-custom/extension-custom-scripts
@@ -198,8 +199,8 @@ RUN sed -i \
198199
echo "vault.getkey_script= '/usr/lib/postgresql/bin/pgsodium_getkey.sh'" >> /etc/postgresql/postgresql.conf && \
199200
echo 'auto_explain.log_min_duration = 10s' >> /etc/postgresql/postgresql.conf && \
200201
usermod -aG postgres wal-g && \
201-
mkdir -p /etc/postgresql-custom && \
202-
chown postgres:postgres /etc/postgresql-custom
202+
mkdir -p /etc/postgresql-custom/conf.d && \
203+
chown -R postgres:postgres /etc/postgresql-custom
203204

204205
# Remove items from postgresql.conf
205206
RUN sed -i 's/ timescaledb,//g;' "/etc/postgresql/postgresql.conf"

ansible/files/postgresql_config/conf.d/.gitkeep

Whitespace-only changes.

ansible/files/postgresql_config/postgresql.conf.j2

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,8 +750,6 @@ jit_provider = 'llvmjit' # JIT library to use
750750
# default postgresql.conf. Note that these are directives, not variable
751751
# assignments, so they can usefully be given more than once.
752752

753-
#include_dir = '...' # include files ending in '.conf' from
754-
# a directory, e.g., 'conf.d'
755753
#include_if_exists = '...' # include file only if it exists
756754
#include = '...' # include file
757755

@@ -769,6 +767,7 @@ include = '/etc/postgresql-custom/read-replica.conf'
769767
# supautils specific configurations
770768
#include = '/etc/postgresql-custom/supautils.conf'
771769

770+
include_dir = '/etc/postgresql-custom/conf.d' # include files ending in '.conf' from a directory, e.g., 'conf.d'
772771
#------------------------------------------------------------------------------
773772
# CUSTOMIZED OPTIONS
774773
#------------------------------------------------------------------------------

ansible/tasks/setup-postgres.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
- '/home/postgres'
116116
- '/var/lib/postgresql/data'
117117
- '/var/log/postgresql'
118+
- '/etc/postgresql-custom/conf.d'
118119
loop_control:
119120
loop_var: 'pg_dir_item'
120121

@@ -137,6 +138,7 @@
137138
loop:
138139
- '/etc/postgresql'
139140
- '/etc/postgresql-custom'
141+
- '/etc/postgresql-custom/conf.d'
140142
loop_control:
141143
loop_var: 'pg_config_dir_item'
142144

ansible/vars.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ postgres_major:
1010

1111
# Full version strings for each major version
1212
postgres_release:
13-
postgresorioledb-17: "17.6.0.010-orioledb"
14-
postgres17: "17.6.1.053"
15-
postgres15: "15.14.1.053"
13+
postgresorioledb-17: "17.6.0.011-orioledb"
14+
postgres17: "17.6.1.054"
15+
postgres15: "15.14.1.054"
1616

1717
# Non Postgres Extensions
1818
pgbouncer_release: 1.19.0
@@ -55,7 +55,7 @@ postgres_exporter_release_checksum:
5555

5656
adminapi_release: "0.93.0"
5757
adminmgr_release: "0.32.3"
58-
supabase_admin_agent_release: 1.4.38
58+
supabase_admin_agent_release: 1.6.0
5959
supabase_admin_agent_splay: 30s
6060

6161
vector_x86_deb: https://packages.timber.io/vector/0.48.X/vector_0.48.0-1_amd64.deb

flake.lock

Lines changed: 30 additions & 167 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)