openstack-zuul-jobs/playbooks/package-afs-centos/post.yaml
Monty Taylor 3cc6b848cf
Add jobs for project-config
Rather than tieing this to the migration, just do them.

The afs package build script changed slightly - it now publishes to
tarballs.openstack.org/project-config/package-afs-centos7 instead of
tarballs.openstack.org/package-afs-centos7 so that the normal artifact
publication base job can be used.

The existing package-afs-centos7 has been copied on tarballs.openstack.org to
project-config/package-afs-centos7 so that this will not cause a rebuild.

Change-Id: I7cfb90df4eb49defce7aa41453918347a2c6742e
2017-09-26 10:32:45 -05:00

15 lines
428 B
YAML

- hosts: all
tasks:
- name: Ensure artifacts directory exists
file:
state: directory
path: '{{ zuul.executor.work_root }}/artifacts/package-afs-centos7'
delegate_to: localhost
- name: Copy RPMs back for publication
synchronize:
src: '{{ ansible_user_dir }}/rpmbuild/RPMS/x86_64'
dest: '{{ zuul.executor.work_root }}/artifacts/package-afs-centos7'
mode: pull