Skip to content

Commit

Permalink
Rename repository
Browse files Browse the repository at this point in the history
  • Loading branch information
x-cray committed Nov 18, 2015
1 parent 1f606e5 commit e54044c
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ _testmain.go
.DS_Store

# Built binary
marathon-service-registrator
marathon-registrator

4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM gliderlabs/alpine:3.2

ADD . /go/src/github.com/x-cray/marathon-service-registrator
ADD . /go/src/github.com/x-cray/marathon-registrator
RUN apk-install -t build-deps go git \
&& cd /go/src/github.com/x-cray/marathon-service-registrator \
&& cd /go/src/github.com/x-cray/marathon-registrator \
&& export GOPATH=/go \
&& go get -d -v \
&& go build -ldflags "-X main.version $(cat VERSION)" -o /bin/registrator \
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ ENV GOPATH /go
ENV PATH /go/bin:$PATH
RUN go get github.com/mailgun/godebug

ADD . /go/src/github.com/x-cray/marathon-service-registrator
RUN cd /go/src/github.com/x-cray/marathon-service-registrator \
ADD . /go/src/github.com/x-cray/marathon-registrator
RUN cd /go/src/github.com/x-cray/marathon-registrator \
&& go get -d -v \
&& go build -ldflags "-X main.version dev" -o /bin/registrator

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
NAME=marathon-service-registrator
NAME=marathon-registrator
VERSION=$(shell cat VERSION)
PACKAGES=$(shell go list ./...)

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Marathon Service Registrator
[![Build Status](https://travis-ci.org/x-cray/marathon-service-registrator.svg?branch=master)](https://travis-ci.org/x-cray/marathon-service-registrator)
[![Docker Pulls](https://img.shields.io/docker/pulls/xcray/marathon-service-registrator.svg)](https://hub.docker.com/r/xcray/marathon-service-registrator/)
[![](https://badge.imagelayers.io/xcray/marathon-service-registrator:latest.svg)](https://imagelayers.io/?images=xcray/marathon-service-registrator:latest 'Get your own badge on imagelayers.io')
[![Build Status](https://travis-ci.org/x-cray/marathon-registrator.svg?branch=master)](https://travis-ci.org/x-cray/marathon-registrator)
[![Docker Pulls](https://img.shields.io/docker/pulls/xcray/marathon-registrator.svg)](https://hub.docker.com/r/xcray/marathon-registrator/)
[![](https://badge.imagelayers.io/xcray/marathon-registrator:latest.svg)](https://imagelayers.io/?images=xcray/marathon-registrator:latest 'Get your own badge on imagelayers.io')

Consul service registry bridge for Marathon.

Expand Down
6 changes: 3 additions & 3 deletions bridge/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package bridge
import (
"sync"

"github.com/x-cray/marathon-service-registrator/consul"
"github.com/x-cray/marathon-service-registrator/marathon"
"github.com/x-cray/marathon-service-registrator/types"
"github.com/x-cray/marathon-registrator/consul"
"github.com/x-cray/marathon-registrator/marathon"
"github.com/x-cray/marathon-registrator/types"

log "github.com/Sirupsen/logrus"
)
Expand Down
2 changes: 1 addition & 1 deletion bridge/bridge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"testing"

"github.com/x-cray/marathon-service-registrator/types"
"github.com/x-cray/marathon-registrator/types"

log "github.com/Sirupsen/logrus"
"github.com/golang/mock/gomock"
Expand Down
2 changes: 1 addition & 1 deletion consul/consul_adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/url"
"strings"

"github.com/x-cray/marathon-service-registrator/types"
"github.com/x-cray/marathon-registrator/types"

log "github.com/Sirupsen/logrus"
consulAPI "github.com/hashicorp/consul/api"
Expand Down
2 changes: 1 addition & 1 deletion marathon/marathon_adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"strings"

"github.com/x-cray/marathon-service-registrator/types"
"github.com/x-cray/marathon-registrator/types"

"errors"
log "github.com/Sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion marathon/marathon_adapter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"testing"

"github.com/x-cray/marathon-service-registrator/types"
"github.com/x-cray/marathon-registrator/types"

log "github.com/Sirupsen/logrus"
marathonClient "github.com/gambol99/go-marathon"
Expand Down
4 changes: 2 additions & 2 deletions registrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"os"
"time"

"github.com/x-cray/marathon-service-registrator/bridge"
"github.com/x-cray/marathon-service-registrator/types"
"github.com/x-cray/marathon-registrator/bridge"
"github.com/x-cray/marathon-registrator/types"

log "github.com/Sirupsen/logrus"
logrusSyslog "github.com/Sirupsen/logrus/hooks/syslog"
Expand Down

0 comments on commit e54044c

Please sign in to comment.