Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

ci: install fuse3 when runners lack fusermount3 (#12013)

Chris Luce4c1fe31e0c
diff --git a/.github/actions/fix-fusermount-setuid/action.yml b/.github/actions/fix-fusermount-setuid/action.yml
index 7aad5bf482..5b0428c713 100644
--- a/.github/actions/fix-fusermount-setuid/action.yml
+++ b/.github/actions/fix-fusermount-setuid/action.yml
@@ -23,8 +23,14 @@ runs:
bin=$(command -v fusermount3 || true)
if [ -z "$bin" ]; then
- echo "no fusermount3 in PATH" >&2
- exit 1
+ # Self-hosted runners are not guaranteed to carry fuse3.
+ sudo apt-get update
+ sudo apt-get install -y fuse3
+ bin=$(command -v fusermount3 || true)
+ if [ -z "$bin" ]; then
+ echo "no fusermount3 in PATH after installing fuse3" >&2
+ exit 1
+ fi
fi
if can_mount "$bin"; then
ls -l "$bin"