Commit 8ea2f7f8 by Leonard Gram

build: updated build-container with go1.11.

parent 12c98608
...@@ -125,7 +125,7 @@ jobs: ...@@ -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: ...@@ -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 ...@@ -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 ...@@ -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
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