-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
## Summary Relates to #2548 ### Time to review: __2 mins__ ## Changes proposed Swaps the analytics application to the new step functions pattern that I originally merged in #2506. The size of the red diff and the simplicity of the new configuration show have valuable the new pattern is. ## Context for reviewers The step function is now running, but the CLI itself is currently broken. eg. the CLI is currently broken everywhere, even locally. Fixing that is someone else's job though!
- Loading branch information
1 parent
a12f926
commit cd1844c
Showing
5 changed files
with
30 additions
and
113 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
locals { | ||
# The `task_command` is what you want your scheduled job to run, for example: ["poetry", "run", "flask"]. | ||
# Schedule expression defines the frequency at which the job should run. | ||
# The syntax for `schedule_expression` is explained in the following documentation: | ||
# https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-scheduled-rule-pattern.html | ||
# The `state` is the state of the scheduled job. It can be either "ENABLED" or "DISABLED". | ||
|
||
scheduled_jobs = { | ||
sprint-reports = { | ||
task_command = ["make", "gh-data-export", "sprint-reports"] | ||
schedule_expression = "rate(1 days)" | ||
state = "ENABLED" | ||
} | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.