Skip to content
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
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on:
pull_request:
branches:
- '*'
push:
branches:
- master
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
2 changes: 2 additions & 0 deletions role_scripts/10/primary/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ lc_time = 'en_US.utf8' # locale for time formatting
#include_dir = '...' # include files ending in '.conf' from
# a directory, e.g., 'conf.d'
include_if_exists = '/etc/config/user.conf' # include file only if it exists
include_if_exists = '/etc/config/inline.conf' # include file only if it exists

#include = '...' # include file


Expand Down
2 changes: 1 addition & 1 deletion role_scripts/10/primary/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BOOTSTRAP=${1}
touch /tmp/postgresql.conf

if [[ "${TUNING_ENABLED:-}" == "true" ]]; then
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/tune/user.conf}'" >>/tmp/postgresql.conf
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/config/pgtune.conf}'" >>/tmp/postgresql.conf
fi

echo "wal_level = replica" >>/tmp/postgresql.conf
Expand Down
2 changes: 2 additions & 0 deletions role_scripts/10/standby/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ lc_time = 'en_US.utf8' # locale for time formatting
#include_dir = '...' # include files ending in '.conf' from
# a directory, e.g., 'conf.d'
include_if_exists = '/etc/config/user.conf' # include file only if it exists
include_if_exists = '/etc/config/inline.conf' # include file only if it exists

#include = '...' # include file


Expand Down
2 changes: 1 addition & 1 deletion role_scripts/10/standby/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export PGWAL="$PGDATA/pg_wal"
touch /tmp/postgresql.conf

if [[ "${TUNING_ENABLED:-}" == "true" ]]; then
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/tune/user.conf}'" >>/tmp/postgresql.conf
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/config/pgtune.conf}'" >>/tmp/postgresql.conf
fi

echo "wal_level = replica" >>/tmp/postgresql.conf
Expand Down
2 changes: 2 additions & 0 deletions role_scripts/11/primary/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,8 @@ lc_time = 'en_US.utf8' # locale for time formatting
#include_dir = '...' # include files ending in '.conf' from
# a directory, e.g., 'conf.d'
include_if_exists = '/etc/config/user.conf' # include file only if it exists
include_if_exists = '/etc/config/inline.conf' # include file only if it exists

#include = '...' # include file


Expand Down
2 changes: 1 addition & 1 deletion role_scripts/11/primary/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BOOTSTRAP=${1}
touch /tmp/postgresql.conf

if [[ "${TUNING_ENABLED:-}" == "true" ]]; then
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/tune/user.conf}'" >>/tmp/postgresql.conf
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/config/pgtune.conf}'" >>/tmp/postgresql.conf
fi

echo "wal_level = replica" >>/tmp/postgresql.conf
Expand Down
2 changes: 2 additions & 0 deletions role_scripts/11/standby/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,8 @@ lc_time = 'en_US.utf8' # locale for time formatting
#include_dir = '...' # include files ending in '.conf' from
# a directory, e.g., 'conf.d'
include_if_exists = '/etc/config/user.conf' # include file only if it exists
include_if_exists = '/etc/config/inline.conf' # include file only if it exists

#include = '...' # include file


Expand Down
2 changes: 1 addition & 1 deletion role_scripts/11/standby/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export PGWAL="$PGDATA/pg_wal"
touch /tmp/postgresql.conf

if [[ "${TUNING_ENABLED:-}" == "true" ]]; then
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/tune/user.conf}'" >>/tmp/postgresql.conf
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/config/pgtune.conf}'" >>/tmp/postgresql.conf
fi

echo "wal_level = replica" >>/tmp/postgresql.conf
Expand Down
2 changes: 2 additions & 0 deletions role_scripts/12/primary/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,8 @@ default_text_search_config = 'pg_catalog.english'
#include_dir = '...' # include files ending in '.conf' from
# a directory, e.g., 'conf.d'
include_if_exists = '/etc/config/user.conf' # include file only if it exists
include_if_exists = '/etc/config/inline.conf' # include file only if it exists

#include = '...' # include file


Expand Down
2 changes: 1 addition & 1 deletion role_scripts/12/primary/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BOOTSTRAP=${1}
touch /tmp/postgresql.conf

if [[ "${TUNING_ENABLED:-}" == "true" ]]; then
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/tune/user.conf}'" >>/tmp/postgresql.conf
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/config/pgtune.conf}'" >>/tmp/postgresql.conf
fi

echo "wal_level = replica" >>/tmp/postgresql.conf
Expand Down
2 changes: 2 additions & 0 deletions role_scripts/12/standby/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,8 @@ default_text_search_config = 'pg_catalog.english'
#include_dir = '...' # include files ending in '.conf' from
# a directory, e.g., 'conf.d'
include_if_exists = '/etc/config/user.conf' # include file only if it exists
include_if_exists = '/etc/config/inline.conf' # include file only if it exists

#include = '...' # include file


Expand Down
2 changes: 1 addition & 1 deletion role_scripts/12/standby/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fi
touch /tmp/postgresql.conf

if [[ "${TUNING_ENABLED:-}" == "true" ]]; then
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/tune/user.conf}'" >>/tmp/postgresql.conf
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/config/pgtune.conf}'" >>/tmp/postgresql.conf
fi

echo "wal_level = replica" >>/tmp/postgresql.conf
Expand Down
2 changes: 2 additions & 0 deletions role_scripts/13/primary/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,8 @@ default_text_search_config = 'pg_catalog.english'
#include_dir = '...' # include files ending in '.conf' from
# a directory, e.g., 'conf.d'
include_if_exists = '/etc/config/user.conf' # include file only if it exists
include_if_exists = '/etc/config/inline.conf' # include file only if it exists

#include = '...' # include file


Expand Down
2 changes: 1 addition & 1 deletion role_scripts/13/primary/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BOOTSTRAP=${1}
touch /tmp/postgresql.conf

if [[ "${TUNING_ENABLED:-}" == "true" ]]; then
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/tune/user.conf}'" >>/tmp/postgresql.conf
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/config/pgtune.conf}'" >>/tmp/postgresql.conf
fi

echo "wal_level = replica" >>/tmp/postgresql.conf
Expand Down
2 changes: 2 additions & 0 deletions role_scripts/13/standby/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,8 @@ default_text_search_config = 'pg_catalog.english'
#include_dir = '...' # include files ending in '.conf' from
# a directory, e.g., 'conf.d'
include_if_exists = '/etc/config/user.conf' # include file only if it exists
include_if_exists = '/etc/config/inline.conf' # include file only if it exists

#include = '...' # include file


Expand Down
2 changes: 1 addition & 1 deletion role_scripts/13/standby/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fi
touch /tmp/postgresql.conf

if [[ "${TUNING_ENABLED:-}" == "true" ]]; then
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/tune/user.conf}'" >>/tmp/postgresql.conf
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/config/pgtune.conf}'" >>/tmp/postgresql.conf
fi

echo "wal_level = replica" >>/tmp/postgresql.conf
Expand Down
2 changes: 2 additions & 0 deletions role_scripts/14/primary/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,8 @@ default_text_search_config = 'pg_catalog.english'
#include_dir = '...' # include files ending in '.conf' from
# a directory, e.g., 'conf.d'
include_if_exists = '/etc/config/user.conf' # include file only if it exists
include_if_exists = '/etc/config/inline.conf' # include file only if it exists

#include = '...' # include file


Expand Down
2 changes: 1 addition & 1 deletion role_scripts/14/primary/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BOOTSTRAP=${1}
touch /tmp/postgresql.conf

if [[ "${TUNING_ENABLED:-}" == "true" ]]; then
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/tune/user.conf}'" >>/tmp/postgresql.conf
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/config/pgtune.conf}'" >>/tmp/postgresql.conf
fi

echo "wal_level = replica" >>/tmp/postgresql.conf
Expand Down
2 changes: 2 additions & 0 deletions role_scripts/14/standby/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,8 @@ default_text_search_config = 'pg_catalog.english'
#include_dir = '...' # include files ending in '.conf' from
# a directory, e.g., 'conf.d'
include_if_exists = '/etc/config/user.conf' # include file only if it exists
include_if_exists = '/etc/config/inline.conf' # include file only if it exists

#include = '...' # include file


Expand Down
2 changes: 1 addition & 1 deletion role_scripts/14/standby/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fi
touch /tmp/postgresql.conf

if [[ "${TUNING_ENABLED:-}" == "true" ]]; then
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/tune/user.conf}'" >>/tmp/postgresql.conf
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/config/pgtune.conf}'" >>/tmp/postgresql.conf
fi

echo "wal_level = replica" >>/tmp/postgresql.conf
Expand Down
2 changes: 2 additions & 0 deletions role_scripts/15/primary/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,8 @@ default_text_search_config = 'pg_catalog.english'
#include_dir = '...' # include files ending in '.conf' from
# a directory, e.g., 'conf.d'
include_if_exists = '/etc/config/user.conf' # include file only if it exists
include_if_exists = '/etc/config/inline.conf' # include file only if it exists

#include = '...' # include file


Expand Down
2 changes: 1 addition & 1 deletion role_scripts/15/primary/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BOOTSTRAP=${1}
touch /tmp/postgresql.conf

if [[ "${TUNING_ENABLED:-}" == "true" ]]; then
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/tune/user.conf}'" >>/tmp/postgresql.conf
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/config/pgtune.conf}'" >>/tmp/postgresql.conf
fi

echo "wal_level = replica" >>/tmp/postgresql.conf
Expand Down
2 changes: 2 additions & 0 deletions role_scripts/15/standby/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,8 @@ default_text_search_config = 'pg_catalog.english'
#include_dir = '...' # include files ending in '.conf' from
# a directory, e.g., 'conf.d'
include_if_exists = '/etc/config/user.conf' # include file only if it exists
include_if_exists = '/etc/config/inline.conf' # include file only if it exists

#include = '...' # include file


Expand Down
2 changes: 1 addition & 1 deletion role_scripts/15/standby/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fi
touch /tmp/postgresql.conf

if [[ "${TUNING_ENABLED:-}" == "true" ]]; then
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/tune/user.conf}'" >>/tmp/postgresql.conf
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/config/pgtune.conf}'" >>/tmp/postgresql.conf
fi

echo "wal_level = replica" >>/tmp/postgresql.conf
Expand Down
2 changes: 2 additions & 0 deletions role_scripts/16/primary/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,8 @@ default_text_search_config = 'pg_catalog.english'
#include_dir = '...' # include files ending in '.conf' from
# a directory, e.g., 'conf.d'
include_if_exists = '/etc/config/user.conf' # include file only if it exists
include_if_exists = '/etc/config/inline.conf' # include file only if it exists

#include = '...' # include file


Expand Down
2 changes: 1 addition & 1 deletion role_scripts/16/primary/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ BOOTSTRAP=${1}
touch /tmp/postgresql.conf

if [[ "${TUNING_ENABLED:-}" == "true" ]]; then
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/tune/user.conf}'" >>/tmp/postgresql.conf
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/config/pgtune.conf}'" >>/tmp/postgresql.conf
fi

echo "wal_level = replica" >>/tmp/postgresql.conf
Expand Down
2 changes: 2 additions & 0 deletions role_scripts/16/standby/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,8 @@ default_text_search_config = 'pg_catalog.english'
#include_dir = '...' # include files ending in '.conf' from
# a directory, e.g., 'conf.d'
include_if_exists = '/etc/config/user.conf' # include file only if it exists
include_if_exists = '/etc/config/inline.conf' # include file only if it exists

#include = '...' # include file


Expand Down
2 changes: 1 addition & 1 deletion role_scripts/16/standby/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ fi
touch /tmp/postgresql.conf

if [[ "${TUNING_ENABLED:-}" == "true" ]]; then
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/tune/user.conf}'" >>/tmp/postgresql.conf
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/config/pgtune.conf}'" >>/tmp/postgresql.conf
fi

echo "wal_level = replica" >>/tmp/postgresql.conf
Expand Down
1 change: 1 addition & 0 deletions role_scripts/17/primary/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,7 @@ default_text_search_config = 'pg_catalog.english'
#include_dir = '...' # include files ending in '.conf' from
# a directory, e.g., 'conf.d'
include_if_exists = '/etc/config/user.conf' # include file only if it exists
include_if_exists = '/etc/config/inline.conf' # include file only if it exists
#include = '...' # include file


Expand Down
2 changes: 1 addition & 1 deletion role_scripts/17/primary/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ BOOTSTRAP=${1}
touch /tmp/postgresql.conf

if [[ "${TUNING_ENABLED:-}" == "true" ]]; then
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/tune/user.conf}'" >>/tmp/postgresql.conf
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/config/pgtune.conf}'" >>/tmp/postgresql.conf
fi

echo "wal_level = replica" >>/tmp/postgresql.conf
Expand Down
2 changes: 2 additions & 0 deletions role_scripts/17/standby/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,8 @@ default_text_search_config = 'pg_catalog.english'
#include_dir = '...' # include files ending in '.conf' from
# a directory, e.g., 'conf.d'
include_if_exists = '/etc/config/user.conf' # include file only if it exists
include_if_exists = '/etc/config/inline.conf' # include file only if it exists

#include = '...' # include file


Expand Down
2 changes: 1 addition & 1 deletion role_scripts/17/standby/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ fi
touch /tmp/postgresql.conf

if [[ "${TUNING_ENABLED:-}" == "true" ]]; then
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/tune/user.conf}'" >>/tmp/postgresql.conf
echo "include_if_exists = '${TUNING_FILE_PATH:-/etc/config/pgtune.conf}'" >>/tmp/postgresql.conf
fi

echo "wal_level = replica" >>/tmp/postgresql.conf
Expand Down
2 changes: 2 additions & 0 deletions role_scripts/9/primary/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,8 @@ default_text_search_config = 'pg_catalog.english'
#include_dir = '...' # include files ending in '.conf' from
# a directory, e.g., 'conf.d'
include_if_exists = '/etc/config/user.conf' # include file only if it exists
include_if_exists = '/etc/config/inline.conf' # include file only if it exists

#include = '...' # include file


Expand Down
2 changes: 2 additions & 0 deletions role_scripts/9/standby/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,8 @@ default_text_search_config = 'pg_catalog.english'
#include_dir = '...' # include files ending in '.conf' from
# a directory, e.g., 'conf.d'
include_if_exists = '/etc/config/user.conf' # include file only if it exists
include_if_exists = '/etc/config/inline.conf' # include file only if it exists

#include = '...' # include file


Expand Down