From 32b09256150d139e77d04533f28d0c26a32b12bd Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Tue, 11 Jul 2017 14:38:55 +0100 Subject: added notes.txt on the architecture, and a sample worker_config --- worker_config.cfg | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 worker_config.cfg (limited to 'worker_config.cfg') diff --git a/worker_config.cfg b/worker_config.cfg new file mode 100644 index 0000000..5173b6f --- /dev/null +++ b/worker_config.cfg @@ -0,0 +1,37 @@ +# +# This is the typical worker configuration file. The file should be +# called "worker_config.cfg", and will be placed inside the worker +# directory. It defines the tags understood by the worker, with the +# corresponding list of commands +# +# + + +--- +w_tags: + [ + { + t_name: "BUILD", + t_keyrings: ["build_keyring.asc", "general_keyring.asc"], + t_commands: [ + { + c_url: "file:///home/user/bin/script.sh $1 $2", + c_hash: "12da324fb76s924acbce" + }, + { + c_url: "http://my.server.net/call.pl?branch=$1" + } + ] + }, + { + t_name: "PUBLISH", + t_keyrings: ["web_developers.asc"], + t_commands: [ + { + c_url: "file:///usr/local/bin/publish.py $repo $branch", + c_hash: "3234567898765432345678" + } + ] + } + ] +... \ No newline at end of file -- cgit v1.2.3