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
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>
24 lines
623 B
YAML
24 lines
623 B
YAML
id: ks2-reimport
|
|
namespace: schoolcompare.data
|
|
description: Re-import KS2 attainment data from bundled CSV files (use after DB wipe)
|
|
|
|
# No scheduled trigger — run manually from the Kestra UI when needed.
|
|
|
|
tasks:
|
|
- id: reimport
|
|
type: io.kestra.plugin.core.http.Request
|
|
uri: http://integrator:8001/run/ks2?action=load
|
|
method: POST
|
|
allowFailed: false
|
|
timeout: PT20M # full migration takes ~10 min; give headroom
|
|
|
|
errors:
|
|
- id: notify-failure
|
|
type: io.kestra.plugin.core.log.Log
|
|
message: "KS2 re-import FAILED: {{ error.message }}"
|
|
|
|
retry:
|
|
type: constant
|
|
maxAttempts: 2
|
|
interval: PT5M
|