build: updated build-container with go1.11.
This commit is contained in:
@@ -125,7 +125,7 @@ jobs:
|
|||||||
|
|
||||||
build-all:
|
build-all:
|
||||||
docker:
|
docker:
|
||||||
- image: grafana/build-container:1.0.0
|
- image: grafana/build-container:build
|
||||||
working_directory: /go/src/github.com/grafana/grafana
|
working_directory: /go/src/github.com/grafana/grafana
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
@@ -168,7 +168,7 @@ jobs:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
- image: grafana/build-container:1.0.0
|
- image: grafana/build-container:build
|
||||||
working_directory: /go/src/github.com/grafana/grafana
|
working_directory: /go/src/github.com/grafana/grafana
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
|||||||
@@ -45,6 +45,10 @@ else
|
|||||||
fi
|
fi
|
||||||
echo "Building frontend"
|
echo "Building frontend"
|
||||||
go run build.go ${OPT} build-frontend
|
go run build.go ${OPT} build-frontend
|
||||||
|
|
||||||
|
# Load ruby, needed for packing with fpm
|
||||||
|
source /etc/profile.d/rvm.sh
|
||||||
|
|
||||||
echo "Packaging"
|
echo "Packaging"
|
||||||
go run build.go -goos linux -pkg-arch amd64 ${OPT} package-only latest
|
go run build.go -goos linux -pkg-arch amd64 ${OPT} package-only latest
|
||||||
#removing amd64 phantomjs bin for armv7/arm64 packages
|
#removing amd64 phantomjs bin for armv7/arm64 packages
|
||||||
|
|||||||
@@ -33,5 +33,8 @@ fi
|
|||||||
echo "Building frontend"
|
echo "Building frontend"
|
||||||
go run build.go ${OPT} build-frontend
|
go run build.go ${OPT} build-frontend
|
||||||
|
|
||||||
|
# Load ruby, needed for packing with fpm
|
||||||
|
source /etc/profile.d/rvm.sh
|
||||||
|
|
||||||
echo "Packaging"
|
echo "Packaging"
|
||||||
go run build.go -goos linux -pkg-arch amd64 ${OPT} package-only latest
|
go run build.go -goos linux -pkg-arch amd64 ${OPT} package-only latest
|
||||||
|
|||||||
Reference in New Issue
Block a user