Browse Source

change go version to 1.9

bergquist 8 years ago
parent
commit
7f6924ff13
5 changed files with 7 additions and 7 deletions
  1. 1 1
      README.md
  2. 1 1
      appveyor.yml
  3. 1 1
      circle.yml
  4. 1 1
      docs/sources/project/building_from_source.md
  5. 3 3
      scripts/build/Dockerfile

+ 1 - 1
README.md

@@ -24,7 +24,7 @@ the latest master builds [here](https://grafana.com/grafana/download)
 
 
 ### Dependencies
 ### Dependencies
 
 
-- Go 1.8.1
+- Go 1.9
 - NodeJS LTS
 - NodeJS LTS
 
 
 ### Building the backend
 ### Building the backend

+ 1 - 1
appveyor.yml

@@ -7,7 +7,7 @@ clone_folder: c:\gopath\src\github.com\grafana\grafana
 environment:
 environment:
   nodejs_version: "6"
   nodejs_version: "6"
   GOPATH: c:\gopath
   GOPATH: c:\gopath
-  GOVERSION: 1.8
+  GOVERSION: 1.9
 
 
 install:
 install:
   - rmdir c:\go /s /q
   - rmdir c:\go /s /q

+ 1 - 1
circle.yml

@@ -9,7 +9,7 @@ machine:
     GOPATH: "/home/ubuntu/.go_workspace"
     GOPATH: "/home/ubuntu/.go_workspace"
     ORG_PATH: "github.com/grafana"
     ORG_PATH: "github.com/grafana"
     REPO_PATH: "${ORG_PATH}/grafana"
     REPO_PATH: "${ORG_PATH}/grafana"
-    GODIST: "go1.8.linux-amd64.tar.gz"
+    GODIST: "go1.9.linux-amd64.tar.gz"
   post:
   post:
     - mkdir -p ~/download
     - mkdir -p ~/download
     - mkdir -p ~/docker
     - mkdir -p ~/docker

+ 1 - 1
docs/sources/project/building_from_source.md

@@ -13,7 +13,7 @@ dev environment. Grafana ships with its own required backend server; also comple
 
 
 ## Dependencies
 ## Dependencies
 
 
-- [Go 1.8.1](https://golang.org/dl/)
+- [Go 1.9](https://golang.org/dl/)
 - [NodeJS LTS](https://nodejs.org/download/)
 - [NodeJS LTS](https://nodejs.org/download/)
 - [Git](https://git-scm.com/downloads)
 - [Git](https://git-scm.com/downloads)
 
 

+ 3 - 3
scripts/build/Dockerfile

@@ -23,10 +23,10 @@ RUN curl --silent --location https://rpm.nodesource.com/setup_6.x | bash - && \
 
 
 RUN wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.repos.d/yarn.repo && \
 RUN wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.repos.d/yarn.repo && \
     yum install -y yarn --nogpgcheck && \
     yum install -y yarn --nogpgcheck && \
-    wget https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz && \
-    tar -C /usr/local -xzf go1.8.linux-amd64.tar.gz
+    wget https://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz && \
+    tar -C /usr/local -xzf go1.9.linux-amd64.tar.gz
 
 
-ENV GOLANG_VERSION 1.8
+ENV GOLANG_VERSION 1.9
 ENV PATH /usr/local/go/bin:$PATH
 ENV PATH /usr/local/go/bin:$PATH
 
 
 RUN mkdir -p /go/src /go/bin && chmod -R 777 /go
 RUN mkdir -p /go/src /go/bin && chmod -R 777 /go