From 163f4360c041fe2cd158e8969626c1b3eee47502 Mon Sep 17 00:00:00 2001 From: Claudia Beresford Date: Thu, 14 Jul 2022 18:02:08 +0100 Subject: [PATCH] patch: Provision flintlock from latest release Previously flintlock only had pre-releases, which meant a different install method in `provision.sh`. Now it can use the standard func. --- README.md | 10 +++++++++- hack/scripts/provision.sh | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2e765da0a..4a3a6b31a 100644 --- a/README.md +++ b/README.md @@ -52,11 +52,18 @@ The table below shows you which versions of Firecracker are compatible with Flin | Flintlock | Firecracker | | ----------------- | ------------------ | +| <= v0.1.0 | <= v0.25.2-macvtap | | <= v0.1.0-alpha.6 | <= v0.25.2-macvtap | | v0.1.0-alpha.7 | **Do not use** | | v0.1.0-alpha.8 | <= v0.25.2-macvtap | -> Note: Flintlock currently requires a custom build of Firecracker available [here](https://github.com/weaveworks/firecracker/releases). +> Note: Flintlock currently requires a custom build of Firecracker available [here][fc-fork]. + +> Note: Due to upstream development issues, Flintlock in future will only support +Firecracker [`v0.25.2-macvtap`][fc-fork]. We will not maintain any versions beyond this. +In future releases of Flintlock, Cloud Hypervisor will be the default and recommended +MicroVM driver. + ## License [MPL-2.0 License][license] @@ -68,3 +75,4 @@ The table below shows you which versions of Firecracker are compatible with Flin [milestones]: https://github.com/weaveworks-liquidmetal/flintlock/milestones [adr]: ./docs/adr [license]: ./LICENSE +[fc-fork]: https://github.com/weaveworks/firecracker/releases diff --git a/hack/scripts/provision.sh b/hack/scripts/provision.sh index 66d786aa8..817f8d1c3 100755 --- a/hack/scripts/provision.sh +++ b/hack/scripts/provision.sh @@ -294,7 +294,7 @@ install_flintlockd() { say "Installing flintlockd version $tag to $INSTALL_PATH" if [[ "$tag" == "$DEFAULT_VERSION" ]]; then - tag=$(latest_pre_release_tag "$FLINTLOCK_REPO") + tag=$(latest_release_tag "$FLINTLOCK_REPO") fi url=$(build_download_url "$FLINTLOCK_REPO" "$tag" "$FLINTLOCK_RELEASE_BIN")