Skip to content

Conversation

Skarlso
Copy link
Member

@Skarlso Skarlso commented Jul 8, 2018

This brings down the binary size from 21MB to 11MB.

Also, I'm planning on adding a coverage report for all packages in test-cover so hold off on merging until then if you so please. :)

@michelvocks
Copy link
Member

Awesome. 😊

Usually you start the title with WIP (work in progress) so everyone knows that this PR is still in progress.
Let me know when it's ready to be merged. 😄

@Skarlso
Copy link
Member Author

Skarlso commented Jul 8, 2018

Good point. :)

I have several small Prs now. What I'll do I think is merge them together rather. The make file and a test cleanup together make sense. The way it is right now is too fractured. I'll pull these Prs into one test fix / refactor one. It will be much easier to manage. :)

@Skarlso
Copy link
Member Author

Skarlso commented Jul 8, 2018

Oh never mind. You merged the others. :DDDD I'll pull them in here and make the coverage reporter. :)

@Skarlso Skarlso changed the title Small Makefile modification to bring down binary size. [WIP] Small Makefile modification to bring down binary size. Jul 8, 2018
@michelvocks
Copy link
Member

That sounds great. 😄

@Skarlso
Copy link
Member Author

Skarlso commented Jul 8, 2018

The beginnings:

❯ go test ./... --coverprofile=cover.out
?   	github.com/gaia-pipeline/gaia	[no test files]
?   	github.com/gaia-pipeline/gaia/cmd/gaia	[no test files]
?   	github.com/gaia-pipeline/gaia/handlers	[no test files]
ok  	github.com/gaia-pipeline/gaia/pipeline	6.957s	coverage: 2.5% of statements
?   	github.com/gaia-pipeline/gaia/plugin	[no test files]
ok  	github.com/gaia-pipeline/gaia/scheduler	0.018s	coverage: 16.4% of statements
ok  	github.com/gaia-pipeline/gaia/store	0.027s	coverage: 30.0% of statements

@Skarlso Skarlso changed the title [WIP] Small Makefile modification to bring down binary size. Small Makefile modification to bring down binary size. Jul 8, 2018
@Skarlso
Copy link
Member Author

Skarlso commented Jul 8, 2018

This is done for now. :)

Copy link
Member

@michelvocks michelvocks left a comment

Choose a reason for hiding this comment

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

LGTM 🤗

@michelvocks michelvocks merged commit 28d5d56 into gaia-pipeline:master Jul 9, 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.

2 participants