Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Store cache contents into an S3 bucket #81

Closed
csala opened this issue May 17, 2021 · 0 comments · Fixed by #77
Closed

Store cache contents into an S3 bucket #81

csala opened this issue May 17, 2021 · 0 comments · Fixed by #77
Assignees
Labels
internal The issue doesn't change the API or functionality
Milestone

Comments

@csala
Copy link
Contributor

csala commented May 17, 2021

  • SDGym version: 0.3.0

Description

Similarly to what is described on #80, it should be possible to store the cache contents into an S3 bucket.

The behavior would be similar to the results path, where one can specify the s3:// prefix in the cache_dir path specification to trigger the S3 storage.

Python

sdgym.run(..., cache_dir='s3://my-bucket/path/to/my/cache/dir')

CLI

sdgym run ... -c s3://my-bucket/path/to/my/cache/dir

The collect command introduced in the PR #78 should also be adapted to read the cache contents from S3 and store the resulting CSV file to S3.

@csala csala added the internal The issue doesn't change the API or functionality label May 17, 2021
@csala csala added this to the 0.3.1 milestone May 17, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
internal The issue doesn't change the API or functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants