From 56d449331efd41dc5bda1cb7e6ad04a404be569b Mon Sep 17 00:00:00 2001 From: Kaushik Iska Date: Fri, 8 Dec 2023 14:45:03 -0500 Subject: [PATCH] remove version.go --- .github/workflows/customer-docker.yml | 2 +- .github/workflows/stable-docker.yml | 2 +- .github/workflows/ui-lint.yml | 2 +- flow/cmd/version.go | 16 ---------------- 4 files changed, 3 insertions(+), 19 deletions(-) delete mode 100644 flow/cmd/version.go diff --git a/.github/workflows/customer-docker.yml b/.github/workflows/customer-docker.yml index faede44f2..e710c7d86 100644 --- a/.github/workflows/customer-docker.yml +++ b/.github/workflows/customer-docker.yml @@ -12,7 +12,7 @@ jobs: docker-build: strategy: matrix: - runner: [ubicloud] + runner: [ubicloud-standard-2-ubuntu-2204-arm] runs-on: ${{ matrix.runner }} permissions: contents: read diff --git a/.github/workflows/stable-docker.yml b/.github/workflows/stable-docker.yml index e1a1f0c4f..f4b7c9e9a 100644 --- a/.github/workflows/stable-docker.yml +++ b/.github/workflows/stable-docker.yml @@ -9,7 +9,7 @@ jobs: docker-build: strategy: matrix: - runner: [ubicloud] + runner: [ubicloud-standard-2-ubuntu-2204-arm] runs-on: ${{ matrix.runner }} permissions: contents: read diff --git a/.github/workflows/ui-lint.yml b/.github/workflows/ui-lint.yml index ba895eb78..84fe76b0b 100644 --- a/.github/workflows/ui-lint.yml +++ b/.github/workflows/ui-lint.yml @@ -17,7 +17,7 @@ jobs: name: Run UI linters strategy: matrix: - runner: [ubicloud] + runner: [ubicloud-standard-2-ubuntu-2204-arm] runs-on: ${{ matrix.runner }} steps: - name: checkout diff --git a/flow/cmd/version.go b/flow/cmd/version.go deleted file mode 100644 index 58074fa75..000000000 --- a/flow/cmd/version.go +++ /dev/null @@ -1,16 +0,0 @@ -package main - -import ( - "context" - - "github.com/PeerDB-io/peer-flow/connectors/utils" - "github.com/PeerDB-io/peer-flow/generated/protos" -) - -func (h *FlowRequestHandler) GetVersion( - ctx context.Context, - req *protos.PeerDBVersionRequest, -) (*protos.PeerDBVersionResponse, error) { - version := utils.GetEnvString("PEERDB_VERSION_SHA_SHORT", "unknown") - return &protos.PeerDBVersionResponse{Version: version}, nil -}