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 79
79
- ' *postgis*.sql'
80
80
- ' *pgrouting*.sql'
81
81
- ' *plv8*.sql'
82
- - ' *pg_jsonschema*.sql'
83
- - ' *pg_graphql*.sql'
84
82
register : files_to_remove
85
83
when : is_psql_oriole
86
84
91
89
loop : " {{ files_to_remove.files }}"
92
90
when : is_psql_oriole
93
91
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
117
92
118
93
- name : Run Unit tests (with filename unit-test-*) on Postgres Database
119
94
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