Skip to content

Commit

Permalink
patch: Provision flintlock from latest release
Browse files Browse the repository at this point in the history
Previously flintlock only had pre-releases, which meant a different
install method in `provision.sh`. Now it can use the standard func.
  • Loading branch information
Callisto13 committed Jul 14, 2022
1 parent d83c103 commit 163f436
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
2 changes: 1 addition & 1 deletion hack/scripts/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 163f436

Please sign in to comment.