Skip to content
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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

Psykar
Copy link
Member

@Psykar Psykar commented Mar 1, 2019

Add task run and file storage models.

@Psykar Psykar force-pushed the feature/task-run-model branch from 5dc4f53 to 8d90730 Compare March 1, 2019 04:03
@@ -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')
Copy link
Contributor

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.

Copy link
Member Author

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.

config/settings/base.py Outdated Show resolved Hide resolved
@Psykar Psykar force-pushed the feature/task-run-model branch from 8d90730 to d14c8e5 Compare March 4, 2019 05:33
@Psykar
Copy link
Member Author

Psykar commented Mar 4, 2019

I believe I've addressed everything, would welcome another look :)

@Psykar Psykar force-pushed the feature/task-run-model branch from 625fc9f to 122676e Compare March 6, 2019 03:35
@Psykar Psykar requested a review from dtkav March 6, 2019 03:38
@Psykar Psykar force-pushed the feature/task-run-model branch 3 times, most recently from 202a570 to c236d0e Compare March 6, 2019 04:13
@Psykar
Copy link
Member Author

Psykar commented Mar 13, 2019

@dtkav worth one more look over - I think this is in a decent state :)

@Psykar Psykar force-pushed the feature/task-run-model branch from c236d0e to 1f0c4c5 Compare March 14, 2019 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants