change eveything to sentinel for niko

This commit is contained in:
Mark Beamer Jr committed 2021-03-06 10:55:39 -05:00
1 parent d41e54fb9f
commit 417f78803c
11 files changed
+19 -21

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
# Ignore everything
**
# Allow files and directories
!/bin/watcher
!/bin/sentinel
+2 -2
View File
@@ -1,3 +1,3 @@
/bin/watcher
/bin/sentinel
/.env
/bin/watcher.txt
/bin/sentinel.txt
+1 -1
View File
@@ -1,7 +1,7 @@
os: linux
dist: xenial
language: go
go_import_path: github.com/lbryio/dispendium
go_import_path: github.com/lbryio/sentinel
go:
- 1.15
+1 -1
View File
@@ -1,2 +1,2 @@
# chain-watcher
# sentinel
Watcher of the Blockchain
+3 -5
View File
@@ -4,11 +4,9 @@ import (
"fmt"
"os"
"github.com/lbryio/chain-watcher/daemon"
"github.com/lbryio/chain-watcher/pools"
"github.com/lbryio/chain-watcher/env"
"github.com/lbryio/sentinel/daemon"
"github.com/lbryio/sentinel/env"
"github.com/lbryio/sentinel/pools"
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/lbryio/lbry.go/v2/extras/stop"
"github.com/lbryio/chain-watcher/pools"
"github.com/lbryio/sentinel/pools"
)
var stopper = stop.New(nil)
+3 -3
View File
@@ -1,5 +1,5 @@
version: "3"
services:
watcher:
image: lbry/watcher:master
entrypoint: ./watcher -d
sentinel:
image: lbry/sentinel:master
entrypoint: ./sentinel -d
+2 -2
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
docker build --tag lbry/watcher:$TRAVIS_BRANCH ./
docker build --tag lbry/sentinel:$TRAVIS_BRANCH ./
echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
docker push lbry/watcher:$TRAVIS_BRANCH
docker push lbry/sentinel:$TRAVIS_BRANCH
+1 -1
View File
@@ -1,4 +1,4 @@
module github.com/lbryio/chain-watcher
module github.com/lbryio/sentinel
go 1.15
+1 -1
View File
@@ -1,6 +1,6 @@
package main
import "github.com/lbryio/chain-watcher/cmd"
import "github.com/lbryio/sentinel/cmd"
func main() {
cmd.Execute()
+3 -3
View File
@@ -18,14 +18,14 @@ set -e
echo "== Compiling =="
export IMPORTPATH="github.com/lbryio/chain-watcher"
export IMPORTPATH="github.com/lbryio/sentinel"
mkdir -p "$DIR/bin"
go generate -v
export VERSIONSHORT="${TRAVIS_COMMIT:-"$(git describe --tags --always --dirty)"}"
export VERSIONLONG="${TRAVIS_COMMIT:-"$(git describe --tags --always --dirty --long)"}"
export COMMITMSG="$(echo ${TRAVIS_COMMIT_MESSAGE:-"$(git show -s --format=%s)"} | tr -d '"' | head -n 1)"
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v -o "./bin/watcher" -asmflags -trimpath="$DIR" -ldflags "-X ${IMPORTPATH}/meta.version=${VERSIONSHORT} -X \"${IMPORTPATH}/meta.commitMsg=${COMMITMSG}\""
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v -o "./bin/sentinel" -asmflags -trimpath="$DIR" -ldflags "-X ${IMPORTPATH}/meta.version=${VERSIONSHORT} -X \"${IMPORTPATH}/meta.commitMsg=${COMMITMSG}\""
echo "$(git describe --tags --always --dirty)" > ./bin/watcher.txt
chmod +x ./bin/watcher
chmod +x ./bin/sentinel
exit 0