Skip to content
Permalink
Browse files

Rename reservoir to golang

  • Loading branch information...
de1acr0ix authored and SwimmingTiger committed Sep 17, 2019
1 parent 127f776 commit ecefa9a04ba27a50a12043f0311111a8decdeaa3
@@ -61,27 +61,27 @@ jobs:
command: |
cd docker/btcpool/test/${CIRCLE_JOB#"build_and_run_tests@"}
./run-test.sh
reservoir_run_tests:
golang_run_tests:
docker:
- image: circleci/golang
steps:
- checkout
- run:
name: Go tests
command: cd reservoir && go test ./...
reservoir_deploy_image:
command: cd golang && go test ./...
golang_deploy_image:
docker:
- image: circleci/golang
steps:
- checkout
- setup_remote_docker
- run:
name: Generate version
command: sed -i "s/0.0.0/${CIRCLE_TAG}/" reservoir/version.go
command: sed -i "s/0.0.0/${CIRCLE_TAG}/" golang/version.go
- run:
name: Build deploy image
command: |
cd reservoir
cd golang
docker build -t ${CIRCLE_TAG}_go .
- run:
name: Docker registry login (deploy image)
@@ -177,7 +177,7 @@ workflows:
build_and_run_all_tests:
jobs:
- check_clang_format
- reservoir_run_tests
- golang_run_tests
- build_and_run_tests:
name: build_and_run_tests@bch
- build_and_run_tests:
@@ -192,7 +192,7 @@ workflows:
name: build_and_run_tests@zec
build_and_push_deploy_images:
jobs:
- reservoir_deploy_image:
- golang_deploy_image:
<<: *deploy_image_common
- build_and_push_deploy_image:
<<: *deploy_image_common
File renamed without changes.
@@ -1,4 +1,4 @@
module github.com/btccom/btcpool/reservoir
module github.com/btccom/btcpool/golang

go 1.12

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -7,8 +7,8 @@ import (
"github.com/golang/glog"
"github.com/urfave/cli"

"github.com/btccom/btcpool/reservoir"
"github.com/btccom/btcpool/reservoir/nodebridge/eth"
"github.com/btccom/btcpool/golang"
"github.com/btccom/btcpool/golang/nodebridge/eth"
)

func main() {
@@ -18,7 +18,7 @@ func main() {
app := cli.NewApp()
app.Name = "nodebridge"
app.Usage = "Bridges between the mining pool and the blockchain node"
app.Version = reservoir.Version
app.Version = golang.Version
app.Commands = []cli.Command{
eth.Command,
}
@@ -1,3 +1,3 @@
package reservoir
package golang

var Version = "0.0.0"

0 comments on commit ecefa9a

Please sign in to comment.
You can’t perform that action at this time.