Skip to content

Commit ff72634

Browse files
committed
docker-compose: Add daily Trigger service
This change addresses the requirement to reduce the frequency of creating Checkout Nodes instead of setting frequency limits on Maestro Jobs (which might result in empty Checkouts in the Web Dashboard). Resolves: kernelci/kernelci-core#2857 Signed-off-by: Paweł Wieczorek <pawiecz@collabora.com>
1 parent 4e9f485 commit ff72634

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docker-compose.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,19 @@ services:
135135
extra_hosts:
136136
- "host.docker.internal:host-gateway"
137137

138+
trigger_daily:
139+
<<: *base-service
140+
container_name: 'kernelci-pipeline-trigger-daily'
141+
command:
142+
- './src/trigger.py'
143+
- '--settings=${KCI_SETTINGS:-/home/kernelci/config/kernelci.toml}'
144+
- 'run'
145+
- '--poll-period=86400'
146+
- '--trees=chromiumos'
147+
- '--name=trigger_daily'
148+
extra_hosts:
149+
- "host.docker.internal:host-gateway"
150+
138151
timeout:
139152
<<: *base-service
140153
container_name: 'kernelci-pipeline-timeout'

0 commit comments

Comments
 (0)