Skip to content

Commit cd2b036

Browse files
committed
Use Firecracker v0.22.0 inside testdata/
The targets are used to download artifacts for local development. Signed-off-by: Kazuyoshi Kato <[email protected]>
1 parent 0ab6d7d commit cd2b036

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ GID = $(shell id -g)
2626

2727
# The below files are needed and can be downloaded from the internet
2828
testdata_objects = testdata/vmlinux testdata/root-drive.img testdata/firecracker testdata/jailer
29+
firecracker_version = v0.22.0
2930

3031
# --location is needed to follow redirects on github.com
3132
curl = curl --location
@@ -58,11 +59,11 @@ testdata/vmlinux:
5859
$(curl) -o $@ https://s3.amazonaws.com/spec.ccfc.min/img/hello/kernel/hello-vmlinux.bin
5960

6061
testdata/firecracker:
61-
$(curl) -o $@ https://github.com/firecracker-microvm/firecracker/releases/download/v0.21.1/firecracker-v0.21.1-x86_64
62+
$(curl) -o $@ https://github.com/firecracker-microvm/firecracker/releases/download/$(firecracker_version)/firecracker-$(firecracker_version)-x86_64
6263
chmod +x $@
6364

6465
testdata/jailer:
65-
$(curl) -o $@ https://github.com/firecracker-microvm/firecracker/releases/download/v0.21.1/jailer-v0.21.1-x86_64
66+
$(curl) -o $@ https://github.com/firecracker-microvm/firecracker/releases/download/$(firecracker_version)/jailer-$(firecracker_version)-x86_64
6667
chmod +x $@
6768

6869
testdata/root-drive.img:

0 commit comments

Comments
 (0)