8000 fix: Disable migration tasks (#358) · deerle/postgres@1e78677 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1e78677

Browse files
authored
fix: Disable migration tasks (supabase#358)
Signed-off-by: Lakshmipathi <lakshmi@supabase.io>
1 parent d0779cf commit 1e78677

File tree

3 files changed

+1
-22
lines changed

3 files changed

+1
-22
lines changed

ansible/playbook.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,6 @@
153153
shell:
154154
cmd: "for fl in /usr/lib/postgresql/bin/* ; do ln -sf $fl /usr/bin/$(basename $fl) ; done"
155155

156-
- name: Run migrations
157-
import_tasks: tasks/setup-migrations.yml
158-
159156
- name: Stop Postgres Database without Systemd
160157
become: yes
161158
become_user: postgres

ansible/tasks/test-image.yml

Lines changed: 0 additions & 18 deletions
24
Original file line numberDiff line numberDiff line change
@@ -21,30 +21,12 @@
2121
shell: /usr/lib/postgresql/bin/psql -U postgres -h localhost -d postgres -c "CREATE extension pgtap";
2222
when: ebssurrogate_mode
2323

-
- name: Create function for testing extensions
25-
shell: /usr/lib/postgresql/bin/psql -U postgres -h localhost -d postgres -f /tmp/unit-tests/test-extensions.sql;
26-
when: ebssurrogate_mode
27-
28-
- name: Extension Installation tests (Ignore errors temporarily)
29-
shell: /usr/bin/pg_prove -U postgres -h localhost -d postgres -v /tmp/unit-tests/verify-extensions.sql
30-
register: retval
31-
when: ebssurrogate_mode
32-
ignore_errors: yes
33-
3424
- name: Run Unit tests (with filename unit-test-*) on Postgres Database
3525
shell: /usr/bin/pg_prove -U postgres -h localhost -d postgres -v /tmp/unit-tests/unit-test-*.sql
3626
register: retval
3727
failed_when: retval.rc != 0
3828
when: ebssurrogate_mode
3929

40-
- name: Run migrations tests
41-
shell: /usr/bin/pg_prove -U postgres -h localhost -d postgres -v tests/test.sql
42-
register: retval
43-
failed_when: retval.rc != 0
44-
when: ebssurrogate_mode
45-
args:
46-
chdir: /tmp/migrations
47-
4830
- name: Re-enable PG Sodium references in config
4931
become: yes
5032
become_user: postgres

common.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "14.1.0.86"
1+
postgres-version = "14.1.0.87"

0 commit comments

Comments
 (0)
0