summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-01-25 21:30:45 +0100
committerKarel Kočí <cynerd@email.cz>2020-01-25 21:30:45 +0100
commit2719da2033b2f8371c3b7ac3a4349e77665b88ce (patch)
tree2ca63ccfe647ab58187df6461b9e1f70eae372a5
parent4c402e7f89de109ee3f1dff8606a1443f07e63cc (diff)
downloadlaminar-cnf-2719da2033b2f8371c3b7ac3a4349e77665b88ce.tar.gz
laminar-cnf-2719da2033b2f8371c3b7ac3a4349e77665b88ce.tar.bz2
laminar-cnf-2719da2033b2f8371c3b7ac3a4349e77665b88ce.zip
Migrate to contexts
-rw-r--r--contexts/default.conf1
-rw-r--r--contexts/heavy.conf1
-rw-r--r--contexts/rapid.conf0
-rw-r--r--nodes/heavy.conf2
-rw-r--r--nodes/notag.conf2
-rw-r--r--nodes/rapid.conf2
-rw-r--r--templates/alpine.conf2
-rw-r--r--templates/turris.conf2
8 files changed, 4 insertions, 8 deletions
diff --git a/contexts/default.conf b/contexts/default.conf
new file mode 100644
index 0000000..551bf21
--- /dev/null
+++ b/contexts/default.conf
@@ -0,0 +1 @@
+EXECUTORS=0
diff --git a/contexts/heavy.conf b/contexts/heavy.conf
new file mode 100644
index 0000000..378f0e6
--- /dev/null
+++ b/contexts/heavy.conf
@@ -0,0 +1 @@
+EXECUTORS=3
diff --git a/contexts/rapid.conf b/contexts/rapid.conf
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/contexts/rapid.conf
diff --git a/nodes/heavy.conf b/nodes/heavy.conf
deleted file mode 100644
index db1bd7e..0000000
--- a/nodes/heavy.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-EXECUTORS=2
-TAGS=heavy
diff --git a/nodes/notag.conf b/nodes/notag.conf
deleted file mode 100644
index d1ee7d9..0000000
--- a/nodes/notag.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-# Disable untagged jobs
-EXECUTORS=0
diff --git a/nodes/rapid.conf b/nodes/rapid.conf
deleted file mode 100644
index dc6a190..0000000
--- a/nodes/rapid.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-EXECUTORS=20
-TAGS=rapid
diff --git a/templates/alpine.conf b/templates/alpine.conf
index 6649781..76e5623 100644
--- a/templates/alpine.conf
+++ b/templates/alpine.conf
@@ -1,2 +1,2 @@
-TAGS=heavy
+CONTEXTS=heavy
TIMEOUT=43200
diff --git a/templates/turris.conf b/templates/turris.conf
index 6649781..76e5623 100644
--- a/templates/turris.conf
+++ b/templates/turris.conf
@@ -1,2 +1,2 @@
-TAGS=heavy
+CONTEXTS=heavy
TIMEOUT=43200