-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fix devtool strip #2567
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
Fix devtool strip #2567
Conversation
tools/devtool
Outdated
# 1. devtool -y test | ||
# 2. devtool -y build --release | ||
# 3. devtool strip | ||
cmd_ci() { |
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.
This is to use in our CI pipelines?
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.
Yep, we should test that a PR also doesn't break the release steps, whatever those steps are.
@@ -775,13 +775,13 @@ cmd_strip() { | |||
strip $strip_flags\ | |||
"$CTR_CARGO_TARGET_DIR/$target/$profile/firecracker" \ | |||
"$CTR_CARGO_TARGET_DIR/$target/$profile/jailer" \ | |||
"$CTR_CARGO_TARGET_DIR/$target/$profile/seccompiler/seccompiler" | |||
"$CTR_CARGO_SECCOMPILER_TARGET_DIR/$target/$profile/seccompiler" |
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.
nice catch!
Given this a second thought and we need to enable proper flexibility when testing with the I'll remove the |
When stripping binaries, the path pointing to the seccompiler binary was incorrect. Since we're putting the seccomp binary in a different location than standard binaries, this commit also adds a message for where to find the stripped seccompiler binary. Signed-off-by: Gabriel Ionescu <[email protected]>
Signed-off-by: Gabriel Ionescu <[email protected]>
Reason for This PR
./devtool strip
was failing due to incorrect path.Description of Changes
Fix strip command and add a command called
ci
to use to test the release process end to end.rust-vmm
.License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license.
PR Checklist
[Author TODO: Meet these criteria.]
[Reviewer TODO: Verify that these criteria are met. Request changes if not]
git commit -s
).unsafe
code is properly documented.firecracker/swagger.yaml
.CHANGELOG.md
.