File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments