aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryulai.li <blacktear23@gmail.com>2022-06-27 11:06:35 +0800
committeryulai.li <blacktear23@gmail.com>2022-06-27 11:06:35 +0800
commit93dd33319fb5f27358b7f735d9b83acc34beaa60 (patch)
treee103feadc691a08b601ccdd55eb83bfc1b83794f
parent824cbe32becade3d8113bdae636bae706337cd9b (diff)
downloadseaweedfs-93dd33319fb5f27358b7f735d9b83acc34beaa60.tar.xz
seaweedfs-93dd33319fb5f27358b7f735d9b83acc34beaa60.zip
Update github workflow configuration files
-rw-r--r--.github/workflows/binaries_release4.yml4
-rw-r--r--.github/workflows/container_release4.yml2
-rw-r--r--.github/workflows/container_release5.yml2
-rw-r--r--.github/workflows/go.yml4
4 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/binaries_release4.yml b/.github/workflows/binaries_release4.yml
index 71434e6a4..ba98d0f81 100644
--- a/.github/workflows/binaries_release4.yml
+++ b/.github/workflows/binaries_release4.yml
@@ -36,7 +36,7 @@ jobs:
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
overwrite: true
- build_flags: -tags elastic,ydb,gocdk
+ build_flags: -tags elastic,ydb,gocdk,tikv
pre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0
# build_flags: -tags 5BytesOffset # optional, default is
ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}}
@@ -52,7 +52,7 @@ jobs:
goarch: ${{ matrix.goarch }}
overwrite: true
pre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0
- build_flags: -tags 5BytesOffset,elastic,ydb,gocdk
+ build_flags: -tags 5BytesOffset,elastic,ydb,gocdk,tikv
ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}}
# Where to run `go build .`
project_path: weed
diff --git a/.github/workflows/container_release4.yml b/.github/workflows/container_release4.yml
index 1bba0ee9c..f9f88fdcf 100644
--- a/.github/workflows/container_release4.yml
+++ b/.github/workflows/container_release4.yml
@@ -52,7 +52,7 @@ jobs:
context: ./docker
push: ${{ github.event_name != 'pull_request' }}
file: ./docker/Dockerfile.go_build
- build-args: TAGS=elastic,ydb,gocdk
+ build-args: TAGS=elastic,ydb,gocdk,tikv
platforms: linux/amd64
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
diff --git a/.github/workflows/container_release5.yml b/.github/workflows/container_release5.yml
index 181e86fc4..dd97bde31 100644
--- a/.github/workflows/container_release5.yml
+++ b/.github/workflows/container_release5.yml
@@ -52,7 +52,7 @@ jobs:
context: ./docker
push: ${{ github.event_name != 'pull_request' }}
file: ./docker/Dockerfile.go_build
- build-args: TAGS=5BytesOffset,elastic,ydb,gocdk
+ build-args: TAGS=5BytesOffset,elastic,ydb,gocdk,tikv
platforms: linux/amd64
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index b5c407315..48aee8768 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -34,7 +34,7 @@ jobs:
cd weed; go get -v -t -d ./...
- name: Build
- run: cd weed; go build -tags "elastic gocdk sqlite ydb" -v .
+ run: cd weed; go build -tags "elastic gocdk sqlite ydb tikv" -v .
- name: Test
- run: cd weed; go test -tags "elastic gocdk sqlite ydb" -v ./...
+ run: cd weed; go test -tags "elastic gocdk sqlite ydb tikv" -v ./...