Skip to content

Commit e28f9d4

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). Configuration values in use do not provide a fix for the reported issue. They were chosen to verify this approach on the Maestro Staging instance. A tree has been selected using following criteria: - adds as little as possible load for the Staging build cluster instance - preferably has only one monitored branch which doesn't get updated often - is related to the netdev tree already present in the Docker Compose deployment. Resolves: kernelci/kernelci-core#2857 Signed-off-by: Paweł Wieczorek <pawiecz@collabora.com>
1 parent 19170c0 commit e28f9d4

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

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=aaptel'
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)