From 200e2f0328b6cfc6965d5399d7750df19eec6144 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Mon, 7 Aug 2017 14:14:47 +0100 Subject: completed refactoring from tags to commands --- examples/worker1/worker1.cfg | 15 ++++++++------- examples/worker2/worker2.cfg | 12 ++++++------ 2 files changed, 14 insertions(+), 13 deletions(-) (limited to 'examples') diff --git a/examples/worker1/worker1.cfg b/examples/worker1/worker1.cfg index 4883181..f9a97f4 100644 --- a/examples/worker1/worker1.cfg +++ b/examples/worker1/worker1.cfg @@ -11,9 +11,9 @@ w_commands: [ { - t_name: "LOG", - t_keyrings: ["allowed_users.asc"], - t_actions: [ + c_name: "LOG", + c_keyrings: ["allowed_users.asc"], + c_actions: [ { a_url: "file:///home/katolaz/bin/scorsh_script.sh" ## a_hash: "12da324fb76s924acbce" @@ -21,11 +21,12 @@ w_commands: ] }, { - t_name: "build", - t_keyrings: ["allowed_users.asc"], - t_actions: [ + c_name: "build", + c_keyrings: ["allowed_users.asc"], + c_actions: [ { - a_url: "file:///home/katolaz/bin/scorsh_script.sh" + a_url: "file:///home/katolaz/bin/scorsh_script.sh", + a_hash: "aa606bc152824c1b650d7e71e2e92bb69a9b7c861c69cd439d17902488e5f76e" } ] } diff --git a/examples/worker2/worker2.cfg b/examples/worker2/worker2.cfg index 32a088a..fa6e2ad 100644 --- a/examples/worker2/worker2.cfg +++ b/examples/worker2/worker2.cfg @@ -2,18 +2,18 @@ w_commands: [ { - t_name: "DEPLOY", - t_keyrings: ["allowed_users.asc"], - t_actions: [ + c_name: "DEPLOY", + c_keyrings: ["allowed_users.asc"], + c_actions: [ { a_url: "file:///home/katolaz/bin/deploy.sh" } ] }, { - t_name: "build", - t_keyrings: ["allowed_users.asc"], - t_actions: [ + c_name: "build", + c_keyrings: ["allowed_users.asc"], + c_actions: [ { a_url: "file:///home/katolaz/bin/scorsh_build.sh" } -- cgit v1.2.3