From 6d311fdd1f57235a48899bdb387952ee64b1526d Mon Sep 17 00:00:00 2001 From: Kazuyoshi Kato Date: Fri, 29 Nov 2019 09:38:52 -0800 Subject: [PATCH 1/4] Don't mention 0.12.0 and 0.17.0 These pre-vsock versions may not work anymore. Signed-off-by: Kazuyoshi Kato --- HACKING.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/HACKING.md b/HACKING.md index cc14cd25..547b7d65 100644 --- a/HACKING.md +++ b/HACKING.md @@ -12,7 +12,7 @@ environment variable. You need some external resources in order to run the tests, as described below: -1. A firecracker and jailer binary (tested with 0.12.0) must either be +1. A firecracker and jailer binary (tested with 0.20.0) must either be installed as `./testdata/firecracker` or the path must be specified through the `FC_TEST_BIN` environment variable. The jailer requires go test to be run with sudo and can also be turned off by setting the `DISABLE_ROOT_TESTS` @@ -61,7 +61,6 @@ Amazon EC2 Bare Metal Instances. The instance is pre-configured to have - firecracker and jailer under /usr/local/bin. - Both of them are currently v0.17.0 and built with - `cargo build --features vsock --release` to enable vsock support + Both of them are currently v0.20.0. - vmlinux.bin from https://s3.amazonaws.com/spec.ccfc.min/img/hello/kernel/hello-vmlinux.bin From cf87c4d910e86a5d0c605bae378bdf2586a68e0e Mon Sep 17 00:00:00 2001 From: Kazuyoshi Kato Date: Fri, 29 Nov 2019 09:52:33 -0800 Subject: [PATCH 2/4] Update CHANGELOG.md to include customer-facing changes Signed-off-by: Kazuyoshi Kato --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 177fbf0f..79220672 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# 0.20.0 +* Moves the NetNS field to `Config` from `JailerConfig` (#155). +* Supports forcing CNI network creation (#130). +* Adds `FIRECRACKER_GO_SDK_INIT_TIMEOUT_SECONDS` and `FIRECRACKER_GO_SDK_REQUEST_TIMEOUT_MILLISECONDS` environment variables to configure timeouts (#165). +* Adds `ForwardSignals` to explicitly configure signal handling (#166). + # 0.19.0 * Firecracker v0.19 API: Vsock API call: PUT /vsocks/{id} changed to PUT /vsock and no longer appear to support multiple vsock devices. Any subsequent calls to this API From 3a2184069861e0c151630d522aa61ecc7c1906c7 Mon Sep 17 00:00:00 2001 From: Kazuyoshi Kato Date: Fri, 29 Nov 2019 09:58:24 -0800 Subject: [PATCH 3/4] Update firecracker.Version Signed-off-by: Kazuyoshi Kato --- version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.go b/version.go index cc8acc4c..a964cee2 100644 --- a/version.go +++ b/version.go @@ -14,4 +14,4 @@ package firecracker // Version represents the current version of the SDK. -const Version = "0.19.0" +const Version = "0.20.0" From 750b9bd11623f5d29343ed52ab20724fa2850894 Mon Sep 17 00:00:00 2001 From: Kazuyoshi Kato Date: Mon, 6 Jan 2020 10:16:27 -0800 Subject: [PATCH 4/4] Use 0.20.0 binaries on BuildKite Signed-off-by: Kazuyoshi Kato --- .buildkite/pipeline.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 6c393350..0d6d364e 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -69,8 +69,8 @@ steps: commands: - 'ln -s /var/lib/fc-ci/vmlinux.bin testdata/vmlinux' - 'ln -s /var/lib/fc-ci/rootfs.ext4 testdata/root-drive.img' - - 'ln -s /usr/local/bin/firecracker-v0.19.0 testdata/firecracker' - - 'ln -s /usr/local/bin/jailer-v0.19.0 testdata/jailer' + - 'ln -s /usr/local/bin/firecracker-v0.20.0 testdata/firecracker' + - 'ln -s /usr/local/bin/jailer-v0.20.0 testdata/jailer' - "FC_TEST_TAP=fc-test-tap${BUILDKITE_BUILD_NUMBER} make test EXTRAGOARGS='-v -count=1 -race' DISABLE_ROOT_TESTS=true" agents: queue: "${BUILDKITE_AGENT_META_DATA_QUEUE:-default}" @@ -82,8 +82,8 @@ steps: commands: - 'ln -s /var/lib/fc-ci/vmlinux.bin testdata/vmlinux' - 'ln -s /var/lib/fc-ci/rootfs.ext4 testdata/root-drive.img' - - 'cp /usr/local/bin/firecracker-v0.19.0 testdata/firecracker' - - 'cp /usr/local/bin/jailer-v0.19.0 testdata/jailer' + - 'cp /usr/local/bin/firecracker-v0.20.0 testdata/firecracker' + - 'cp /usr/local/bin/jailer-v0.20.0 testdata/jailer' - 'make -C cni install CNI_BIN_ROOT=$(pwd)/testdata/bin' - "sudo FC_TEST_TAP=fc-root-tap${BUILDKITE_BUILD_NUMBER} make test EXTRAGOARGS='-v -count=1 -race' DISABLE_ROOT_TESTS=" agents: