blob: 2001982f57fe98a376edbe2420802b8c68757389 [file] [log] [blame]
Monty Taylor245a3712017-08-07 16:42:23 -05001- 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
Monty Taylorf5671932017-09-26 07:56:26 -05008 command: "python3 ../zuul/zuul/cmd/migrate.py zuul/layout.yaml jenkins/jobs nodepool/nodepool.yaml . --mapping=zuul/mapping.yaml -v"
Monty Taylor245a3712017-08-07 16:42:23 -05009 args:
10 chdir: src/git.openstack.org/openstack-infra/project-config
11
Monty Taylor843ae742017-09-14 13:58:59 -060012 - name: Collect generated job config
Monty Taylor245a3712017-08-07 16:42:23 -050013 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 Taylor843ae742017-09-14 13:58:59 -060019
20 - name: Collect generated playbooks
21 synchronize:
Monty Taylorfeec38a2017-09-18 11:22:51 -050022 dest: "{{ zuul.executor.log_root }}/playbooks"
Monty Taylor843ae742017-09-14 13:58:59 -060023 mode: pull
Monty Taylorfeec38a2017-09-18 11:22:51 -050024 src: "src/git.openstack.org/openstack-infra/project-config/playbooks/legacy"
Monty Taylor843ae742017-09-14 13:58:59 -060025 verify_host: true
26 no_log: true