From eb4540c8aabd4262877e4aac413859c8eafd7af6 Mon Sep 17 00:00:00 2001 From: Babis Chalios Date: Tue, 3 Sep 2024 11:29:01 +0200 Subject: [PATCH] ci: update CI bucket to point to v1.10 Switch devtool to fetch kernels from v1.10 CI bucket. Also update links in our Getting Started guides to point to the new bucket. Signed-off-by: Babis Chalios --- docs/getting-started.md | 6 +++--- tools/devtool | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index dfbfecf83cf..d7e9e5b6113 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -100,16 +100,16 @@ kernel image with a Ubuntu 22.04 rootfs from our CI: ```bash ARCH="$(uname -m)" -latest=$(wget "http://spec.ccfc.min.s3.amazonaws.com/?prefix=firecracker-ci/v1.9/x86_64/vmlinux-5.10&list-type=2" -O - 2>/dev/null | grep "(?<=)(firecracker-ci/v1.9/x86_64/vmlinux-5\.10\.[0-9]{3})(?=)" -o -P) +latest=$(wget "http://spec.ccfc.min.s3.amazonaws.com/?prefix=firecracker-ci/v1.10/x86_64/vmlinux-5.10&list-type=2" -O - 2>/dev/null | grep "(?<=)(firecracker-ci/v1.10/x86_64/vmlinux-5\.10\.[0-9]{3})(?=)" -o -P) # Download a linux kernel binary wget https://s3.amazonaws.com/spec.ccfc.min/${latest} # Download a rootfs -wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.9/${ARCH}/ubuntu-22.04.ext4 +wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.10/${ARCH}/ubuntu-22.04.ext4 # Download the ssh key for the rootfs -wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.9/${ARCH}/ubuntu-22.04.id_rsa +wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.10/${ARCH}/ubuntu-22.04.id_rsa # Set user read permission on the ssh key chmod 400 ./ubuntu-22.04.id_rsa diff --git a/tools/devtool b/tools/devtool index b7f8cd557b3..4ac3f2f9882 100755 --- a/tools/devtool +++ b/tools/devtool @@ -529,7 +529,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.9/$(uname -m) + S3_URL=s3://spec.ccfc.min/firecracker-ci/v1.10/$(uname -m) ARTIFACTS=$MICROVM_IMAGES_DIR/$(uname -m) if [ ! -d "$ARTIFACTS" ]; then mkdir -pv $ARTIFACTS