Further fix laravel branch and master publish jobs

When pulling tarball artifacts from the job node in
legacy-laravel-openstackid-release-branch and -master, first make
sure the destination directory on the executor exists.

Change-Id: I08be39dfd4931e7413482550b95b3709f0b28776
This commit is contained in:
Jeremy Stanley 2018-04-23 22:00:00 +00:00
parent 2b5372513b
commit ffde8dfdc1
2 changed files with 12 additions and 0 deletions

View File

@ -27,6 +27,12 @@
- --exclude=*
- --prune-empty-dirs
- name: Ensure artifact transit directory exists
file:
path: '{{ zuul.executor.log_root }}/tarballs/{{ zuul.project.short_name}}'
state: directory
delegate_to: localhost
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
synchronize:
src: '{{ ansible_user_dir }}/workspace/'

View File

@ -27,6 +27,12 @@
- --exclude=*
- --prune-empty-dirs
- name: Ensure artifact transit directory exists
file:
path: '{{ zuul.executor.log_root }}/tarballs/{{ zuul.project.short_name}}'
state: directory
delegate_to: localhost
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
synchronize:
src: '{{ ansible_user_dir }}/workspace/'