Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Duplicate polling tasks as Flask CLI commands #238

Merged
merged 9 commits into from
Apr 12, 2020

Conversation

alysivji
Copy link
Member

@alysivji alysivji commented Apr 9, 2020

What does this do

Converting all polling CRON jobs to command line jobs that can be run as Kubernetes CronJobs. The CronJob primitive is a great way to run and monitor jobs in a cluster.

Leveraging the Click framework to building out command-line utilities that comes with Flask.

Why are we doing this

Continuing pre-Kubernetes migration work.

How should this be tested

Added tests around commands. Do tests pass with good coverage?

Migrations

n/a

Dependencies

n/a

Callouts

This might not be 100% ready for primetime, i.e. missing logging. That's okay. It doesn't change existing functionality and we will be polishing it up before it is used.

@alysivji alysivji changed the title Flask cli Duplicate polling tasks as Flask CLI commands Apr 9, 2020
@alysivji alysivji merged commit 96a20f1 into busy-beaver-dev:master Apr 12, 2020
@alysivji alysivji deleted the flask_cli branch April 12, 2020 04:18
@alysivji alysivji mentioned this pull request Apr 15, 2020
12 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant