-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Compile cAdvisor statically #1237
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
Conversation
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
Ahh, doesn't it recognize me? :) Also cc @timstclair |
ok to test On Fri, Apr 22, 2016 at 1:04 PM, Lucas Käldström [email protected]
|
@vishh Tests passed. Are you confident enough to merge it 😄? |
Argh, I see. |
Updating On Fri, Apr 22, 2016 at 1:55 PM, Lucas Käldström [email protected]
|
61ee971
to
e9a3c46
Compare
e9a3c46
to
73fbb57
Compare
73fbb57
to
c7e2e11
Compare
@@ -204,7 +204,7 @@ func Run() error { | |||
|
|||
// Build cAdvisor. | |||
glog.Infof("Building cAdvisor...") | |||
err := RunCommand("godep", "go", "build", "github.com/google/cadvisor") | |||
err := RunCommand("godep", "go", "build", "--ldflags='-extldflags \"-static\"'", "github.com/google/cadvisor") |
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.
@vishh Do you have any clue what to write here to make it work?
I tried a lot of different combinations, but the linker just didn't parse it.
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.
Did you try running make build
?
On Tue, May 3, 2016 at 12:23 PM, Lucas Käldström [email protected]
wrote:
In integration/runner/runner.go
#1237 (comment):@@ -204,7 +204,7 @@ func Run() error {
// Build cAdvisor. glog.Infof("Building cAdvisor...")
- err := RunCommand("godep", "go", "build", "github.com/google/cadvisor")
- err := RunCommand("godep", "go", "build", "--ldflags='-extldflags "-static"'", "github.com/google/cadvisor")
@vishh https://github.com/vishh Do you have any clue what to write here
to make it work?
I tried a lot of different combinations, but the linker just didn't parse
it.—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/google/cadvisor/pull/1237/files/c7e2e113a9084142964556bd76b43ffb64b9e0e9#r61940055
Maybe it doesn't eat the
Maybe we need not escape here.
|
Thanks @djtm, will try it tomorrow |
It seems like a flake @vishh |
@k8s-bot test this |
Seems like a ssh issue |
@pwittrock ssh is failing (again)... |
@k8s-bot test this |
Not obvious why this failed from the logs:
I can't tell if this is ssh or cadvisor that is failing. |
I tested manually, it seems like an SSH issue for me. |
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
I don't think this is related to my PR:
|
No, sorry, our PR builder is broken right now. Fix is on the way. |
Very simple fix for #1227
Also partially required for #1236
@vishh @djtm