summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Wienand <iwienand@redhat.com>2018-06-13 10:21:01 +1000
committerIan Wienand <iwienand@redhat.com>2018-06-13 10:21:01 +1000
commit760a62eb10cdefef602402c3e63bf017b1e91099 (patch)
tree284ff055e8071d75e69680764c4e68537aaef0ee
parentd88047e779fc8366dea768f4d02dbdb2db6fcade (diff)
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
Notes
Notes (review): Code-Review+2: Jeremy Stanley <fungi@yuggoth.org> Code-Review+2: Andreas Jaeger <jaegerandi@gmail.com> Workflow+1: Andreas Jaeger <jaegerandi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 13 Jun 2018 05:10:18 +0000 Reviewed-on: https://review.openstack.org/574924 Project: openstack-infra/openstack-zuul-jobs Branch: refs/heads/master
-rw-r--r--playbooks/package-afs-centos/post.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/playbooks/package-afs-centos/post.yaml b/playbooks/package-afs-centos/post.yaml
index 7bde3e0..47bfcf7 100644
--- a/playbooks/package-afs-centos/post.yaml
+++ b/playbooks/package-afs-centos/post.yaml
@@ -21,6 +21,8 @@
21 - name: Copy RPMs back for publication 21 - name: Copy RPMs back for publication
22 when: rpms_exist.stat.exists 22 when: rpms_exist.stat.exists
23 synchronize: 23 synchronize:
24 src: '{{ ansible_user_dir }}/rpmbuild/RPMS/x86_64' 24 src: '{{ ansible_user_dir }}/rpmbuild/RPMS/x86_64/'
25 dest: '{{ zuul.executor.work_root }}/artifacts/package-afs-centos7' 25 dest: '{{ zuul.executor.work_root }}/artifacts/package-afs-centos7'
26 mode: pull 26 mode: pull
27 rsync_opts:
28 - --delete