Skip to content

Commit e198a24

Browse files
author
auxten
committed
move to gitlab.com
1 parent 7e56789 commit e198a24

66 files changed

Lines changed: 166 additions & 154 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitlab-ci.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
image: golang:1.10
2+
stages:
3+
- build
4+
- test
5+
16
variables:
27
REVIEWDOG_VERSION: 0.9.8
38

@@ -8,13 +13,20 @@ before_script:
813
- go get github.com/mattn/goveralls
914
- go get github.com/haya14busa/goverage
1015
- go get github.com/golang/lint/golint
16+
- cp -r /builds/thunderdb /go/src/gitlab.com/thunderdb/
17+
- cd /go/src/gitlab.com/thunderdb/ThunderDB
1118
- dep ensure
1219
- mkdir -p ~/bin/ && export export PATH="~/bin/:$PATH"
1320
- curl -fSL https://github.com/haya14busa/reviewdog/releases/download/$REVIEWDOG_VERSION/reviewdog_linux_amd64 -o ~/bin/reviewdog && chmod +x ~/bin/reviewdog
1421

15-
rspec:
22+
build-my-project:
23+
stage: build
1624
script:
1725
- bash build.sh
26+
27+
test-my-project:
28+
stage: test
29+
script:
1830
- go test -v -race $(go list ./... | grep -v "/vendor/")
1931
- goverage -coverprofile=coverage.txt ./...
2032
- bash <(curl -s https://codecov.io/bash)

blockproducer/block.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ import (
2222
"math/big"
2323

2424
"github.com/golang/protobuf/proto"
25-
"github.com/thunderdb/ThunderDB/crypto/asymmetric"
26-
"github.com/thunderdb/ThunderDB/crypto/hash"
27-
proto2 "github.com/thunderdb/ThunderDB/proto"
28-
"github.com/thunderdb/ThunderDB/types"
25+
"gitlab.com/thunderdb/ThunderDB/crypto/asymmetric"
26+
"gitlab.com/thunderdb/ThunderDB/crypto/hash"
27+
proto2 "gitlab.com/thunderdb/ThunderDB/proto"
28+
"gitlab.com/thunderdb/ThunderDB/types"
2929
)
3030

3131
// Header is the header structure that will be signed

blockproducer/block_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ import (
2828
"os"
2929

3030
log "github.com/sirupsen/logrus"
31-
"github.com/thunderdb/ThunderDB/crypto/asymmetric"
32-
"github.com/thunderdb/ThunderDB/crypto/hash"
33-
"github.com/thunderdb/ThunderDB/proto"
34-
"github.com/thunderdb/ThunderDB/types"
31+
"gitlab.com/thunderdb/ThunderDB/crypto/asymmetric"
32+
"gitlab.com/thunderdb/ThunderDB/crypto/hash"
33+
"gitlab.com/thunderdb/ThunderDB/proto"
34+
"gitlab.com/thunderdb/ThunderDB/types"
3535
)
3636

3737
var (

cmd/idminer/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ import (
3030
"time"
3131

3232
log "github.com/sirupsen/logrus"
33-
"github.com/thunderdb/ThunderDB/crypto/asymmetric"
34-
mine "github.com/thunderdb/ThunderDB/pow/cpuminer"
33+
"gitlab.com/thunderdb/ThunderDB/crypto/asymmetric"
34+
mine "gitlab.com/thunderdb/ThunderDB/pow/cpuminer"
3535
)
3636

3737
var (

cmd/miner/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ import (
2525
"time"
2626

2727
log "github.com/sirupsen/logrus"
28-
"github.com/thunderdb/ThunderDB/common"
29-
"github.com/thunderdb/ThunderDB/conf"
30-
"github.com/thunderdb/ThunderDB/rpc"
31-
"github.com/thunderdb/ThunderDB/utils"
28+
"gitlab.com/thunderdb/ThunderDB/common"
29+
"gitlab.com/thunderdb/ThunderDB/conf"
30+
"gitlab.com/thunderdb/ThunderDB/rpc"
31+
"gitlab.com/thunderdb/ThunderDB/utils"
3232
)
3333

3434
const logo = `

cmd/thunderdbd/main.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ import (
2828
"golang.org/x/crypto/ssh/terminal"
2929

3030
log "github.com/sirupsen/logrus"
31-
"github.com/thunderdb/ThunderDB/common"
32-
"github.com/thunderdb/ThunderDB/conf"
33-
"github.com/thunderdb/ThunderDB/route"
34-
"github.com/thunderdb/ThunderDB/rpc"
35-
"github.com/thunderdb/ThunderDB/utils"
31+
"gitlab.com/thunderdb/ThunderDB/common"
32+
"gitlab.com/thunderdb/ThunderDB/conf"
33+
"gitlab.com/thunderdb/ThunderDB/route"
34+
"gitlab.com/thunderdb/ThunderDB/rpc"
35+
"gitlab.com/thunderdb/ThunderDB/utils"
3636
)
3737

3838
const logo = `

conf/role.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package conf
1818

19-
import "github.com/thunderdb/ThunderDB/common"
19+
import "gitlab.com/thunderdb/ThunderDB/common"
2020

2121
// Role indicate which role the daemon is playing
2222
// Unknown = "U"

consistent/consistent.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ import (
4141
"sync"
4242

4343
log "github.com/sirupsen/logrus"
44-
"github.com/thunderdb/ThunderDB/crypto/asymmetric"
45-
"github.com/thunderdb/ThunderDB/crypto/kms"
46-
"github.com/thunderdb/ThunderDB/proto"
44+
"gitlab.com/thunderdb/ThunderDB/crypto/asymmetric"
45+
"gitlab.com/thunderdb/ThunderDB/crypto/kms"
46+
"gitlab.com/thunderdb/ThunderDB/proto"
4747
)
4848

4949
// NodeKeys is NodeKey array

consistent/consistent_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ import (
2828

2929
"os"
3030

31-
"github.com/thunderdb/ThunderDB/crypto/asymmetric"
32-
"github.com/thunderdb/ThunderDB/crypto/kms"
33-
"github.com/thunderdb/ThunderDB/pow/cpuminer"
34-
. "github.com/thunderdb/ThunderDB/proto"
35-
"github.com/thunderdb/ThunderDB/utils"
31+
"gitlab.com/thunderdb/ThunderDB/crypto/asymmetric"
32+
"gitlab.com/thunderdb/ThunderDB/crypto/kms"
33+
"gitlab.com/thunderdb/ThunderDB/pow/cpuminer"
34+
. "gitlab.com/thunderdb/ThunderDB/proto"
35+
"gitlab.com/thunderdb/ThunderDB/utils"
3636
)
3737

3838
const testStorePath = "./test.store"

consistent/load_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import (
2323
"sort"
2424

2525
. "github.com/smartystreets/goconvey/convey"
26-
"github.com/thunderdb/ThunderDB/crypto/kms"
27-
"github.com/thunderdb/ThunderDB/utils"
26+
"gitlab.com/thunderdb/ThunderDB/crypto/kms"
27+
"gitlab.com/thunderdb/ThunderDB/utils"
2828
)
2929

3030
const testStorePath1 = "./test.store1"

0 commit comments

Comments
 (0)