Skip to content

Commit

Permalink
Merge pull request #5255 from okurz/feature/rsync
Browse files Browse the repository at this point in the history
Document custom rsync command examples for TESTPOOLSERVER
  • Loading branch information
mergify[bot] authored Jul 19, 2023
2 parents 420c81b + c3379eb commit 0258955
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/Installing.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -900,8 +900,9 @@ service (which usually runs as `_openqa-worker` user). If you install
openQA through the repositories, said directory will be created for you.

The shown configuration causes workers to download the assets from the web UI
and use them locally. The `TESTPOOLSERVER` setting causes also tests and needles
to be downloaded via `rsync` from the specified location.
and use them locally. The `TESTPOOLSERVER` setting causes also tests and
needles to be downloaded via `rsync` from the specified location. You can find
further examples in the comments in `/etc/openqa/workers.ini`.

It is suggested to have the cache and pool directories on the same filesystem
to ensure assets used by tests are available as long as needed. This is
Expand Down
8 changes: 6 additions & 2 deletions etc/openqa/workers.ini
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,12 @@
#WORKER_CLASS = qemu_x86_64_staging,qemu_x86_64

#[localhost]
# SHARE_DIRECTORY = /var/lib/openqa/share
#SHARE_DIRECTORY = /var/lib/openqa/share

#[openqa.example.host]
# TESTPOOLSERVER = rsync://deimos.suse.de/openqa-tests
#TESTPOOLSERVER = rsync://deimos.suse.de/openqa-tests

[https://sophisticated.openqa.org]
# Custom rsync command line options can be specified as well, for example
#TESTPOOLSERVER = -e 'ssh -p 4242 -i /var/lib/openqa/ssh/id_ed25519 -o "UserKnownHostsFile /var/lib/openqa/ssh/known_hosts"' [email protected]:/var/lib/openqa/tests

0 comments on commit 0258955

Please sign in to comment.