build tag ydb since the growth of the binary is 5 mb

This commit is contained in:
Konstantin Lebedev 2022-05-03 23:20:09 +05:00
parent 7d18b2756d
commit f58adaab25
5 changed files with 12 additions and 3 deletions

View file

@ -34,7 +34,7 @@ jobs:
cd weed; go get -v -t -d ./... cd weed; go get -v -t -d ./...
- name: Build - name: Build
run: cd weed; go build -tags "elastic gocdk sqlite hdfs" -v . run: cd weed; go build -tags "elastic gocdk sqlite hdfs ydb" -v .
- name: Test - name: Test
run: cd weed; go test -tags "elastic gocdk sqlite hdfs" -v ./... run: cd weed; go test -tags "elastic gocdk sqlite hdfs ydb" -v ./...

View file

@ -8,4 +8,4 @@ install:
cd weed; go install cd weed; go install
full_install: full_install:
cd weed; go install -tags "elastic gocdk sqlite hdfs" cd weed; go install -tags "elastic gocdk sqlite hdfs ydb"

View file

@ -1,3 +1,6 @@
//go:build ydb
// +build ydb
package ydb package ydb
import ( import (

View file

@ -1,3 +1,6 @@
//go:build ydb
// +build ydb
package ydb package ydb
import ( import (

View file

@ -1,3 +1,6 @@
//go:build ydb
// +build ydb
package ydb package ydb
import ( import (