mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Build: package all binaries for enterprise (#21381)
This commit is contained in:
parent
34d9274c4c
commit
1c71637d11
@ -93,21 +93,18 @@ go run build.go -goos linux -pkg-arch amd64 -libc musl ${OPT} -skipRpm -skipDeb
|
|||||||
#removing amd64 phantomjs bin for armv7/arm64 packages
|
#removing amd64 phantomjs bin for armv7/arm64 packages
|
||||||
rm tools/phantomjs/phantomjs
|
rm tools/phantomjs/phantomjs
|
||||||
|
|
||||||
# build only amd64 for enterprise
|
go run build.go -goos linux -pkg-arch armv6 ${OPT} -skipRpm package-only
|
||||||
if echo "$EXTRA_OPTS" | grep -vq enterprise ; then
|
go run build.go -goos linux -pkg-arch armv7 ${OPT} package-only
|
||||||
go run build.go -goos linux -pkg-arch armv6 ${OPT} -skipRpm package-only
|
go run build.go -goos linux -pkg-arch arm64 ${OPT} package-only
|
||||||
go run build.go -goos linux -pkg-arch armv7 ${OPT} package-only
|
go run build.go -goos linux -pkg-arch armv7 -libc musl ${OPT} -skipRpm -skipDeb package-only
|
||||||
go run build.go -goos linux -pkg-arch arm64 ${OPT} package-only
|
go run build.go -goos linux -pkg-arch arm64 -libc musl ${OPT} -skipRpm -skipDeb package-only
|
||||||
go run build.go -goos linux -pkg-arch armv7 -libc musl ${OPT} -skipRpm -skipDeb package-only
|
|
||||||
go run build.go -goos linux -pkg-arch arm64 -libc musl ${OPT} -skipRpm -skipDeb package-only
|
|
||||||
|
|
||||||
if [ -d '/tmp/phantomjs/darwin' ]; then
|
if [ -d '/tmp/phantomjs/darwin' ]; then
|
||||||
cp /tmp/phantomjs/darwin/phantomjs tools/phantomjs/phantomjs
|
cp /tmp/phantomjs/darwin/phantomjs tools/phantomjs/phantomjs
|
||||||
else
|
else
|
||||||
echo 'PhantomJS binaries for darwin missing!'
|
echo 'PhantomJS binaries for darwin missing!'
|
||||||
fi
|
|
||||||
go run build.go -goos darwin -pkg-arch amd64 ${OPT} package-only
|
|
||||||
fi
|
fi
|
||||||
|
go run build.go -goos darwin -pkg-arch amd64 ${OPT} package-only
|
||||||
|
|
||||||
if [ -d '/tmp/phantomjs/windows' ]; then
|
if [ -d '/tmp/phantomjs/windows' ]; then
|
||||||
cp /tmp/phantomjs/windows/phantomjs.exe tools/phantomjs/phantomjs.exe
|
cp /tmp/phantomjs/windows/phantomjs.exe tools/phantomjs/phantomjs.exe
|
||||||
|
Loading…
Reference in New Issue
Block a user