id: gias-weekly-update namespace: schoolcompare.data description: Download and load GIAS (Get Information About Schools) bulk CSV triggers: - id: weekly-schedule type: io.kestra.plugin.core.trigger.Schedule cron: "0 3 * * 0" # Every Sunday at 03:00 tasks: - id: download type: io.kestra.plugin.core.http.Request uri: http://integrator:8001/run/gias?action=download method: POST timeout: PT30M - id: load type: io.kestra.plugin.core.http.Request uri: http://integrator:8001/run/gias?action=load method: POST timeout: PT30M errors: - id: notify-failure type: io.kestra.plugin.core.log.Log message: "GIAS update FAILED: {{ error.message }}" retry: maxAttempts: 3 delay: PT10M