Browse Source

package-afs-centos: fix final copy

This is currently copying everything into

 https://tarballs.openstack.org/project-config/package-afs-centos7/x86_64/

where we don't actually want the "x86_64".  Add trailing slash so it
copies the directory contents.  Also remove any existing content with
--delete, we only want the latest.

Change-Id: I4b0fe994baaaf04db0fe552f88107d90e328f048
changes/24/574924/1
Ian Wienand 1 year ago
parent
commit
760a62eb10
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      playbooks/package-afs-centos/post.yaml

+ 3
- 1
playbooks/package-afs-centos/post.yaml View File

@@ -21,6 +21,8 @@
21 21
     - name: Copy RPMs back for publication
22 22
       when: rpms_exist.stat.exists
23 23
       synchronize:
24
-        src: '{{ ansible_user_dir }}/rpmbuild/RPMS/x86_64'
24
+        src: '{{ ansible_user_dir }}/rpmbuild/RPMS/x86_64/'
25 25
         dest: '{{ zuul.executor.work_root }}/artifacts/package-afs-centos7'
26 26
         mode: pull
27
+        rsync_opts:
28
+          - --delete

Loading…
Cancel
Save