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

[WIP]Remove rdbms storage from pkg/storage #502

Closed
wants to merge 4 commits into from

Conversation

manugupt1
Copy link
Member

@manugupt1 manugupt1 commented Aug 17, 2018

Fixes #494

@codecov-io
Copy link

codecov-io commented Aug 17, 2018

Codecov Report

Merging #502 into master will increase coverage by 0.94%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #502      +/-   ##
==========================================
+ Coverage   41.64%   42.59%   +0.94%     
==========================================
  Files          98       92       -6     
  Lines        2802     2709      -93     
==========================================
- Hits         1167     1154      -13     
+ Misses       1527     1447      -80     
  Partials      108      108
Impacted Files Coverage Δ
cmd/olympus/actions/storage.go 0% <ø> (ø) ⬆️
cmd/proxy/actions/storage.go 17.02% <ø> (+1.92%) ⬆️
cmd/proxy/actions/app.go 66.29% <0%> (-5.14%) ⬇️
cmd/proxy/actions/basicauth.go 0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f77da76...6cef1fc. Read the comment docs.

@michalpristas
Copy link
Member

can you fill in description with: Why, how...

Copy link
Member

@michalpristas michalpristas left a comment

Choose a reason for hiding this comment

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

Can you also cleanup docker setup,
cherry pick @arschles changes from #487

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

After @michalpristas comment re: docker

arschles and others added 3 commits August 17, 2018 19:21
- Not sourcing from cmd/proxy/.env, because that doesn't export any variables
- Removing mysql support (I feel like 1 database is enough)
- Pruning networks on teardown

I'm happy to split these changes up into separate PRs - it's the end of the day for me so I wanted to get everything in 😄
@manugupt1 manugupt1 changed the title Remove rdbms storage from pkg/storage [WIP]Remove rdbms storage from pkg/storage Aug 17, 2018
@manugupt1
Copy link
Member Author

Removing docker required a whole lot of changes. Addressed at #511

@@ -34,12 +33,6 @@ func GetStorage() (storage.Backend, error) {
return nil, err
}
return mongo.NewStorage(mongoURI)
case "postgres", "sqlite", "cockroach", "mysql":
Copy link
Member

Choose a reason for hiding this comment

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

we are removing postgres support but starting postrgres image. why is that?

@manugupt1
Copy link
Member Author

Yep! sorry about that! the builds and tests succeeded only at #511
Let me close these unnecessary ones!

@manugupt1 manugupt1 closed this Aug 20, 2018
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.

5 participants