Comment out Koschei BDR sync for now
This commit is contained in:
parent
411998beb7
commit
55c4cadb0d
1 changed files with 23 additions and 23 deletions
|
@ -37,29 +37,29 @@
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- shell: >
|
# - shell: >
|
||||||
koschei-admin psql <<< "
|
# koschei-admin psql <<< "
|
||||||
BEGIN;
|
# BEGIN;
|
||||||
SET LOCAL bdr.permit_ddl_locking = true;
|
# SET LOCAL bdr.permit_ddl_locking = true;
|
||||||
UPDATE base_package SET all_blocked = true;
|
# UPDATE base_package SET all_blocked = true;
|
||||||
UPDATE collection SET latest_repo_id = null, latest_repo_resolved = null;
|
# UPDATE collection SET latest_repo_id = null, latest_repo_resolved = null;
|
||||||
DROP TABLE buildroot_problem;
|
# DROP TABLE buildroot_problem;
|
||||||
DROP TABLE package CASCADE;
|
# DROP TABLE package CASCADE;
|
||||||
DROP TABLE build CASCADE;
|
# DROP TABLE build CASCADE;
|
||||||
DROP TABLE applied_change CASCADE;
|
# DROP TABLE applied_change CASCADE;
|
||||||
DROP TABLE unapplied_change CASCADE;
|
# DROP TABLE unapplied_change CASCADE;
|
||||||
DROP TABLE dependency CASCADE;
|
# DROP TABLE dependency CASCADE;
|
||||||
DROP TABLE koji_task CASCADE;
|
# DROP TABLE koji_task CASCADE;
|
||||||
DROP TABLE resolution_change CASCADE;
|
# DROP TABLE resolution_change CASCADE;
|
||||||
DROP TABLE resolution_problem CASCADE;
|
# DROP TABLE resolution_problem CASCADE;
|
||||||
DROP TABLE copr_rebuild_request CASCADE;
|
# DROP TABLE copr_rebuild_request CASCADE;
|
||||||
DROP TABLE copr_resolution_change CASCADE;
|
# DROP TABLE copr_resolution_change CASCADE;
|
||||||
DROP TABLE copr_rebuild CASCADE;
|
# DROP TABLE copr_rebuild CASCADE;
|
||||||
DROP TABLE scalar_stats CASCADE;
|
# DROP TABLE scalar_stats CASCADE;
|
||||||
DROP TABLE resource_consumption_stats CASCADE;
|
# DROP TABLE resource_consumption_stats CASCADE;
|
||||||
COMMIT;
|
# COMMIT;
|
||||||
"
|
# "
|
||||||
when: 'pgbdr' in koschei_pgsql_hostname
|
# when: 'pgbdr' in koschei_pgsql_hostname
|
||||||
- postgresql_db: name=koschei state=absent
|
- postgresql_db: name=koschei state=absent
|
||||||
become: yes
|
become: yes
|
||||||
become_user: postgres
|
become_user: postgres
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue