Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
e3b86637
Unverified
Commit
e3b86637
authored
Mar 07, 2018
by
Carl Bergquist
Committed by
GitHub
Mar 07, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11146 from grafana/go1.10
Upgrade golang to 1.10
parents
68717980
cb223ee5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
24 deletions
+5
-24
circle.yml
+1
-1
pkg/services/sqlstore/dashboard_folder_test.go
+1
-4
pkg/services/sqlstore/dashboard_test.go
+1
-4
pkg/tsdb/opentsdb/opentsdb.go
+1
-14
scripts/build/Dockerfile
+1
-1
No files found.
circle.yml
View file @
e3b86637
...
...
@@ -9,7 +9,7 @@ machine:
GOPATH
:
"
/home/ubuntu/.go_workspace"
ORG_PATH
:
"
github.com/grafana"
REPO_PATH
:
"
${ORG_PATH}/grafana"
GODIST
:
"
go1.
9.3
.linux-amd64.tar.gz"
GODIST
:
"
go1.
10
.linux-amd64.tar.gz"
post
:
-
mkdir -p ~/download
-
mkdir -p ~/docker
...
...
pkg/services/sqlstore/dashboard_folder_test.go
View file @
e3b86637
...
...
@@ -3,7 +3,6 @@ package sqlstore
import
(
"testing"
"github.com/go-xorm/xorm"
.
"github.com/smartystreets/goconvey/convey"
m
"github.com/grafana/grafana/pkg/models"
...
...
@@ -11,10 +10,8 @@ import (
)
func
TestDashboardFolderDataAccess
(
t
*
testing
.
T
)
{
var
x
*
xorm
.
Engine
Convey
(
"Testing DB"
,
t
,
func
()
{
x
=
InitTestDB
(
t
)
InitTestDB
(
t
)
Convey
(
"Given one dashboard folder with two dashboards and one dashboard in the root folder"
,
func
()
{
folder
:=
insertTestDashboard
(
"1 test dash folder"
,
1
,
0
,
true
,
"prod"
,
"webapp"
)
...
...
pkg/services/sqlstore/dashboard_test.go
View file @
e3b86637
...
...
@@ -5,7 +5,6 @@ import (
"testing"
"time"
"github.com/go-xorm/xorm"
"github.com/grafana/grafana/pkg/components/simplejson"
m
"github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/services/search"
...
...
@@ -15,10 +14,8 @@ import (
)
func
TestDashboardDataAccess
(
t
*
testing
.
T
)
{
var
x
*
xorm
.
Engine
Convey
(
"Testing DB"
,
t
,
func
()
{
x
=
InitTestDB
(
t
)
InitTestDB
(
t
)
Convey
(
"Given saved dashboard"
,
func
()
{
savedFolder
:=
insertTestDashboard
(
"1 test dash folder"
,
1
,
0
,
true
,
"prod"
,
"webapp"
)
...
...
pkg/tsdb/opentsdb/opentsdb.go
View file @
e3b86637
...
...
@@ -22,23 +22,10 @@ import (
)
type
OpenTsdbExecutor
struct
{
//*models.DataSource
//httpClient *http.Client
}
func
NewOpenTsdbExecutor
(
datasource
*
models
.
DataSource
)
(
tsdb
.
TsdbQueryEndpoint
,
error
)
{
/*
httpClient, err := datasource.GetHttpClient()
if err != nil {
return nil, err
}
*/
return
&
OpenTsdbExecutor
{
//DataSource: datasource,
//httpClient: httpClient,
},
nil
return
&
OpenTsdbExecutor
{},
nil
}
var
(
...
...
scripts/build/Dockerfile
View file @
e3b86637
...
...
@@ -21,7 +21,7 @@ RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A170311380
RUN
curl
--silent
--location
https://rpm.nodesource.com/setup_6.x | bash -
&&
\
yum install
-y
nodejs
--nogpgcheck
ENV
GOLANG_VERSION 1.
9.3
ENV
GOLANG_VERSION 1.
10
RUN
wget https://dl.yarnpkg.com/rpm/yarn.repo
-O
/etc/yum.repos.d/yarn.repo
&&
\
yum install
-y
yarn
--nogpgcheck
&&
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment