Skip to content

Commit bb1f017

Browse files
committed
chore: update to unit test in ansible build include pg_grapqhl and pg_jsonschema
for orioledb
1 parent 7a7c40d commit bb1f017

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

ansible/tasks/test-image.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@
7979
- '*postgis*.sql'
8080
- '*pgrouting*.sql'
8181
- '*plv8*.sql'
82-
- '*pg_jsonschema*.sql'
83-
- '*pg_graphql*.sql'
8482
register: files_to_remove
8583
when: is_psql_oriole
8684

@@ -91,29 +89,6 @@
9189
loop: "{{ files_to_remove.files }}"
9290
when: is_psql_oriole
9391
become: yes
94-
95-
- name: Remove specified extensions from SQL file
96-
ansible.builtin.command:
97-
cmd: >
98-
sed -i "/'pg_graphql',/d" /tmp/unit-tests/unit-test-01.sql
99-
when: is_psql_oriole
100-
become: yes
101-
102-
- name: Remove graphql schema test
103-
lineinfile:
104-
path: /tmp/migrations/tests/database/exists.sql
105-
regexp: "^SELECT has_schema\\('graphql'\\);$"
106-
state: absent
107-
become: yes
108-
when: is_psql_oriole
109-
110-
- name: Remove graphql schema test
111-
lineinfile:
112-
path: /tmp/migrations/tests/database/exists.sql
113-
regexp: "^SELECT has_schema\\('graphql_public'\\);$"
114-
state: absent
115-
become: yes
116-
when: is_psql_oriole
11792

11893
- name: Run Unit tests (with filename unit-test-*) on Postgres Database
11994
shell: /usr/bin/pg_prove -U postgres -h localhost -d postgres -v /tmp/unit-tests/unit-test-*.sql

0 commit comments

Comments
 (0)