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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
ci: only run heavy workflows when related paths change
Chris Lud6da0e0e1333
diff --git a/.github/workflows/binaries_dev.yml b/.github/workflows/binaries_dev.ymlindex 851f7368ad..ed4280d374 100644--- a/.github/workflows/binaries_dev.yml+++ b/.github/workflows/binaries_dev.yml@@ -3,6 +3,11 @@ name: "go: build dev binaries"on:push:branches: [ master ]+ paths:+ - 'weed/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/binaries_dev.yml'concurrency:group: binaries-dev-${{ github.ref }}diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.ymlindex bffe122a28..e9ec91859b 100644--- a/.github/workflows/codeql.yml+++ b/.github/workflows/codeql.yml@@ -2,6 +2,11 @@ name: "Code Scanning - Action"on:pull_request:+ paths:+ - '**/*.go'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/codeql.yml'concurrency:group: ${{ github.head_ref }}/codeqldiff --git a/.github/workflows/container_dev.yml b/.github/workflows/container_dev.ymlindex 2d8ea5070f..6ccca0a1ee 100644--- a/.github/workflows/container_dev.yml+++ b/.github/workflows/container_dev.yml@@ -3,6 +3,12 @@ name: "docker: build dev containers"on:push:branches: [ master ]+ paths:+ - 'weed/**'+ - 'docker/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/container_dev.yml'permissions:contents: readdiff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex cd20839aa3..11a1346d3e 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -3,8 +3,20 @@ name: "End to End"on:push:branches: [ master ]+ paths:+ - 'weed/**'+ - 'docker/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/e2e.yml'pull_request:branches: [ master ]+ paths:+ - 'weed/**'+ - 'docker/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/e2e.yml'concurrency:group: ${{ github.head_ref }}/e2ediff --git a/.github/workflows/ec-integration-tests.yml b/.github/workflows/ec-integration-tests.ymlindex 14899d6caf..5a99dfc568 100644--- a/.github/workflows/ec-integration-tests.yml+++ b/.github/workflows/ec-integration-tests.yml@@ -3,8 +3,20 @@ name: "EC Integration Tests"on:push:branches: [ master ]+ paths:+ - 'weed/**'+ - 'test/erasure_coding/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/ec-integration-tests.yml'pull_request:branches: [ master ]+ paths:+ - 'weed/**'+ - 'test/erasure_coding/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/ec-integration-tests.yml'permissions:contents: readdiff --git a/.github/workflows/go.yml b/.github/workflows/go.ymlindex 8c97bed1e0..7af21292ac 100644--- a/.github/workflows/go.yml+++ b/.github/workflows/go.yml@@ -3,8 +3,18 @@ name: "go: build binary"on:push:branches: [ master ]+ paths:+ - '**/*.go'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/go.yml'pull_request:branches: [ master ]+ paths:+ - '**/*.go'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/go.yml'concurrency:group: ${{ github.head_ref }}/godiff --git a/.github/workflows/kafka-quicktest.yml b/.github/workflows/kafka-quicktest.ymlindex 441154984f..aab3c14422 100644--- a/.github/workflows/kafka-quicktest.yml+++ b/.github/workflows/kafka-quicktest.yml@@ -3,8 +3,24 @@ name: "Kafka Quick Test (Load Test with Schema Registry)"on:push:branches: [ master ]+ paths:+ - 'weed/mq/**'+ - 'weed/pb/mq_pb/**'+ - 'weed/pb/schema_pb/**'+ - 'test/kafka/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/kafka-quicktest.yml'pull_request:branches: [ master ]+ paths:+ - 'weed/mq/**'+ - 'weed/pb/mq_pb/**'+ - 'weed/pb/schema_pb/**'+ - 'test/kafka/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/kafka-quicktest.yml'workflow_dispatch: # Allow manual triggerconcurrency:diff --git a/.github/workflows/kafka-tests.yml b/.github/workflows/kafka-tests.ymlindex 81205d6efd..081a8300a2 100644--- a/.github/workflows/kafka-tests.yml+++ b/.github/workflows/kafka-tests.yml@@ -3,8 +3,24 @@ name: "Kafka Gateway Tests"on:push:branches: [ master ]+ paths:+ - 'weed/mq/**'+ - 'weed/pb/mq_pb/**'+ - 'weed/pb/schema_pb/**'+ - 'test/kafka/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/kafka-tests.yml'pull_request:branches: [ master ]+ paths:+ - 'weed/mq/**'+ - 'weed/pb/mq_pb/**'+ - 'weed/pb/schema_pb/**'+ - 'test/kafka/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/kafka-tests.yml'concurrency:group: ${{ github.head_ref }}/kafka-testsdiff --git a/.github/workflows/plugin-workers.yml b/.github/workflows/plugin-workers.ymlindex 61fa0fe45c..a09f36b870 100644--- a/.github/workflows/plugin-workers.yml+++ b/.github/workflows/plugin-workers.yml@@ -3,8 +3,20 @@ name: "Plugin Worker Integration Tests"on:push:branches: [ master ]+ paths:+ - 'weed/**'+ - 'test/plugin_workers/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/plugin-workers.yml'pull_request:branches: [ master ]+ paths:+ - 'weed/**'+ - 'test/plugin_workers/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/plugin-workers.yml'permissions:contents: readdiff --git a/.github/workflows/postgres-tests.yml b/.github/workflows/postgres-tests.ymlindex d8fd1272e1..0eed1dad29 100644--- a/.github/workflows/postgres-tests.yml+++ b/.github/workflows/postgres-tests.yml@@ -3,8 +3,24 @@ name: "PostgreSQL Gateway Tests"on:push:branches: [ master ]+ paths:+ - 'weed/server/postgres/**'+ - 'weed/query/**'+ - 'weed/mq/**'+ - 'test/postgres/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/postgres-tests.yml'pull_request:branches: [ master ]+ paths:+ - 'weed/server/postgres/**'+ - 'weed/query/**'+ - 'weed/mq/**'+ - 'test/postgres/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/postgres-tests.yml'concurrency:group: ${{ github.head_ref }}/postgres-testsdiff --git a/.github/workflows/s3-example-integration-tests.yml b/.github/workflows/s3-example-integration-tests.ymlindex 447e362ec5..aaf6f83db7 100644--- a/.github/workflows/s3-example-integration-tests.yml+++ b/.github/workflows/s3-example-integration-tests.yml@@ -2,7 +2,16 @@ name: "S3 Authenticated Integration Tests"on:pull_request:-+ paths:+ - 'weed/s3api/**'+ - 'weed/iam/**'+ - 'weed/filer/**'+ - 'weed/server/**'+ - 'test/s3/normal/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/s3-example-integration-tests.yml'+concurrency:group: ${{ github.head_ref }}/s3-integration-testscancel-in-progress: truediff --git a/.github/workflows/s3-filer-group-tests.yml b/.github/workflows/s3-filer-group-tests.ymlindex 8e86f788cb..988a95c084 100644--- a/.github/workflows/s3-filer-group-tests.yml+++ b/.github/workflows/s3-filer-group-tests.yml@@ -2,7 +2,15 @@ name: "S3 Filer Group Tests"on:pull_request:-+ paths:+ - 'weed/s3api/**'+ - 'weed/filer/**'+ - 'weed/server/**'+ - 'test/s3/filer_group/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/s3-filer-group-tests.yml'+concurrency:group: ${{ github.head_ref }}/s3-filer-group-testscancel-in-progress: truediff --git a/.github/workflows/s3-go-tests.yml b/.github/workflows/s3-go-tests.ymlindex ffd7c2db29..10872f9d27 100644--- a/.github/workflows/s3-go-tests.yml+++ b/.github/workflows/s3-go-tests.yml@@ -2,7 +2,15 @@ name: "S3 Go Tests"on:pull_request:-+ paths:+ - 'weed/s3api/**'+ - 'weed/filer/**'+ - 'weed/server/**'+ - 'test/s3/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/s3-go-tests.yml'+concurrency:group: ${{ github.head_ref }}/s3-go-testscancel-in-progress: truediff --git a/.github/workflows/s3-proxy-signature-tests.yml b/.github/workflows/s3-proxy-signature-tests.ymlindex 73da347024..be7e36107d 100644--- a/.github/workflows/s3-proxy-signature-tests.yml+++ b/.github/workflows/s3-proxy-signature-tests.yml@@ -3,8 +3,22 @@ name: "S3 Proxy Signature Tests"on:push:branches: [ master ]+ paths:+ - 'weed/s3api/**'+ - 'weed/server/**'+ - 'test/s3/proxy_signature/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/s3-proxy-signature-tests.yml'pull_request:branches: [ master ]+ paths:+ - 'weed/s3api/**'+ - 'weed/server/**'+ - 'test/s3/proxy_signature/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/s3-proxy-signature-tests.yml'concurrency:group: ${{ github.head_ref || github.ref }}/s3-proxy-signature-testsdiff --git a/.github/workflows/s3-tables-tests.yml b/.github/workflows/s3-tables-tests.ymlindex 2b4404eee5..1a8c02bd23 100644--- a/.github/workflows/s3-tables-tests.yml+++ b/.github/workflows/s3-tables-tests.yml@@ -2,6 +2,14 @@ name: "S3 Tables Integration Tests"on:pull_request:+ paths:+ - 'weed/s3api/**'+ - 'weed/filer/**'+ - 'weed/server/**'+ - 'test/s3tables/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/s3-tables-tests.yml'permissions:contents: readdiff --git a/.github/workflows/s3tests.yml b/.github/workflows/s3tests.ymlindex 3ba43e816c..a7838dd454 100644--- a/.github/workflows/s3tests.yml+++ b/.github/workflows/s3tests.yml@@ -3,8 +3,26 @@ name: "Ceph S3 tests"on:push:branches: [ master ]+ paths:+ - 'weed/s3api/**'+ - 'weed/filer/**'+ - 'weed/server/**'+ - 'weed/iam/**'+ - 'test/s3/compatibility/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/s3tests.yml'pull_request:branches: [ master ]+ paths:+ - 'weed/s3api/**'+ - 'weed/filer/**'+ - 'weed/server/**'+ - 'weed/iam/**'+ - 'test/s3/compatibility/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/s3tests.yml'concurrency:group: ${{ github.head_ref }}/s3testsdiff --git a/.github/workflows/test-s3-over-https-using-awscli.yml b/.github/workflows/test-s3-over-https-using-awscli.ymlindex fe4e5b3c46..cea8f26148 100644--- a/.github/workflows/test-s3-over-https-using-awscli.yml+++ b/.github/workflows/test-s3-over-https-using-awscli.yml@@ -3,8 +3,20 @@ name: "test s3 over https using aws-cli"on:push:branches: [master, test-https-s3-awscli]+ paths:+ - 'weed/s3api/**'+ - 'weed/server/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/test-s3-over-https-using-awscli.yml'pull_request:branches: [master, test-https-s3-awscli]+ paths:+ - 'weed/s3api/**'+ - 'weed/server/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/test-s3-over-https-using-awscli.yml'env:AWS_ACCESS_KEY_ID: some_access_key1diff --git a/.github/workflows/tls-rotation-tests.yml b/.github/workflows/tls-rotation-tests.ymlindex 7b010e430a..c9b69334bf 100644--- a/.github/workflows/tls-rotation-tests.yml+++ b/.github/workflows/tls-rotation-tests.yml@@ -3,8 +3,20 @@ name: "TLS Rotation Integration Tests"on:push:branches: [ master ]+ paths:+ - 'weed/**'+ - 'test/tls_rotation/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/tls-rotation-tests.yml'pull_request:branches: [ master ]+ paths:+ - 'weed/**'+ - 'test/tls_rotation/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/tls-rotation-tests.yml'permissions:contents: readdiff --git a/.github/workflows/tus-tests.yml b/.github/workflows/tus-tests.ymlindex 2acfa6e1d9..bd5a7bd2f0 100644--- a/.github/workflows/tus-tests.yml+++ b/.github/workflows/tus-tests.yml@@ -2,6 +2,13 @@ name: "TUS Protocol Tests"on:pull_request:+ paths:+ - 'weed/server/**'+ - 'weed/filer/**'+ - 'test/tus/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/tus-tests.yml'concurrency:group: ${{ github.head_ref || github.ref }}/tus-testsdiff --git a/.github/workflows/vacuum-integration-tests.yml b/.github/workflows/vacuum-integration-tests.ymlindex 26d6b8c755..158f1a20b7 100644--- a/.github/workflows/vacuum-integration-tests.yml+++ b/.github/workflows/vacuum-integration-tests.yml@@ -3,8 +3,20 @@ name: "Vacuum Integration Tests"on:push:branches: [ master ]+ paths:+ - 'weed/**'+ - 'test/vacuum/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/vacuum-integration-tests.yml'pull_request:branches: [ master ]+ paths:+ - 'weed/**'+ - 'test/vacuum/**'+ - 'go.mod'+ - 'go.sum'+ - '.github/workflows/vacuum-integration-tests.yml'permissions:contents: read