mirror of
https://github.com/google/nomulus.git
synced 2025-07-03 01:33:29 +02:00
Chain ICANN report upload after staging
This converts the upload task from a cron job to a task chained after staging. This ensures the upload job only occurs when its dependencies are met, and provides a faster turnaround time to verify both the staging and upload jobs are complete. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175045489
This commit is contained in:
parent
a6f0ab1429
commit
8dcc2d6833
3 changed files with 43 additions and 10 deletions
|
@ -256,18 +256,9 @@
|
|||
<description>
|
||||
Create ICANN activity and transaction reports for last month, storing them in
|
||||
gs://domain-registry-alpha-reporting/icann/monthly/yyyy-MM
|
||||
Upon success, enqueues the icannReportingUpload task to POST these files to ICANN.
|
||||
</description>
|
||||
<schedule>2 of month 09:00</schedule>
|
||||
<target>backend</target>
|
||||
</cron>
|
||||
|
||||
<cron>
|
||||
<url><![CDATA[/_dr/cron/fanout?queue=retryable-cron-tasks&endpoint=/_dr/task/icannReportingUpload&runInEmpty]]></url>
|
||||
<description>
|
||||
Upload ICANN activity and transaction reports for last month to ICANN, fetching them from
|
||||
gs://domain-registry-alpha-reporting/icann/monthly/yyyy-MM
|
||||
</description>
|
||||
<schedule>4 of month 09:00</schedule>
|
||||
<target>backend</target>
|
||||
</cron>
|
||||
</cronentries>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue