-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci, ingest): Prevent duplicated ingest by preventing concurrent …
…ingest + add regroup&revoke cronjob (#2473) * Update ingest deployment config: remove job launched after new deployment * Update ingest deployment config: Have ingest cronjob try to start every 2 minutes, add approve to cronjob, thus triggering ingest after new syncs (i.e. preview deployments), make argocd restart cronjobs on new sync. Enforce no concurrency on cronjob level. * Add approval timeout in minutes to the approve snakemake rule this ensures that the cronjob will stop before being removed by kubernetes after the activeDeadlineSeconds. * Add a revoke_and_regroup cronjob that never runs but can be launched manually if re-ingest finds metadata updates that change the grouping of segments for segmented viruses. --------- Co-authored-by: Cornelius Roemer <cornelius.roemer@gmail.com>
- Loading branch information
1 parent
8a76ef0
commit e1cabe0
Showing
5 changed files
with
87 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters