zuul/tests/fixtures/config/post-playbook/git/common-config/playbooks/post.yaml

14 lines
377 B
YAML

- hosts: all
tasks:
- debug: var=waitpath
- file:
path: "{{zuul._test.test_root}}/{{zuul.build}}.post_start.flag"
state: touch
# Do not finish until test creates the flag file
- wait_for:
state: present
path: "{{waitpath}}"
- file:
path: "{{zuul._test.test_root}}/{{zuul.build}}.post_end.flag"
state: touch