blob: c78950110ec9e26d7da399d95e90282e22e5627d [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
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 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:
22 dest: "{{ zuul.executor.log_root }}"
23 mode: pull
24 src: "src/git.openstack.org/openstack-infra/project-config/playbooks"
25 verify_host: true
26 no_log: true