summaryrefslogtreecommitdiff
path: root/scorsh.cfg
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2017-07-10 19:33:56 +0100
committerKatolaZ <katolaz@freaknet.org>2017-07-10 19:33:56 +0100
commit3b752dc02e8ac2048c3dc6efa37145c679502c84 (patch)
tree492425e6ce04a525147c0e0131a8e06a4f15e202 /scorsh.cfg
parentd0afee5defa7c342a97e4f444f715eb70f0779a3 (diff)
added global configuration system (config.go)
Diffstat (limited to 'scorsh.cfg')
-rw-r--r--scorsh.cfg53
1 files changed, 53 insertions, 0 deletions
diff --git a/scorsh.cfg b/scorsh.cfg
new file mode 100644
index 0000000..a1320a3
--- /dev/null
+++ b/scorsh.cfg
@@ -0,0 +1,53 @@
+#
+# This is a typical scorsh configuration. We declare here the list of
+# workers, with the corresponding repo/branches regular expressions
+# and the associated folder
+#
+
+---
+s_spooldir: "/var/spool/scorsh"
+s_logfile: "/var/log/scorsh/scorsh.log"
+s_logprefix: "[scorsh]"
+
+s_workers:
+ [
+ {
+ w_name: catchall,
+ w_repos: ["*:*"], # All branches in all repos
+ w_folder: ./catchall,
+ w_logfile: ./catchall/catchall.log,
+ w_tagfile: "./catchall/tags.cfg",
+ w_keyrings: [
+ "./catchall/catchall_keyring.asc"
+ ]
+ },
+ {
+ w_name: ascii,
+ w_repos: ["*:suites/ascii", # branch "suites/ascii" in all the repos
+ "*:suites/ascii-updates",
+ "*:suites/ascii-security"
+ ],
+ w_folder: ./ascii,
+ w_logfile: ./worker_ascii.log,
+ w_tagfile: "./ascii/tags.cfg",
+ w_keyrings: [
+ "./${w_folder}/ascii_keyring.asc"
+ ]
+ },
+ {
+ w_name: ascii-side-branches ,
+ w_repos: [
+ "*:suites/ascii-proposed",
+ "*:suites/ascii-proposed-updates"
+ ],
+ w_folder: ./ascii-side-branches,
+ w_logfile: ./worker_ascii_side_branches.log,
+ w_tagfile: "./ascii-side-branches/tags.cfg",
+ w_keyrings: [
+ "./${w_folder}/ascii_keyring.asc",
+ "./${w_folder}/ascii_proposed_keyring.asc",
+ "./${w_folder}/ascii_proposed_updates_keyring.asc"
+ ],
+ }
+ ]
+... \ No newline at end of file