-
Notifications
You must be signed in to change notification settings - Fork 182
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
Upgrade firecracker from v1.1.0 to v1.4.1 #757
base: main
Are you sure you want to change the base?
Conversation
Not sure how the upgrade to v1.1 was performed previously, but it seems like fc-go-sdk remained at v1.0. The correct process should be
|
firecracker submodule in the repo is used to compile firecracker binary for CI testing. Yeah, it's better to align though. |
CI is failing due to issue compiling firecracker using upstream devtool.
The root cause is the build script release.sh of firecracker v1.3.3 uses git describe to get firecracker version. This won't be an issue if you directly build from firecracker repo. However firecracker-containerd includes firecracker as a submodule, which links firecrcker's .git to firecrecker-containerd's directory.
Since firecracker is complied in a docker container, not mounting the git directory from fc-cd but using git command will give us the above error. Talked to firecracker, they have a fix in the upcoming release. We probably should wait until the new release, and directly upgrade to it. |
f926eea
to
21fe6fa
Compare
Update firecracker-go-sdk dependency Remove devtool strip which has been removed in latest firecracker release Signed-off-by: Tony Fang <[email protected]>
@fangn2 do you know the reason of the fc kernel build failure?
This change LGTM if the failure is fixed. |
Signed-off-by: Kern Walster <[email protected]>
The kernel build failures are coming from here: https://github.com/firecracker-microvm/firecracker/blob/02dd0328589c59ae11b7ad13eaf412410f8e72e1/resources/tests/build_kernel.sh#L45-L49
It's worth noting that upstream firecracker moved to prebuilt binaries and |
I misread what FC did. They're still building from source, but you can't specify a config any more and it's not built in a container. The actual scripts to build the kernel are pretty small, so I think we can just copy the bits we need and have it all in this project. |
Issue #, if available:
Description of changes:
Upgrade firecracker from v1.1.0 to v.1.4.1
Firecracker diff firecracker-microvm/firecracker@v1.1.0...v1.4.1
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.