Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version to 1.9-dev #4623

Merged
merged 3 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 16 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ kernel image with a Ubuntu 22.04 rootfs from our CI:
ARCH="$(uname -m)"

# Download a linux kernel binary
wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.8/${ARCH}/vmlinux-5.10.210
wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.9/${ARCH}/vmlinux-5.10.217

# Download a rootfs
wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.8/${ARCH}/ubuntu-22.04.ext4
wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.9/${ARCH}/ubuntu-22.04.ext4

# Download the ssh key for the rootfs
wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.8/${ARCH}/ubuntu-22.04.id_rsa
wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.9/${ARCH}/ubuntu-22.04.id_rsa

# Set user read permission on the ssh key
chmod 400 ./ubuntu-22.04.id_rsa
Expand Down
17 changes: 5 additions & 12 deletions resources/rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,18 +151,11 @@ function get_linux_tarball {
echo "Downloading the latest patch version for v$KERNEL_VERSION..."
local major_version="${KERNEL_VERSION%%.*}"
local url_base="https://cdn.kernel.org/pub/linux/kernel"
# 5.10 kernels starting from 5.10.211 don't build with our
# configuration. For now, pin it to the last working version.
# TODO: once this is fixed upstream we can remove this pin.
if [[ $KERNEL_VERSION == "5.10" ]]; then
local LATEST_VERSION="linux-5.10.210.tar.xz"
else
local LATEST_VERSION=$(
curl -fsSL $url_base/v$major_version.x/ \
| grep -o "linux-$KERNEL_VERSION\.[0-9]*\.tar.xz" \
| sort -rV \
| head -n 1 || true)
fi
local LATEST_VERSION=$(
curl -fsSL $url_base/v$major_version.x/ \
| grep -o "linux-$KERNEL_VERSION\.[0-9]*\.tar.xz" \
| sort -rV \
| head -n 1 || true)
# Fetch tarball and sha256 checksum.
curl -fsSLO "$url_base/v$major_version.x/sha256sums.asc"
curl -fsSLO "$url_base/v$major_version.x/$LATEST_VERSION"
Expand Down
2 changes: 1 addition & 1 deletion src/cpu-template-helper/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cpu-template-helper"
version = "1.8.0-dev"
version = "1.9.0-dev"
authors = ["Amazon Firecracker team <firecracker-devel@amazon.com>"]
edition = "2021"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/firecracker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "firecracker"
version = "1.8.0-dev"
version = "1.9.0-dev"
authors = ["Amazon Firecracker team <firecracker-devel@amazon.com>"]
edition = "2021"
build = "build.rs"
Expand Down
2 changes: 1 addition & 1 deletion src/firecracker/swagger/firecracker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ info:
The API is accessible through HTTP calls on specific URLs
carrying JSON modeled data.
The transport medium is a Unix Domain Socket.
version: 1.8.0-dev
version: 1.9.0-dev
termsOfService: ""
contact:
email: "compute-capsule@amazon.com"
Expand Down
2 changes: 1 addition & 1 deletion src/jailer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jailer"
version = "1.8.0-dev"
version = "1.9.0-dev"
authors = ["Amazon Firecracker team <firecracker-devel@amazon.com>"]
edition = "2021"
description = "Process for starting Firecracker in production scenarios; applies a cgroup/namespace isolation barrier and then drops privileges."
Expand Down
2 changes: 1 addition & 1 deletion src/rebase-snap/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rebase-snap"
version = "1.8.0-dev"
version = "1.9.0-dev"
authors = ["Amazon Firecracker team <firecracker-devel@amazon.com>"]
edition = "2021"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/seccompiler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "seccompiler"
version = "1.8.0-dev"
version = "1.9.0-dev"
authors = ["Amazon Firecracker team <firecracker-devel@amazon.com>"]
edition = "2021"
description = "Program that compiles multi-threaded seccomp-bpf filters expressed as JSON into raw BPF programs, serializing them and outputting them to a file."
Expand Down
2 changes: 1 addition & 1 deletion src/snapshot-editor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snapshot-editor"
version = "1.8.0-dev"
version = "1.9.0-dev"
authors = ["Amazon Firecracker team <firecracker-devel@amazon.com>"]
edition = "2021"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion tools/devtool
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ ensure_ci_artifacts() {

# Fetch all the artifacts so they are local
say "Fetching CI artifacts from S3"
S3_URL=s3://spec.ccfc.min/firecracker-ci/v1.8/$(uname -m)
S3_URL=s3://spec.ccfc.min/firecracker-ci/v1.9/$(uname -m)
ARTIFACTS=$MICROVM_IMAGES_DIR/$(uname -m)
if [ ! -d "$ARTIFACTS" ]; then
mkdir -pv $ARTIFACTS
Expand Down
Loading