summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2017-08-07 10:54:35 +0100
committerKatolaZ <katolaz@freaknet.org>2017-08-07 10:54:35 +0100
commitb31fe15e0d13f9064e26b117541633496c0c3307 (patch)
treead9fc1e3077b514c98af1d6a2cbd78e79f341c9f /examples
parent096b3fd2867d7bb2d3cd1f85d8806c651b26d625 (diff)
Renaming: "tags" -> "commands"; "commands" -> "actions"
Diffstat (limited to 'examples')
-rw-r--r--examples/scorsh_example.cfg4
-rw-r--r--examples/worker1/worker1.cfg12
-rw-r--r--examples/worker2/worker2.cfg10
3 files changed, 13 insertions, 13 deletions
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"
}
]
}