We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f961371 commit a8f1a6bCopy full SHA for a8f1a6b
ansible/tasks/test-image.yml
@@ -63,6 +63,21 @@
63
failed_when: retval.rc != 0
64
when: debpkg_mode or stage2_nix
65
66
+- name: Check psql_version and modify migrations if orioe-16
67
+ block:
68
+ - name: Check if psql_version is psql_oriole-16
69
+ set_fact:
70
+ is_psql_oriole_16: "{{ psql_version == 'psql_oriole-16' }}"
71
+
72
+ - name: Remove specified extensions from SQL file
73
+ ansible.builtin.command:
74
+ cmd: >
75
+ sed -i '/\(timescaledb\|postgis\|pgrouting\|plv8\|pgvector\)/d'
76
+ /tmp/migrations/tests/test.sql
77
+ when: is_psql_oriole_16 and stage2_nix
78
+ become: yes
79
80
81
- name: Run migrations tests
82
shell: /usr/bin/pg_prove -U supabase_admin -h localhost -d postgres -v tests/test.sql
83
register: retval
0 commit comments