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

chore: add a docker resource for minio #169

Merged
merged 1 commit into from
Oct 26, 2023
Merged

chore: add a docker resource for minio #169

merged 1 commit into from
Oct 26, 2023

Conversation

atzoum
Copy link
Collaborator

@atzoum atzoum commented Oct 24, 2023

Description

Standardising the way we are creating minio docker containers in our tests

Security

  • The code changed/added as part of this pull request won't create any security issues with how the software is being used.

@codecov
Copy link

codecov bot commented Oct 24, 2023

Codecov Report

Attention: 29 lines in your changes are missing coverage. Please review.

Comparison is base (b64d886) 79.13% compared to head (4d3bdc9) 79.02%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #169      +/-   ##
==========================================
- Coverage   79.13%   79.02%   -0.12%     
==========================================
  Files          68       70       +2     
  Lines        5081     5172      +91     
==========================================
+ Hits         4021     4087      +66     
- Misses        859      879      +20     
- Partials      201      206       +5     
Files Coverage Δ
testhelper/docker/resource/minio/config.go 0.00% <0.00%> (ø)
testhelper/docker/resource/minio.go 74.69% <74.69%> (ø)

... and 5 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


func SetupMinio(pool *dockertest.Pool, d cleaner, opts ...func(*minioconfig.Config)) (*MinioResource, error) {
const (
bucket = "rudder-saas"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we name it testbucket instead of RudderStack production bucket?

Suggested change
bucket = "rudder-saas"
bucket = "testbucket"

@atzoum atzoum merged commit 5ce4b79 into main Oct 26, 2023
10 checks passed
@atzoum atzoum deleted the chore.minioResource branch October 26, 2023 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants