Monty Taylor | 245a371 | 2017-08-07 16:42:23 -0500 | [diff] [blame] | 1 | - hosts: all |
| 2 | tasks: |
| 3 | |
| 4 | - name: Install migration dependencies |
| 5 | command: "python3 -m pip install --user src/git.openstack.org/openstack-infra/zuul[migrate]" |
| 6 | |
| 7 | - name: Migrate the data |
| 8 | command: "python3 ../zuul/zuul/cmd/migrate.py zuul/layout.yaml jenkins/jobs nodepool/nodepool.yaml . --mapping=zuul/mapping.yaml -v -m" |
| 9 | args: |
| 10 | chdir: src/git.openstack.org/openstack-infra/project-config |
| 11 | |
Monty Taylor | 843ae74 | 2017-09-14 13:58:59 -0600 | [diff] [blame] | 12 | - name: Collect generated job config |
Monty Taylor | 245a371 | 2017-08-07 16:42:23 -0500 | [diff] [blame] | 13 | synchronize: |
| 14 | dest: "{{ zuul.executor.log_root }}" |
| 15 | mode: pull |
| 16 | src: "src/git.openstack.org/openstack-infra/project-config/zuul.d" |
| 17 | verify_host: true |
| 18 | no_log: true |
Monty Taylor | 843ae74 | 2017-09-14 13:58:59 -0600 | [diff] [blame] | 19 | |
| 20 | - name: Collect generated playbooks |
| 21 | synchronize: |
Monty Taylor | feec38a | 2017-09-18 11:22:51 -0500 | [diff] [blame] | 22 | dest: "{{ zuul.executor.log_root }}/playbooks" |
Monty Taylor | 843ae74 | 2017-09-14 13:58:59 -0600 | [diff] [blame] | 23 | mode: pull |
Monty Taylor | feec38a | 2017-09-18 11:22:51 -0500 | [diff] [blame] | 24 | src: "src/git.openstack.org/openstack-infra/project-config/playbooks/legacy" |
Monty Taylor | 843ae74 | 2017-09-14 13:58:59 -0600 | [diff] [blame] | 25 | verify_host: true |
| 26 | no_log: true |