Skip to content

Commit

Permalink
fix: create a symlink for missing path
Browse files Browse the repository at this point in the history
  • Loading branch information
samrose committed Oct 18, 2024
1 parent 67382a6 commit c08b661
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
push:
branches:
- develop
pull_request:
#TODO PR uncomment this line
#pull_request:
workflow_dispatch:

jobs:
Expand Down
9 changes: 9 additions & 0 deletions ansible/tasks/stage2-setup-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,15 @@
line: pgsodium.getkey_script= '{{ pg_bindir }}/pgsodium_getkey.sh'
when: stage2_nix

#TODO PR may need to remove this.
- name: Create symbolic link for pgsodium_getkey script
file:
src: "/usr/lib/postgresql/bin/pgsodium_getkey.sh"
dest: "/usr/lib/postgresql/share/postgresql/extension/pgsodium_getkey"
state: link
become: yes
when: stage2_nix

- name: Append GRN_PLUGINS_DIR to /etc/environment.d/postgresql.env
ansible.builtin.lineinfile:
path: /etc/environment.d/postgresql.env
Expand Down
3 changes: 2 additions & 1 deletion ansible/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ postgres_major:
- "oriole-16"

# Full version strings for each major version
# TOD PR uncomment these lines
postgres_release:
#postgres15: "15.8.1.003-staging-5"
#postgres16: "16.3.1.000-staging-5"
postgresoriole-16: "oriole-16.3.1.000-staging-6"
postgresoriole-16: "oriole-16.3.1.000-staging-5"

# Non Postgres Extensions
pgbouncer_release: "1.19.0"
Expand Down

0 comments on commit c08b661

Please sign in to comment.