Commit 26a0e91
authored
feat: upgrade default Firecracker v1.12 version (#2245)
* feat: upgrade default Firecracker v1.12 version
We updated Firecracker version v1.12 to fix an issue with the first
/init call to envd[1]. Use that one as the default v1.12 version.
Also, make smoke tests look for the new format of Firecracker artifacts
which includes an architecture suffix[2].
[1] e2b-dev/fc-versions@09c01f1
[2] e2b-dev/fc-versions@f612c4a
Signed-off-by: Babis Chalios <babis.chalios@e2b.dev>
* fix(smoke-test): use correct asset name for FC v1.10 binaries
FC v1.10 binary releases were just building a single binary
(firecracker) since we were only building for x86. Now we build for both
x86 and ARM and we upload both binaries (with appropriate suffixes).
Take that into account for as long as we support Firecracker v1.10. Once
we stop supporting those, we can drop the workaround.
Signed-off-by: Babis Chalios <babis.chalios@e2b.dev>
* fix: create-build command Firecracker download
Firecracker releases now include both x86 and arm64 binaries with -amd64
and -arm64 suffixes respectively in the fc-version release assets. The
only exception is v1.10 for which we still use an old release.
Teach create-build command how to download artifacts using these asset
names.
Signed-off-by: Babis Chalios <babis.chalios@e2b.dev>
---------
Signed-off-by: Babis Chalios <babis.chalios@e2b.dev>1 parent 701b085 commit 26a0e91
File tree
5 files changed
+26
-7
lines changed- .github/actions/build-sandbox-template
- packages
- orchestrator/cmd
- create-build
- smoketest
- tests/integration
5 files changed
+26
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | | - | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
445 | 453 | | |
446 | 454 | | |
447 | 455 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
362 | 363 | | |
363 | 364 | | |
364 | 365 | | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
365 | 376 | | |
366 | | - | |
| 377 | + | |
367 | 378 | | |
368 | 379 | | |
369 | 380 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
| 262 | + | |
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| |||
0 commit comments