Commit 44693521 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Trying to minimize lakectl build

parent b736ad31
......@@ -52,12 +52,6 @@ ctl: lakeFS-service lakeFS-config
patch -Np1 -d lakeFS-1.32.1 < lakeFS-1.32.1-fix_apache-arrow.patch
patch -Np1 -d lakeFS-1.32.1 < lakeFS-1.32.1-suppress_ACL_warnings.patch
patch -Np1 -d lakeFS-1.32.1 < lakeFS-1.32.1-suppress_new_version_notification.patch
cd lakeFS-1.32.1/webui && HOME=$(CURDIR)/lakefs-home npm install
cd lakeFS-1.32.1/webui && HOME=$(CURDIR)/lakefs-home npm run build
cd lakeFS-1.32.1 && cp api/swagger.yml docs/assets/js/swagger.yml
cd lakeFS-1.32.1 && HOME=$(CURDIR)/lakefs-home GO111MODULE=on GOCACHE=/tmp/gocache GOPATH=$(CURDIR)/../go/go $(CURDIR)/../go/go/bin/go generate ./pkg/api/apigen ./pkg/auth ./pkg/authentication
cd lakeFS-1.32.1 && HOME=$(CURDIR)/lakefs-home GO111MODULE=on GOCACHE=/tmp/gocache GOPATH=$(CURDIR)/../go/go $(CURDIR)/../go/go/bin/go generate ./pkg/actions ./pkg/auth/ ./pkg/authentication ./pkg/graveler ./pkg/graveler/committed ./pkg/graveler/sstable ./pkg/kv ./pkg/permissions ./pkg/pyramid ./tools/wrapgen/testcode
cd lakeFS-1.32.1 && HOME=$(CURDIR)/lakefs-home GO111MODULE=on GOCACHE=/tmp/gocache GOPATH=$(CURDIR)/../go/go $(CURDIR)/../go/go/bin/go run cmd/lakectl/main.go docs > docs/reference/cli.md
cd lakeFS-1.32.1 && HOME=$(CURDIR)/lakefs-home GO111MODULE=on GOCACHE=/tmp/gocache GOPATH=$(CURDIR)/../go/go $(CURDIR)/../go/go/bin/go build -o lakectl -ldflags "-X github.com/treeverse/lakefs/pkg/version.Version=1.32.1" -v ./cmd/lakectl
install -v -D -m0755 lakeFS-1.32.1/lakectl /usr/bin/lakectl
rm -rf lakeFS-1.32.1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment