zuul-jobs/roles/upload-afs-synchronize/README.rst
Ian Wienand c19ea2e6f9 upload-afs-synchronize: expand documentation
The upload-afs-synchronize role was added with
I493d8829e3fd98e84f1b8f0e776e7ba41abf16c2 and used as part of the
artifact promote process for tarballs and other uploads.  However the
role is useful as a generic way to upload results to AFS and avoid
some commonly hit caveats such as getting permissions flags wrong.

Expand the README to explain things a little more.

Change-Id: Ia643b02b503560d1057697fc5a7d143fd728b177
2020-07-15 06:48:44 +10:00

939 B

Copy contents of a directory hierarchy to AFS

This role uses the synchronzie module to copy directory contents to a remote AFS locations. It ensures the synchronize flags, particularly relating to group and world permissions, are appropriate for copying to AFS locations.

See also :zuulupload-afs-roots which is a similar role giving more fine-grained control over which directories are synchronized.

Role Variables

Target path in AFS (should begin with '/afs/...').