Files
school_compare/integrator/flows/phonics.yml
Tudor 2c7da5459d
All checks were successful
Build and Push Docker Images / Build Backend (FastAPI) (push) Successful in 32s
Build and Push Docker Images / Build Frontend (Next.js) (push) Successful in 1m3s
Build and Push Docker Images / Build Integrator (push) Successful in 57s
Build and Push Docker Images / Build Kestra Init (push) Successful in 32s
Build and Push Docker Images / Trigger Portainer Update (push) Successful in 1s
fix(flows): add type: constant and fix interval field name in retry blocks
Kestra requires retry.type to be set (e.g. constant, exponential).
Also rename delay -> interval which is the correct field for constant retry.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 20:08:17 +00:00

27 lines
645 B
YAML

id: phonics-annual-update
namespace: schoolcompare.data
description: Download and load Phonics Screening Check data via EES API
triggers:
- id: annual-schedule
type: io.kestra.plugin.core.trigger.Schedule
cron: "0 5 1 9 *" # 1 September annually at 05:00
tasks:
- id: download
type: io.kestra.plugin.core.http.Request
uri: http://integrator:8001/run/phonics?action=download
method: POST
timeout: PT20M
- id: load
type: io.kestra.plugin.core.http.Request
uri: http://integrator:8001/run/phonics?action=load
method: POST
timeout: PT30M
retry:
type: constant
maxAttempts: 3
interval: PT15M