zuul-jobs/roles/upload-git-mirror
Ian Wienand 73951559fc upload-git-mirror: no_log around key writing
Add no_log here as a fallback against ever leaving the output in the
logs.

Change-Id: Ia3d518d915705b40e0e12e25e0a0787a8cf614d7
2022-07-28 09:31:49 +10:00
..
defaults Add parameter to upload-git-mirror to specify ssh host key 2019-04-01 16:34:59 -04:00
tasks upload-git-mirror: no_log around key writing 2022-07-28 09:31:49 +10:00
README.rst Add parameter to upload-git-mirror to specify ssh host key 2019-04-01 16:34:59 -04:00

Mirrors a git repository to a remote git server

Meant to be used after a change was successfully merged, this role mirrors a tested git repository to a remote git server over SSH.

The role assumes that git has been previously installed and does not require superuser privileges to run.

Role Variables

Dictionary that provides the remote git repository credentials

SSH user for the remote git repository

SSH host for the remote git repository

Literal private key contents. Should start with something like -----BEGIN RSA PRIVATE KEY-----.

SSH host key of the remote git server. Can be obtained with ssh-keyscan -H <host>.

Path of the remote git repository