From b31fe15e0d13f9064e26b117541633496c0c3307 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Mon, 7 Aug 2017 10:54:35 +0100 Subject: Renaming: "tags" -> "commands"; "commands" -> "actions" --- examples/scorsh_example.cfg | 4 ++-- examples/worker1/worker1.cfg | 12 ++++++------ examples/worker2/worker2.cfg | 10 +++++----- 3 files changed, 13 insertions(+), 13 deletions(-) (limited to 'examples') diff --git a/examples/scorsh_example.cfg b/examples/scorsh_example.cfg index c51926b..e5ac5c3 100644 --- a/examples/scorsh_example.cfg +++ b/examples/scorsh_example.cfg @@ -10,14 +10,14 @@ s_workers: w_repos: [".*:.*"], # All branches in all repos w_folder: ./worker1, w_logfile: ./worker1/worker1.log, - w_tagfile: "./worker1/worker1.cfg", + w_cfgfile: "./worker1/worker1.cfg", }, { w_name: worker2, w_repos: [".*:master"], # Branch master in all repos w_folder: ./worker2, w_logfile: ./worker2/worker2.log, - w_tagfile: "./worker2/worker2.cfg", + w_cfgfile: "./worker2/worker2.cfg", } ] ... diff --git a/examples/worker1/worker1.cfg b/examples/worker1/worker1.cfg index 178723c..4883181 100644 --- a/examples/worker1/worker1.cfg +++ b/examples/worker1/worker1.cfg @@ -8,24 +8,24 @@ --- -w_tags: +w_commands: [ { t_name: "LOG", t_keyrings: ["allowed_users.asc"], - t_commands: [ + t_actions: [ { - c_url: "file:///home/katolaz/bin/scorsh_script.sh" -## c_hash: "12da324fb76s924acbce" + a_url: "file:///home/katolaz/bin/scorsh_script.sh" +## a_hash: "12da324fb76s924acbce" } ] }, { t_name: "build", t_keyrings: ["allowed_users.asc"], - t_commands: [ + t_actions: [ { - c_url: "file:///home/katolaz/bin/scorsh_script.sh" + a_url: "file:///home/katolaz/bin/scorsh_script.sh" } ] } diff --git a/examples/worker2/worker2.cfg b/examples/worker2/worker2.cfg index d1538ac..32a088a 100644 --- a/examples/worker2/worker2.cfg +++ b/examples/worker2/worker2.cfg @@ -1,21 +1,21 @@ --- -w_tags: +w_commands: [ { t_name: "DEPLOY", t_keyrings: ["allowed_users.asc"], - t_commands: [ + t_actions: [ { - c_url: "file:///home/katolaz/bin/deploy.sh" + a_url: "file:///home/katolaz/bin/deploy.sh" } ] }, { t_name: "build", t_keyrings: ["allowed_users.asc"], - t_commands: [ + t_actions: [ { - c_url: "file:///home/katolaz/bin/scorsh_build.sh" + a_url: "file:///home/katolaz/bin/scorsh_build.sh" } ] } -- cgit v1.2.3