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: fix Deploy Telemetry Server build (nested telemetry/server module) (#10398)

Chris Lu5457c5b5eda8
diff --git a/.github/workflows/deploy_telemetry.yml b/.github/workflows/deploy_telemetry.yml
index 8f3047dcef..2c67e51f8d 100644
--- a/.github/workflows/deploy_telemetry.yml
+++ b/.github/workflows/deploy_telemetry.yml
@@ -26,14 +26,17 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v7
with:
- go-version-file: 'go.mod'
+ go-version-file: 'telemetry/server/go.mod'
- name: Build Telemetry Server
if: github.event_name == 'workflow_dispatch' && inputs.deploy
run: |
+ # telemetry/server is its own Go module; build from within it
+ cd telemetry/server
go mod tidy
echo "Building telemetry server..."
- GOOS=linux GOARCH=amd64 go build -o telemetry-server ./telemetry/server/main.go
+ GOOS=linux GOARCH=amd64 go build -o ../../telemetry-server .
+ cd ../..
ls -la telemetry-server
echo "Build completed successfully"