Skip to content

Commit

Permalink
Add PG start step
Browse files Browse the repository at this point in the history
  • Loading branch information
artemgavrilov committed Jan 23, 2024
1 parent d682d95 commit e8771ee
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/postgresql-16-src-make-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@ jobs:
sudo make install
working-directory: src/contrib/postgres-tde-ext

- name: Start postgresql cluster with pg_tde
run: |
export PATH="$HOME/postgres/bin:$PATH"
sudo cp /usr/local/pgsql/bin/pg_config /usr/bin
initdb -D $HOME/pgsql/data
echo "shared_preload_libraries = 'pg_tde'" >> \
/$HOME/pgsql/data/postgresql.conf
echo "pg_tde.keyringConfigFile = '/tmp/keyring.json'" >> \
$HOME/pgsql/data/postgresql.conf
cp src/contrib/postgres-tde-ext/keyring.json /tmp/keyring.json
pg_ctl -D $HOME/pgsql/data -l logfile start
- name: Run debug commands on failure
if: ${{ failure() }}
run: |
Expand Down

0 comments on commit e8771ee

Please sign in to comment.