Update pkg references
This commit is contained in:
@@ -5,4 +5,4 @@ name = "go"
|
||||
enabled = true
|
||||
|
||||
[analyzers.meta]
|
||||
import_root = "github.com/speedrunsh/speedrun"
|
||||
import_root = "github.com/dpogorzelski/speedrun"
|
||||
@@ -10,7 +10,7 @@ builds:
|
||||
- amd64
|
||||
- arm64
|
||||
ldflags:
|
||||
- -s -w -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.version={{.Version}} -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.commit={{.ShortCommit}} -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.date={{.Date}}
|
||||
- -s -w -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.version={{.Version}} -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.commit={{.ShortCommit}} -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.date={{.Date}}
|
||||
- id: portal
|
||||
main: ./cmd/portal
|
||||
binary: portal
|
||||
|
||||
8
Makefile
8
Makefile
@@ -16,18 +16,18 @@ requirements:
|
||||
@go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
|
||||
|
||||
speedrun-linux-amd64: requirements
|
||||
GOOS=linux GOARCH=amd64 go build -o $(DIST)/speedrun-linux-amd64 -ldflags "-X github.com/speedrunsh/speedrun/cmd/speedrun/cli.version=$(VERSION) -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.commit=$(GITCOMMIT) -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.date=$(DATE)" ./cmd/speedrun
|
||||
GOOS=linux GOARCH=amd64 go build -o $(DIST)/speedrun-linux-amd64 -ldflags "-X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.version=$(VERSION) -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.commit=$(GITCOMMIT) -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.date=$(DATE)" ./cmd/speedrun
|
||||
|
||||
speedrun-linux-arm64: requirements
|
||||
GOOS=linux GOARCH=arm64 go build -o $(DIST)/speedrun-linux-arm64 -ldflags "-X github.com/speedrunsh/speedrun/cmd/speedrun/cli.version=$(VERSION) -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.commit=$(GITCOMMIT) -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.date=$(DATE)" ./cmd/speedrun
|
||||
GOOS=linux GOARCH=arm64 go build -o $(DIST)/speedrun-linux-arm64 -ldflags "-X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.version=$(VERSION) -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.commit=$(GITCOMMIT) -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.date=$(DATE)" ./cmd/speedrun
|
||||
|
||||
speedrun-linux: speedrun-linux-amd64 speedrun-linux-arm64
|
||||
|
||||
speedrun-darwin-amd64: requirements
|
||||
GOOS=darwin GOARCH=amd64 go build -o $(DIST)/speedrun-darwin-amd64 -ldflags "-X github.com/speedrunsh/speedrun/cmd/speedrun/cli.version=$(VERSION) -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.commit=$(GITCOMMIT) -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.date=$(DATE)" ./cmd/speedrun
|
||||
GOOS=darwin GOARCH=amd64 go build -o $(DIST)/speedrun-darwin-amd64 -ldflags "-X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.version=$(VERSION) -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.commit=$(GITCOMMIT) -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.date=$(DATE)" ./cmd/speedrun
|
||||
|
||||
speedrun-darwin-arm64: requirements
|
||||
GOOS=darwin GOARCH=arm64 go build -o $(DIST)/speedrun-darwin-arm64 -ldflags "-X github.com/speedrunsh/speedrun/cmd/speedrun/cli.version=$(VERSION) -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.commit=$(GITCOMMIT) -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.date=$(DATE)" ./cmd/speedrun
|
||||
GOOS=darwin GOARCH=arm64 go build -o $(DIST)/speedrun-darwin-arm64 -ldflags "-X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.version=$(VERSION) -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.commit=$(GITCOMMIT) -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.date=$(DATE)" ./cmd/speedrun
|
||||
|
||||
speedrun-darwin: speedrun-darwin-amd64 speedrun-darwin-arm64
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
|
||||
# Speedrun
|
||||
|
||||
[](https://github.com/speedrunsh/speedrun/blob/master/LICENSE)
|
||||
[](https://goreportcard.com/report/github.com/speedrunsh/speedrun)
|
||||
[](https://github.com/speedrunsh/speedrun/actions/workflows/go.yml)
|
||||
[](https://github.com/dpogorzelski/speedrun/blob/master/LICENSE)
|
||||
[](https://goreportcard.com/report/github.com/dpogorzelski/speedrun)
|
||||
[](https://github.com/dpogorzelski/speedrun/actions/workflows/go.yml)
|
||||
|
||||
Speedrun helps you control your compute fleet with minimal effort.
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@ import (
|
||||
"github.com/apex/log"
|
||||
jsonhandler "github.com/apex/log/handlers/json"
|
||||
texthandler "github.com/apex/log/handlers/text"
|
||||
"github.com/speedrunsh/speedrun/pkg/common/cryptoutil"
|
||||
"github.com/speedrunsh/speedrun/pkg/portal"
|
||||
portalpb "github.com/speedrunsh/speedrun/proto/portal"
|
||||
"github.com/dpogorzelski/speedrun/pkg/common/cryptoutil"
|
||||
"github.com/dpogorzelski/speedrun/pkg/portal"
|
||||
portalpb "github.com/dpogorzelski/speedrun/proto/portal"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/viper"
|
||||
"storj.io/drpc/drpcmux"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/speedrunsh/speedrun/cmd/portal/cli"
|
||||
"github.com/dpogorzelski/speedrun/cmd/portal/cli"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/alitto/pond"
|
||||
"github.com/speedrunsh/speedrun/pkg/speedrun/cloud"
|
||||
portalpb "github.com/speedrunsh/speedrun/proto/portal"
|
||||
"github.com/dpogorzelski/speedrun/pkg/speedrun/cloud"
|
||||
portalpb "github.com/dpogorzelski/speedrun/proto/portal"
|
||||
"storj.io/drpc/drpcconn"
|
||||
|
||||
"github.com/apex/log"
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
|
||||
"github.com/alitto/pond"
|
||||
"github.com/apex/log"
|
||||
"github.com/speedrunsh/speedrun/pkg/speedrun/cloud"
|
||||
portalpb "github.com/speedrunsh/speedrun/proto/portal"
|
||||
"github.com/dpogorzelski/speedrun/pkg/speedrun/cloud"
|
||||
portalpb "github.com/dpogorzelski/speedrun/proto/portal"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/viper"
|
||||
"storj.io/drpc/drpcconn"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/speedrunsh/speedrun/cmd/speedrun/cli"
|
||||
"github.com/dpogorzelski/speedrun/cmd/speedrun/cli"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
||||
module github.com/speedrunsh/speedrun
|
||||
module github.com/dpogorzelski/speedrun
|
||||
|
||||
go 1.17
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
"github.com/apex/log"
|
||||
|
||||
"github.com/speedrunsh/speedrun/proto/portal"
|
||||
"github.com/dpogorzelski/speedrun/proto/portal"
|
||||
)
|
||||
|
||||
func (s *Server) RunCommand(ctx context.Context, in *portal.CommandRequest) (*portal.CommandResponse, error) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package portal
|
||||
|
||||
import "github.com/speedrunsh/speedrun/proto/portal"
|
||||
import "github.com/dpogorzelski/speedrun/proto/portal"
|
||||
|
||||
type Server struct {
|
||||
portal.DRPCPortalUnimplementedServer
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
"github.com/apex/log"
|
||||
"github.com/coreos/go-systemd/v22/dbus"
|
||||
"github.com/speedrunsh/speedrun/proto/portal"
|
||||
"github.com/dpogorzelski/speedrun/proto/portal"
|
||||
)
|
||||
|
||||
func (s *Server) ServiceRestart(ctx context.Context, service *portal.ServiceRequest) (*portal.ServiceResponse, error) {
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
|
||||
"github.com/antonmedv/expr"
|
||||
"github.com/apex/log"
|
||||
"github.com/dpogorzelski/speedrun/pkg/common/cryptoutil"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/speedrunsh/speedrun/pkg/common/cryptoutil"
|
||||
"github.com/spf13/viper"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "github.com/speedrunsh/speedrun/proto/portal";
|
||||
option go_package = "github.com/dpogorzelski/speedrun/proto/portal";
|
||||
package portal;
|
||||
|
||||
enum State {
|
||||
|
||||
Reference in New Issue
Block a user