-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/task run model #2
base: master
Are you sure you want to change the base?
Conversation
5dc4f53
to
8d90730
Compare
config/settings/base.py
Outdated
@@ -279,3 +279,6 @@ def immutable_file_test(path, url): | |||
|
|||
|
|||
WHITENOISE_IMMUTABLE_FILE_TEST = immutable_file_test | |||
|
|||
S3_FILE_BUCKET = env.str('DJANGO_S3_FILE_BUCKET') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd recommend replacing these with a single URI.
This would allow the use of "/tmp/data" for local, and "s3://my_bucket/some/path" down the line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't implemented local storage yet (as that would require an endpoint to accept file data, instead of just metadata) but have generalized to remove references to bucket, and detect s3:// urls.
8d90730
to
d14c8e5
Compare
I believe I've addressed everything, would welcome another look :) |
625fc9f
to
122676e
Compare
202a570
to
c236d0e
Compare
@dtkav worth one more look over - I think this is in a decent state :) |
Otherwise postgres server itself doesn't get started.
Adds a TaskRun and a File model for storing results of task which have been run. Allows uploading of stdout / stderr to S3.
To better match the rest of the API.
c236d0e
to
1f0c4c5
Compare
handle NotImplementedError
Add task run and file storage models.