bifrost/playbooks/ci/post.yaml
Dmitry Tantsur 4bb71fc481 Migrate to Zuul v3 native jobs
This corrects the path handling in the CI and removes a lot of
redundancy in the CI definitions. Also adds fixed log collection
from https://review.opendev.org/#/c/649526/ to make the CI pass.

Removes handling of ZUUL_CHANGES. It is not present in new jobs,
and its use case in Bifrost is completely unclear.

Eventually, we should rewrite the whole test-bifrost.sh in ansible,
but that's a much bigger task.

Change-Id: Id893e816a7806e7d75282628817288d8a34ab8af
2019-10-30 14:26:26 +01:00

15 lines
386 B
YAML

- hosts: all
tasks:
- name: Copy files from {{ ansible_user_dir }}/ on node
synchronize:
src: '{{ ansible_user_dir }}/'
dest: '{{ zuul.executor.log_root }}'
mode: pull
copy_links: true
verify_host: true
rsync_opts:
- --include=/logs/**
- --include=*/
- --exclude=*
- --prune-empty-dirs