Skip to content

Commit

Permalink
Rename reservoir to golang
Browse files Browse the repository at this point in the history
  • Loading branch information
de1acr0ix authored and SwimmingTiger committed Sep 24, 2019
1 parent 127f776 commit ecefa9a
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion reservoir/go.mod → golang/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/btccom/btcpool/reservoir
module github.com/btccom/btcpool/golang

go 1.12

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions reservoir/nodebridge/main.go → golang/nodebridge/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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,
}
Expand Down
2 changes: 1 addition & 1 deletion reservoir/version.go → golang/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package reservoir
package golang

var Version = "0.0.0"

0 comments on commit ecefa9a

Please sign in to comment.