zuul-jobs/roles/stage-output
Andrea Frittoli (andreaf) 786c48f051 Add a generic stage-output role
This role does roughly what save_dir and save_file do in d-g
functions, only it can be used for a list of files and/or
folders. Jobs can use this role to rename artifacts and place
them in a staging folder which is then used for mass sync to
the executor.

This is typically used in post - the zuul user won't necessarily
have write access to the folders with the artifacts - so it's
easier to stage everything to a folder owned by the zuul user.

Change-Id: Id45a50821539985710da7172a9185fd91e803603
2017-11-02 07:22:26 +00:00
..
defaults Add a generic stage-output role 2017-11-02 07:22:26 +00:00
tasks Add a generic stage-output role 2017-11-02 07:22:26 +00:00
README.rst Add a generic stage-output role 2017-11-02 07:22:26 +00:00

Stage job output on the remote node

Takes as input a dictionary of files/folders named 'zuul_copy_output'. Copies contents into {{ zuul_output_dir }} on the remote node and is intended to be used before output fetching in a base job's post-playbook.

Role Variables