Skip to content

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

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.

@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