Merge "Fix zuul scheduler container name in docker exec commands"
This commit is contained in:
@@ -70,10 +70,10 @@
|
|||||||
- include_vars: "{{ repolist }}"
|
- include_vars: "{{ repolist }}"
|
||||||
|
|
||||||
- name: Backup the zuul keys before we modify them
|
- name: Backup the zuul keys before we modify them
|
||||||
command: "docker exec zuul-scheduler_scheduler_1 zuul-admin export-keys /var/lib/zuul/zuul-keys-backup.json"
|
command: "docker exec zuul-scheduler-scheduler-1 zuul-admin export-keys /var/lib/zuul/zuul-keys-backup.json"
|
||||||
|
|
||||||
- name: Copy zuul keys from old to new project
|
- name: Copy zuul keys from old to new project
|
||||||
command: "docker exec zuul-scheduler_scheduler_1 zuul-admin copy-keys gerrit {{ item.old }} gerrit {{ item.new }}"
|
command: "docker exec zuul-scheduler-scheduler-1 zuul-admin copy-keys gerrit {{ item.old }} gerrit {{ item.new }}"
|
||||||
loop: "{{ repos }}"
|
loop: "{{ repos }}"
|
||||||
|
|
||||||
- hosts: review
|
- hosts: review
|
||||||
@@ -163,5 +163,5 @@
|
|||||||
- include_vars: "{{ repolist }}"
|
- include_vars: "{{ repolist }}"
|
||||||
|
|
||||||
- name: Remove old zuul project keys
|
- name: Remove old zuul project keys
|
||||||
command: "docker exec zuul-scheduler_scheduler_1 zuul-admin delete-keys gerrit {{ item.old }}"
|
command: "docker exec zuul-scheduler-scheduler-1 zuul-admin delete-keys gerrit {{ item.old }}"
|
||||||
loop: "{{ repos }}"
|
loop: "{{ repos }}"
|
||||||
|
@@ -56,7 +56,7 @@
|
|||||||
hour: 0
|
hour: 0
|
||||||
# Note we backup to /var/lib/zuul because that is what we have bind
|
# Note we backup to /var/lib/zuul because that is what we have bind
|
||||||
# mounted in the container and we are operating relative to that context
|
# mounted in the container and we are operating relative to that context
|
||||||
job: docker exec zuul-scheduler_scheduler_1 zuul-admin export-keys /var/lib/zuul/zuul-keys-backup.json
|
job: docker exec zuul-scheduler-scheduler-1 zuul-admin export-keys /var/lib/zuul/zuul-keys-backup.json
|
||||||
|
|
||||||
- name: Install logging config
|
- name: Install logging config
|
||||||
copy:
|
copy:
|
||||||
|
Reference in New Issue
Block a user