Merge "Stop updating Gerrit RDBMS for repo renames"
This commit is contained in:
commit
bfcae91d76
@ -10,14 +10,6 @@
|
|||||||
cmd: docker-compose down
|
cmd: docker-compose down
|
||||||
chdir: /etc/gerrit-compose/
|
chdir: /etc/gerrit-compose/
|
||||||
|
|
||||||
- name: Update account_project_watches in gerrit database
|
|
||||||
shell: echo 'update account_project_watches set project_name = "{{ item.new }}" where project_name = "{{ item.old }}";' | mysql --defaults-file=/root/.gerrit_db.cnf reviewdb
|
|
||||||
with_items: "{{ repos }}"
|
|
||||||
|
|
||||||
- name: Update changes in gerrit database
|
|
||||||
shell: echo 'update changes set dest_project_name = "{{ item.new }}", created_on = created_on where dest_project_name = "{{ item.old }}";' | mysql --defaults-file=/root/.gerrit_db.cnf reviewdb
|
|
||||||
with_items: "{{ repos }}"
|
|
||||||
|
|
||||||
- name: Make organization dir
|
- name: Make organization dir
|
||||||
file:
|
file:
|
||||||
state: directory
|
state: directory
|
||||||
|
Loading…
x
Reference in New Issue
Block a user