Commit Graph

6 Commits

Author SHA1 Message Date
Ian Wienand 7160e29bef Add CentOS 8 openafs package build job
Split the extant job into separate centos7 and centos8 parts (this is
so we can easily just rm the centos7 path when it's not required,
rather than making some mashed up combined job), and add a centos8
job to build openafs packages for centos-8.

This is in preparation for making centos-8 wheels; we copy the wheel
directly from the building host so it needs an openafs client.

Change-Id: I2d6392879aac85431253284f217b9daa4a9af94d
2020-01-14 16:41:02 +11:00
Ian Wienand c47eb40154 package-afs-centos: use synchronize flags for delete
It turns out if you read the documentation [1], it has an example for
synchronizing two directories with deletion and suggests using these
flags

[1] https://docs.ansible.com/ansible/latest/modules/synchronize_module.html#examples

Change-Id: Ib8aff5212d578668bf5073f28f08d12e7ddd3b1a
2018-06-14 06:33:23 +10:00
Ian Wienand 760a62eb10 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
2018-06-13 10:21:01 +10:00
Clark Boylan 90d8d68ebb Create artifacts dir regardless of afs rpm builds
We don't always create afs rpms in our periodic job so we were skipping
the creation of the artifacts dir. Unfortunately the openstack
artifact publishing playbook expects this dir to exist. Fix this by
creating the artifacts dir but not populating it with RPMs if we didn't
build any RPMs for openafs.

Change-Id: I986bca765ae898e9792e789c6852bce1d654d580
2018-01-04 13:41:32 -08:00
Clark Boylan a890292f84 Only copy openafs centos rpms if we built them
The openafs centos packaging job only builds new rpms if the desired
version doesn't have an rpm published. Otherwise it short circuits and
the job ends. Unfortunately the post tasks assume the rpm will always be
built so this job then fails. Fix this by checking for rpms before
running the post tasks.

Change-Id: I132b82d437a19f855a49d175a912792417a85ae9
2018-01-03 13:18:38 -08:00
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