a47f22d608
Tobiko should now log its output to '{{ ansible_user_dir }}' directory thus it will be fetched by Zuul after job ends and we will be able to check tobiko logs after every CI job run in Zuul. Change-Id: I2f6e0edd2878e5a7ffd9697a3eaeea61a4c03674
33 lines
900 B
YAML
33 lines
900 B
YAML
---
|
|
|
|
# devstack copies repos from hardcoded list of organizations only and performa
|
|
# is not there so e.g. os-faults repo can't be copied there easily and we need
|
|
# to do this on our own
|
|
# copied from https://opendev.org/openstack/devstack/src/branch/master/roles/setup-devstack-source-dirs/tasks/main.yaml
|
|
|
|
- hosts: all
|
|
tasks:
|
|
- name: Find source repos from performa organization
|
|
find:
|
|
paths:
|
|
- src/opendev.org/performa
|
|
file_type: directory
|
|
register: found_repos
|
|
|
|
- name: Copy Zuul repos into devstack working directory
|
|
command: rsync -a {{ item.path }} /opt/stack
|
|
with_items: '{{ found_repos.files }}'
|
|
become: yes
|
|
|
|
- name: Set ownership of repos
|
|
file:
|
|
path: /opt/stack
|
|
state: directory
|
|
recurse: true
|
|
owner: stack
|
|
group: stack
|
|
become: yes
|
|
|
|
roles:
|
|
- setup_tobiko_logs_dir
|