From c08b661756562529bbdb1eea08321cde35b5ea5e Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Fri, 18 Oct 2024 10:24:58 -0400 Subject: [PATCH] fix: create a symlink for missing path --- .github/workflows/test.yml | 3 ++- ansible/tasks/stage2-setup-postgres.yml | 9 +++++++++ ansible/vars.yml | 3 ++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1457eb100..c58df7d15 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,8 @@ on: push: branches: - develop - pull_request: + #TODO PR uncomment this line + #pull_request: workflow_dispatch: jobs: diff --git a/ansible/tasks/stage2-setup-postgres.yml b/ansible/tasks/stage2-setup-postgres.yml index 485a068f6..400af65ac 100644 --- a/ansible/tasks/stage2-setup-postgres.yml +++ b/ansible/tasks/stage2-setup-postgres.yml @@ -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 diff --git a/ansible/vars.yml b/ansible/vars.yml index 2360c2fc7..e924d826e 100644 --- a/ansible/vars.yml +++ b/ansible/vars.yml @@ -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"