diff options
author | KatolaZ <katolaz@freaknet.org> | 2017-07-11 14:38:55 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2017-07-11 14:38:55 +0100 |
commit | 32b09256150d139e77d04533f28d0c26a32b12bd (patch) | |
tree | 9d5aff595a1af5afee566b433d0466416d4f6691 /worker_config.cfg | |
parent | 3b752dc02e8ac2048c3dc6efa37145c679502c84 (diff) |
added notes.txt on the architecture, and a sample worker_config
Diffstat (limited to 'worker_config.cfg')
-rw-r--r-- | worker_config.cfg | 37 |
1 files changed, 37 insertions, 0 deletions
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 |