Skip to content

Commit 838f9ce

Browse files
committed
chore: also deactivate supabase_vault in test
1 parent 32f6a27 commit 838f9ce

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

ansible/tasks/test-image.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,18 @@
1111
# cmd: sed -i.bak -e "s/pg_net,\ pgsodium,\ timescaledb/pg_net,\ timescaledb/g" -e "s/pgsodium.getkey_script=/#pgsodium.getkey_script=/g" /etc/postgresql/postgresql.conf
1212
# when: debpkg_mode or stage2_nix
1313

14-
- name: Temporarily disable PG Sodium references in config
14+
- name: Temporarily disable PG Sodium and Supabase Vault references in config
1515
become: yes
1616
become_user: postgres
1717
shell:
1818
cmd: >
19-
sed -i.bak
20-
-e 's/\(shared_preload_libraries = '\''.*\)pgsodium,\(.*'\''\)/\1\2/'
21-
-e 's/pgsodium.getkey_script=/#pgsodium.getkey_script=/'
19+
sed -i.bak
20+
-e 's/\(shared_preload_libraries = '\''.*\)pgsodium,\(.*'\''\)/\1\2/'
21+
-e 's/\(shared_preload_libraries = '\''.*\)supabase_vault,\(.*'\''\)/\1\2/'
22+
-e 's/pgsodium.getkey_script=/#pgsodium.getkey_script=/'
2223
/etc/postgresql/postgresql.conf
2324
when: debpkg_mode or stage2_nix
24-
25+
2526
- name: Start Postgres Database to load all extensions.
2627
become: yes
2728
become_user: postgres

0 commit comments

Comments
 (0)