zuul-jobs/roles/add-fileserver/README.rst
Jesse Keating 5b2f9bdef9 Add content to support translation jobs
We need a role to fetch translation output to the executor for artifact
upload.

We also need to be able to specify a leading path when uploading
artifacts as translations go into a top dir of translation-source.

Change-Id: I014d559c330803213105ce1bf83a41a3c157df9c
Signed-off-by: Jesse Keating <omgjlk@us.ibm.com>
2017-09-12 16:19:40 -06:00

41 lines
1.2 KiB
ReStructuredText

Add a remote fileserver to the inventory so that content can be uploaded
in subsequent tasks or roles.
**Role Variables**
.. zuul:rolevar:: fileserver
Complex argument which contains the information about the remote
destination as well as the authentication information needed. It is
expected that this argument comes from a `Secret`.
.. zuul:rolevar:: fqdn
The FQDN of the remote host.
.. zuul:rolevar:: path
The remote path. Content will be put into a directory below this path
that matches ``zuul.project.short_name``. The full path including
the project short name will be added to the hostvars of the host
as ``zuul_fileserver_project_path``.
.. zuul:rolevar:: fileserver_leading_path
This is an optional variable that will be inserted between the base
of the path (provided by the `path` variable) and the
``zuul.project.short_name`` final path element.
.. zuul:rolevar:: ssh_known_hosts
String containing known host signature for the remote host.
.. zuul:rolevar:: ssh_private_key
Contents of the ssh private key to use.
.. zuul:rolevar:: ssh_username
:default: ansible_user
Remote ssh user name to use.