Further fix laravel branch/master publish jobs

The publish-artifacts-to-fileserver role includes the tree structure
of under the artifacts dir, which we don't wish to preserve for the
tarballs directory our legacy-laravel-openstackid-release-branch and
legacy-laravel-openstackid-release-master jobs create. Instead just
copy the contents of the tarballs directory to the artifacts
directory (this also allows us to drop fancy filename pattern
matching and symlink preservation from our rsync options).

Change-Id: I22743c78e286c51067d38efe8c646021e68ca09b
This commit is contained in:
Jeremy Stanley 2018-04-27 16:09:39 +00:00
parent 2d6221e052
commit 389f5c470f
2 changed files with 2 additions and 14 deletions

View File

@ -35,13 +35,7 @@
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
synchronize:
src: '{{ ansible_user_dir }}/workspace/'
src: '{{ ansible_user_dir }}/workspace/tarballs/'
dest: '{{ zuul.executor.work_root }}/artifacts/'
mode: pull
copy_links: true
verify_host: true
rsync_opts:
- --include=/tarballs/*.tar.gz
- --include=*/
- --exclude=*
- --prune-empty-dirs

View File

@ -35,13 +35,7 @@
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
synchronize:
src: '{{ ansible_user_dir }}/workspace/'
src: '{{ ansible_user_dir }}/workspace/tarballs/'
dest: '{{ zuul.executor.work_root }}/artifacts/'
mode: pull
copy_links: true
verify_host: true
rsync_opts:
- --include=/tarballs/*.tar.gz
- --include=*/
- --exclude=*
- --prune-empty-dirs