Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Move references from outbrain/orchestrator to github/orchestrator #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ orchestrator-agent

MySQL topology agent (daemon)

**orchestrator-agent** is a sub-project of [orchestrator](https://github.com/outbrain/orchestrator).
**orchestrator-agent** is a sub-project of [orchestrator](https://github.com/github/orchestrator).
It is a service that runs on MySQL hosts and communicates with *orchestrator*.

**orchestrator-agent** is capable of proving operating system, file system and LVM information to *orchestrator*, as well
Expand Down
6 changes: 3 additions & 3 deletions go/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ import (
"net/http"
"time"

"github.com/github/orchestrator-agent/go/config"
"github.com/github/orchestrator-agent/go/osagent"
"github.com/github/orchestrator-agent/go/ssl"
"github.com/outbrain/golib/log"
"github.com/outbrain/orchestrator-agent/go/config"
"github.com/outbrain/orchestrator-agent/go/osagent"
"github.com/outbrain/orchestrator-agent/go/ssl"
)

var httpTimeout = time.Duration(time.Duration(config.Config.HttpTimeoutSeconds) * time.Second)
Expand Down
8 changes: 4 additions & 4 deletions go/app/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ import (

nethttp "net/http"

"github.com/github/orchestrator-agent/go/agent"
"github.com/github/orchestrator-agent/go/config"
"github.com/github/orchestrator-agent/go/http"
"github.com/github/orchestrator-agent/go/ssl"
"github.com/outbrain/golib/log"
"github.com/outbrain/orchestrator-agent/go/agent"
"github.com/outbrain/orchestrator-agent/go/config"
"github.com/outbrain/orchestrator-agent/go/http"
"github.com/outbrain/orchestrator-agent/go/ssl"
)

// Http starts serving HTTP (api/web) requests
Expand Down
6 changes: 3 additions & 3 deletions go/cmd/orchestrator-agent/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ import (
"os/signal"
"syscall"

"github.com/github/orchestrator-agent/go/agent"
"github.com/github/orchestrator-agent/go/app"
"github.com/github/orchestrator-agent/go/config"
"github.com/outbrain/golib/log"
"github.com/outbrain/orchestrator-agent/go/agent"
"github.com/outbrain/orchestrator-agent/go/app"
"github.com/outbrain/orchestrator-agent/go/config"
)

var AppVersion string
Expand Down
6 changes: 3 additions & 3 deletions go/http/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ import (
"strconv"
"time"

"github.com/github/orchestrator-agent/go/agent"
"github.com/github/orchestrator-agent/go/config"
"github.com/github/orchestrator-agent/go/osagent"
"github.com/go-martini/martini"
"github.com/martini-contrib/render"
"github.com/outbrain/orchestrator-agent/go/agent"
"github.com/outbrain/orchestrator-agent/go/config"
"github.com/outbrain/orchestrator-agent/go/osagent"
)

type HttpAPI struct{}
Expand Down
4 changes: 2 additions & 2 deletions go/osagent/osagent.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ import (
"strconv"
"strings"

"github.com/github/orchestrator-agent/go/config"
"github.com/github/orchestrator-agent/go/inst"
"github.com/outbrain/golib/log"
"github.com/outbrain/orchestrator-agent/go/config"
"github.com/outbrain/orchestrator-agent/go/inst"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion go/ssl/ssl.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
nethttp "net/http"
"strings"

"github.com/github/orchestrator-agent/go/config"
"github.com/go-martini/martini"
"github.com/outbrain/golib/log"
"github.com/outbrain/orchestrator-agent/go/config"
)

var cipherSuites = []uint16{
Expand Down
4 changes: 2 additions & 2 deletions go/ssl/ssl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"syscall"
"testing"

"github.com/outbrain/orchestrator-agent/go/config"
"github.com/outbrain/orchestrator-agent/go/ssl"
"github.com/github/orchestrator-agent/go/config"
"github.com/github/orchestrator-agent/go/ssl"
)

func TestHasString(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ set -e

set -x
rm -rf .gopath
mkdir -p .gopath/src/github.com/outbrain
ln -s "$PWD" .gopath/src/github.com/outbrain/orchestrator-agent
mkdir -p .gopath/src/github.com/github
ln -s "$PWD" .gopath/src/github.com/github/orchestrator-agent
export GOPATH=$PWD/.gopath:$GOPATH
2 changes: 1 addition & 1 deletion script/build
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version=$(git rev-parse HEAD)
describe=$(git describe --tags --always --dirty)

export GOPATH="$PWD/.gopath"
cd .gopath/src/github.com/outbrain/orchestrator-agent
cd .gopath/src/github.com/github/orchestrator-agent

# We put the binaries directly into the bindir, because we have no need for shim wrappers
go build -o "$bindir/orchestrator-agent" -ldflags "-X main.AppVersion=${version} -X main.BuildDescribe=${describe}" ./go/cmd/orchestrator-agent/main.go
2 changes: 1 addition & 1 deletion script/cibuild
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ git diff --exit-code --quiet
echo "Building"
script/build

cd .gopath/src/github.com/outbrain/orchestrator-agent
cd .gopath/src/github.com/github/orchestrator-agent

echo "Running unit tests"
go test ./go/...
2 changes: 1 addition & 1 deletion script/go
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ set -e
mkdir -p bin
bindir="$PWD"/bin

cd .gopath/src/github.com/outbrain/orchestrator-agent
cd .gopath/src/github.com/github/orchestrator-agent
go "$@"