diff --git a/resources/test/clones-producer.ini b/resources/test/clones-producer.ini new file mode 100644 index 0000000..a24be77 --- /dev/null +++ b/resources/test/clones-producer.ini @@ -0,0 +1,13 @@ +[main] + +# logging directory +log_dir = /tmp/swh/cloner-git/log/ + +# url access to db +db_url = dbname=swh-git-cloner + +# Repository scheme to build git, svn, etc, ... +# ex: http://github.com/%s, https://github.com/%s, git://github.com/%s, etc... +# %s represents the fullname's repository. +# For example, in github, / +repository_scheme = git://github.com/%s diff --git a/resources/test/clones-worker.ini b/resources/test/clones-worker.ini new file mode 100644 index 0000000..022f8f7 --- /dev/null +++ b/resources/test/clones-worker.ini @@ -0,0 +1,30 @@ +[main] + +# mount folder where to dump the clones +mount=/tmp/swh/cloner-git/local + +# witness file built after the cloning. It's a witness of a success clone +witness-file-name=witness + +# the ssh access key to the ssh-host +ssh-access-command=ssh -i some-key -l some-user some-host + +# ssh host to rsync to (moma) +ssh-host=localhost + +# destination folder on that host +ssh-host-destination-folder=/tmp/swh/cloner-git/remote + +# url access to db +db_url = port=5432 dbname=swh-git-cloner + +# max file size limit allowed to git clone, in bytes (default to 4G) +clone_limit_size = 4294967296 + +# the queue url to access for consuming tasks +queue_url = amqp://guest:guest@localhost:5672// +# queue_url = amqp://guest:guest@192.168.100.31:5672// + +# soft time limit for a task, if exceeded, the worker cleans up +# and stops +task_soft_time_limit = 3600