-
Notifications
You must be signed in to change notification settings - Fork 74
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
Use localstack for S3 integration tests #4789
Conversation
...brain/nexus/delta/plugins/storage/storages/operations/s3/S3StorageAccessSpecLocalStack.scala
Outdated
Show resolved
Hide resolved
private val logoKey = "some/path/to/nexus-logo.png" | ||
|
||
val s3Endpoint: String = s"http://delta.bbp:9000" | ||
val s3BucketEndpoint: String = s"http://$bucket.delta.bbp:9000" | ||
val s3Endpoint: String = "http://s3.localhost.localstack.cloud:4566" |
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.
Can the suffix be configured ?
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.
which suffix sorry?
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.
localstack.cloud
It is just a detail though
I commented out some tests using testcontainers-scala with localstack. They'll be useful when we ditch Minio completely
FYI you can also run localstack separately with
then hit it with
awslocal
(wrapper around theaws
CLI) or use the desktop application to browse AWS resources