File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,20 @@ the ability to keep "x" number of runners always (or at some specified times) ru
14
14
This will help you run workflows almost instantly.
15
15
16
16
::: info
17
- Idle runners does not mean that the same machine will be re-used for jobs.
17
+ - Idle runners does not mean that the same machine will be re-used for jobs.
18
18
Runners are destroyed after the job completes. Idle runner configuration
19
19
makes sure that given number of runners are always available, as in a runner
20
20
is created if one of the runners picks up a job.
21
21
:::
22
22
23
+ Specifying idle runners in the ` .cirun.yml ` , does not prevent spinning up of on-demand runners, but
24
+ cirun will try to re-use existing runners where possible.
25
+
23
26
## Examples
24
27
25
- ### Make 4 runners always available from 9 AM - 5 PM on Monday to Friday and 1 on weekend:
28
+ Here are some example of specifying configuration for idle runners in ` .cirun.yml `
29
+
30
+ ### Make ` 4 ` runners always available from 9 AM - 5 PM on Monday to Friday and ` 1 ` on the weekend:
26
31
27
32
``` yaml
28
33
runners :
@@ -46,7 +51,7 @@ runners:
46
51
` ` `
47
52
48
53
49
- ### Make 4 runners always available from 9 AM - 5 PM on Monday to Friday and none on weekend:
54
+ ### Make ` 4` runners always available from 9 AM - 5 PM on Monday to Friday and `0` on weekend:
50
55
51
56
` ` ` yaml
52
57
runners:
You can’t perform that action at this time.
0 commit comments