TODOs:
[ ] add configurations so that you can configure s3 as the storage
For now, if you want to use s3:
set your AWS_ACCESS_KEY_ID, AWS_DEFAULT_REGION, and AWS_SECRET_ACCESS_KEY in your environment.
make sure you have two s3 buckets created under your aws account: skyvern-artifacts and skyvern-screenshots. If you want to use customized bucket names, make sure they're set for these two environment variables: AWS_S3_BUCKET_ARTIFACTS and AWS_S3_BUCKET_SCREENSHOTS
TODOs: [ ] add configurations so that you can configure s3 as the storage
For now, if you want to use s3:
AWS_ACCESS_KEY_ID
,AWS_DEFAULT_REGION
, andAWS_SECRET_ACCESS_KEY
in your environment.skyvern-artifacts
andskyvern-screenshots
. If you want to use customized bucket names, make sure they're set for these two environment variables:AWS_S3_BUCKET_ARTIFACTS
andAWS_S3_BUCKET_SCREENSHOTS
StorageFactory.set_storage(S3Storage())
before https://github.com/Skyvern-AI/skyvern-cloud/blame/f9b7a50a9b83244d68226d27c0e8b5cd582bc763/skyvern/forge/app.py#L25Summary:
This PR adds AWS S3 storage support to Skyvern, introducing the
S3Storage
class, configuration updates, and setup instructions.Key points:
S3Storage
class for S3 operations.build_uri
,store_artifact
,retrieve_artifact
,get_share_link
,get_share_links
,store_artifact_from_path
,save_streaming_file
,get_streaming_file
.AsyncAWSClient
for async S3 operations.skyvern/config.py
withSKYVERN_STORAGE_TYPE
and S3 bucket settings.skyvern/forge/app.py
to set storage to S3 ifSKYVERN_STORAGE_TYPE
iss3
.AWS_S3_BUCKET_ARTIFACTS
andAWS_S3_BUCKET_SCREENSHOTS
settings.docs/running-tasks/visualizing-results.mdx
for S3 configuration.Generated with :heart: by ellipsis.dev