Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v8 #628

Closed
wants to merge 139 commits into from
Closed

v8 #628

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
84cc01f
Merge remote-tracking branch 'upstream/master'
Jun 16, 2015
efdab22
fix where providing a SERVICE_NAME for a container with multiple port…
Jun 17, 2015
c731919
Merge remote-tracking branch 'upstream/master'
Jul 16, 2015
640360b
Synchornize etcd cluster in registrator on service registration
hawka Aug 6, 2015
d50848d
Merge pull request #2 from pippio/i269
hawka Aug 7, 2015
1fd1623
note on docker hub tags
progrium Aug 10, 2015
7c79bed
link to boot2docker
progrium Aug 10, 2015
25208b3
analytics
progrium Aug 12, 2015
1e14d47
Default to tcp for PortType if not provided
ashmckenzie Aug 14, 2015
c716421
Allow DEV_RUN_OPTS to be used when calling make dev
ashmckenzie Aug 14, 2015
28e7d0c
Merge pull request #227 from ashmckenzie/amckenzie/missing-protocol-fix
progrium Aug 14, 2015
18dcd45
Add new version checker
mgood Aug 17, 2015
4ebfa22
Merge pull request #232 from gliderlabs/usage
progrium Aug 18, 2015
029e2e4
Adding retries to backend service in the startup
ch3lo Aug 19, 2015
d3863e3
Added retry parameters documentation
ch3lo Aug 19, 2015
ec8ac84
Upgrade to alpine:3.2 and go 1.4
mattatcha Aug 20, 2015
25c06a1
Merge pull request #236 from mattaitchison/update
progrium Aug 20, 2015
c12423b
Refactor bridge for better testability
mattatcha Aug 20, 2015
76960db
Merge branch 'master' into retries
ch3lo Aug 20, 2015
6f3a604
Merge pull request #237 from mattaitchison/refactor
progrium Aug 20, 2015
9669335
Merge branch 'master' into retries
ch3lo Aug 21, 2015
02bda14
Removed unused attributes
ch3lo Aug 22, 2015
f04e789
prebump
progrium Aug 26, 2015
8f473cb
Merge pull request #235 from ch3lo/retries
progrium Sep 1, 2015
70807ea
Adding documentation link
TheNathanBlack Sep 1, 2015
ecb409b
Merge remote-tracking branch 'upstream/master'
Sep 5, 2015
9feaccb
Merge branch 'master' into fix-multiple-ports-named-service
Sep 5, 2015
5eab115
update wording for Weave product family
andyshinn Sep 8, 2015
987704d
Merge pull request #221 from pippio/master
progrium Sep 8, 2015
60744fd
updating documentation & CHANGELOG
Sep 8, 2015
4c4cb7b
Merge pull request #194 from DealerDotCom/fix-multiple-ports-named-se…
progrium Sep 8, 2015
dd3ab2e
Fix specific port names not overriding port suffix
JohnyDays Sep 10, 2015
c4e31cc
Actually check metadata from port. Fix ENV variable order dependency
JohnyDays Sep 10, 2015
81d8f6a
Use exit status to determine if container was killed
mgood Sep 15, 2015
f38bf72
Fix releases link in README
x-cray Sep 30, 2015
0e7edc4
Merge pull request #262 from x-cray/x-cray-readme-fix
progrium Oct 7, 2015
ffed69c
Align SPONSORS text
josegonzalez Oct 24, 2015
9321a0d
Add more detailed usage regarding options placement
Nov 22, 2015
3181e58
Cleanup dangling services
mattrobenolt Jun 15, 2015
5c8e66b
Merge pull request #274 from josegonzalez/patch-1
mgood Dec 1, 2015
d160faa
Merge pull request #300 from jeinwag/cleanup
progrium Dec 3, 2015
d1bec88
Support for Docker multi host networking
nirped Dec 4, 2015
dc2faa6
Update util.go
nirped Dec 4, 2015
7f183c7
Using NewVersionedClientFromEnv to create docker client
jgrowl Sep 5, 2015
d6b7275
Merge pull request #203 from jgrowl/tls
Dec 12, 2015
ed771ac
Merge pull request #297 from mgood/usage-message
mgood Dec 12, 2015
ed13635
Initial basic zookeeper backend for registrator
jmeichle Mar 28, 2015
a0d2931
Merge pull request #303 from nirped/master
progrium Jan 5, 2016
e86a580
Merge pull request #245 from JohnyDays/port-suffix-override
progrium Jan 6, 2016
27d9d5c
Merge pull request #141 from jmeichle/zookeeper
progrium Jan 13, 2016
ceae5da
Small docs refurbishment
Jan 23, 2016
efbab6d
Merge pull request #324 from etki/master
progrium Jan 23, 2016
0c22941
Note for ignoring individual service on container
dmurat Jan 28, 2016
edd6df2
Merge pull request #329 from dmurat/ignore_service_docs_pr
progrium Jan 28, 2016
fd3ec07
Add support for Consul unix sockets
Feb 8, 2016
1f9fa9e
Merge pull request #336 from colebrumley/consul-sock
progrium Feb 9, 2016
3f3391c
Remove services from registrator if corresponding container is not ru…
Feb 8, 2016
1a55d66
Change default port for etc2 backend to default 2379
hookenz Feb 10, 2016
39e5331
Update docs for etcd backend for default port
hookenz Feb 10, 2016
1499488
On sync, log error instead of exiting
Feb 11, 2016
1c200b1
Make removing 'stale' service compatible with deregister flag
Feb 11, 2016
a3f28f5
Merge pull request #250 from mgood/kill-signal
mgood Feb 11, 2016
484bbf1
*servicePort method
Feb 16, 2016
ab48664
gofmt bridge
Feb 17, 2016
0248e65
Merge pull request #346 from jgeiger/run_gofmt_against_codebase
progrium Feb 17, 2016
ff38f7d
Merge pull request #345 from msidorenko/issue-337
progrium Feb 19, 2016
0a99627
Merge pull request #340 from hookenz/master
mattatcha Feb 24, 2016
733dffb
added Consul TCP Health Check
mvanholsteijn Feb 26, 2016
3b65f7d
removed sentence that was copied from HTTP health check
mvanholsteijn Feb 29, 2016
7513e42
Merge pull request #357 from nautsio/consul_tcp_health_check
mattatcha Mar 5, 2016
73bf16f
Update CHANGELOG
mattatcha Feb 24, 2016
b29dbe9
Add image size to readme.
mattatcha Mar 5, 2016
876e287
Release prep
mattatcha Mar 5, 2016
a4a4b0d
Add image size to docs
mattatcha Mar 5, 2016
55a38b9
bump
mattatcha Mar 5, 2016
0d0b505
Use ExposedPorts for --net=host
wrouesnel Oct 11, 2015
fd0069d
document how to run when consul uses and acl
pmenglund Mar 16, 2016
dec131a
add support for consul https health checks
tilgovi Apr 7, 2016
e246269
adding TLS support for consul backend
wixyvir Apr 14, 2016
04f52e0
Have the zookeeper backend use the host port for the service paths, a…
jmeichle Apr 19, 2016
6f4147f
Fix servicePort HostIP detection logic (#407)
Apr 27, 2016
2f32794
Add consul initial check status to service attributes
selimekiz Jul 9, 2016
8e5de9c
Adding documentation for the consul-tls backend scheme
wixyvir Jul 12, 2016
8e57bf0
Ordering consul backend schemes in alphabetical order
wixyvir Jul 13, 2016
7d92084
Merge pull request #394 from wixyvir/add_consul_tls
josegonzalez Jul 13, 2016
7b53791
Merge pull request #388 from tilgovi/consul-https-health-check
josegonzalez Jul 19, 2016
7534d64
Add caution note on resync parameter
Aug 2, 2016
0bb3a44
Merge pull request #450 from yanndegat/master
josegonzalez Aug 2, 2016
1ed31d8
Merge pull request #339 from dsouzajude/sync-to-local-containers
josegonzalez Aug 17, 2016
ac47f6f
Fix build issues Close #468
Sep 5, 2016
916c8b6
Add cleanup parameter in the doc
Aug 29, 2016
7b98ea5
Merge pull request #470 from yanndegat/add_cleanup_param
josegonzalez Sep 6, 2016
f75a5dc
Merge pull request #445 from selimekizoglu/consul-status
josegonzalez Sep 15, 2016
bd33617
Merge pull request #372 from pmenglund/consul_acl_doc
josegonzalez Sep 15, 2016
3a5c9d7
Fixes logic for appending port to SERVICE_NAME
mattatcha Sep 15, 2016
2f815ba
Merge pull request #473 from gliderlabs/issue-380
josegonzalez Sep 15, 2016
db7c8bd
Merge pull request #268 from wrouesnel/exposed_ports
josegonzalez Sep 15, 2016
e4460f0
Add an issue template
josegonzalez Sep 17, 2016
79e2e73
Update ISSUE_TEMPLATE.md
josegonzalez Sep 20, 2016
990e6d0
Adds 'useIpFromLabel' parameter (#480)
rene-mt Oct 21, 2016
d2c9de8
Support obtaining the IP from a container sharing its network namespa…
balexx Dec 15, 2016
dc19319
Update README.md
progrium Dec 28, 2016
dc64d5b
Update README.md
progrium Dec 28, 2016
990786d
Update README.md
progrium Dec 28, 2016
1a1a9ae
feat(consul,service_tags): Support escaped comma (#401)
samber Jan 20, 2017
a79ecf6
dockerfile: use alpine 3.5 with go 1.7.3
mattatcha Feb 13, 2017
5c5fad0
makefile: remove gliderlabs/glu ci build dependency
mattatcha Feb 14, 2017
653db28
Fix missing ca-certificates in alpine 3.5 (#523)
Feb 15, 2017
692f0eb
Fix existed typo (#539)
seriousben Mar 31, 2017
b15ebf4
Added support for DeregisterCriticalServiceAfter (#488)
Shtsh May 2, 2017
10cf074
fix service ip and port in consul interpolateService (#453)
Jun 2, 2017
82dc4fd
Add option to only register services which have SERVICE_NAME (#531)
codablock Jun 20, 2017
4078ea3
Add Windows detection
kichristensen Jun 26, 2017
92f7dcf
Improve CLI option documentation
avinson Aug 2, 2017
063eb15
fix indent
avinson Aug 2, 2017
e0b2c60
Merge pull request #584 from avinson/master
josegonzalez Aug 4, 2017
6d69ef2
Add link to Consul /agent/check/register docs
rifelpet Sep 19, 2017
7de82be
Add docs for SERVICE_CHECK_DEREGISTER_AFTER
rifelpet Sep 19, 2017
7ce2d17
Link to consul check docs from service model
rifelpet Sep 19, 2017
c5c8a8d
Added Multistage Dockerfile for slimmer & hardened image
rms1000watt Mar 20, 2018
7354bc4
Add support for dep
VeganBroccoli Apr 23, 2018
e5e5426
Merge pull request #615 from VeganBroccoli/buildfix
josegonzalez Jun 12, 2018
a248f40
Merge branch 'master' into MultistageDocker
josegonzalez Jun 16, 2018
0b67a7b
Merge pull request #610 from rms1000watt/MultistageDocker
josegonzalez Jun 16, 2018
6686611
Merge pull request #590 from rifelpet/docs
josegonzalez Jun 16, 2018
827e0d8
Merge pull request #571 from kichristensen/WindowsDetection
josegonzalez Jun 16, 2018
3eed489
feat: add circleci 2.0 support
josegonzalez Jun 16, 2018
b0a3568
Merge pull request #623 from gliderlabs/circleci
josegonzalez Jun 16, 2018
2a9f7f9
fix: do not use the global dockerignore for pagebuilder
josegonzalez Jun 16, 2018
1601c9f
Merge pull request #624 from gliderlabs/circle-test
josegonzalez Jun 16, 2018
769456a
fix: Properly use CircleCI 2.0 for builds
josegonzalez Jun 16, 2018
86f29a7
Merge pull request #625 from gliderlabs/circle-test
josegonzalez Jun 16, 2018
988bab5
fix: add github.com to circleci known_hosts
josegonzalez Jun 16, 2018
a6a55e9
fix: switch to non-eval command
josegonzalez Jun 16, 2018
a3f76d9
Use alpine:3.7 instead of scratch
dsouzajude Jun 17, 2018
7d5571e
Merge pull request #626 from dsouzajude/fix-build
josegonzalez Jun 17, 2018
d91f662
Include service.Attrs as Consul Meta for the service
dsouzajude Jun 12, 2018
ab7a235
Update docs for Consul metadata support
dsouzajude Jun 16, 2018
b737bf7
Merge pull request #620 from dsouzajude/consul-meta
josegonzalez Jun 24, 2018
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
release
build
vendor
31 changes: 30 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,41 @@ All notable changes to this project will be documented in this file.

### Changed

## [v7] - 2016-03-05
### Fixed
- Providing a SERVICE_NAME for a container with multiple ports exposed would cause services to overwrite each other
- dd3ab2e Fix specific port names not overriding port suffix

### Added
- bridge.Ping - calls adapter.Ping
- Consul TCP Health Check
- Support for Consul unix sockets
- Basic Zookeper backend
- Support for Docker multi host networking
- Default to tcp for PortType if not provided
- Sync etcd cluster on service registration
- Support hostip for overlay network
- Cleanup dangling services
- Startup backend service connection retry

### Removed

### Changed
- Upgraded base image to alpine:3.2 and go 1.4
- bridge.New returns an error instead of calling log.Fatal
- bridge.New will not attempt to ping an adapter.
- Specifying a SERVICE_NAME for containers exposing multiple ports will now result in a named service per port. #194
- Etcd uses port 2379 instead of 4001 #340
- Setup Docker client from environment
- Use exit status to determine if container was killed

## [v6] - 2015-08-07
### Fixed
- Support for etcd v0 and v2
- Panic from invalid skydns2 URI.

### Added
- Basic zookeeper adapter
- Optional periodic resyncing of services from containers
- More error logging for registries
- Support for services on containers with `--net=host`
Expand Down Expand Up @@ -54,6 +82,7 @@ All notable changes to this project will be documented in this file.
- Dropped Godeps for now


[unreleased]: https://github.com/gliderlabs/registrator/compare/v6...HEAD
[unreleased]: https://github.com/gliderlabs/registrator/compare/v7...HEAD
[v7]: https://github.com/gliderlabs/registrator/compare/v6...v7
[v6]: https://github.com/gliderlabs/registrator/compare/v5...v6
[v5]: https://github.com/gliderlabs/registrator/compare/v0.4.0...v5
19 changes: 13 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
FROM gliderlabs/alpine:3.1
ENTRYPOINT ["/bin/registrator"]

FROM alpine:3.7 AS builder
COPY . /go/src/github.com/gliderlabs/registrator
RUN apk-install -t build-deps go git mercurial \
RUN apk --no-cache add -t build-deps build-base go git curl \
&& apk --no-cache add ca-certificates \
&& export GOPATH=/go && mkdir -p /go/bin && export PATH=$PATH:/go/bin \
&& curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh \
&& cd /go/src/github.com/gliderlabs/registrator \
&& export GOPATH=/go \
&& go get \
&& go build -ldflags "-X main.Version $(cat VERSION)" -o /bin/registrator \
&& git config --global http.https://gopkg.in.followRedirects true \
&& dep ensure \
&& go build -ldflags "-X main.Version=$(cat VERSION)" -o /bin/registrator \
&& rm -rf /go \
&& apk del --purge build-deps

FROM alpine:3.7
COPY --from=builder /bin/registrator /bin/registrator
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
ENTRYPOINT ["/bin/registrator"]
7 changes: 4 additions & 3 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM gliderlabs/alpine:3.1
FROM alpine:3.5
CMD ["/bin/registrator"]

ENV GOPATH /go
RUN apk-install go git mercurial
RUN apk --no-cache add build-base go git ca-certificates
COPY . /go/src/github.com/gliderlabs/registrator
RUN cd /go/src/github.com/gliderlabs/registrator \
&& git config --global http.https://gopkg.in.followRedirects true \
&& go get \
&& go build -ldflags "-X main.Version dev" -o /bin/registrator
&& go build -ldflags "-X main.Version=dev" -o /bin/registrator
244 changes: 244 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 43 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[[constraint]]
name = "github.com/cenkalti/backoff"
version = "2.0.0"

[[constraint]]
name = "github.com/coreos/go-etcd"
version = "2.0.0"

[[constraint]]
name = "github.com/fsouza/go-dockerclient"
version = "1.2.0"

[[override]]
name = "github.com/docker/docker"
revision = "a422774e593b33bd287d9890544ad9e09b380d8c"

[[constraint]]
branch = "master"
name = "github.com/gliderlabs/pkg"

[[constraint]]
name = "github.com/hashicorp/consul"
version = "1.0.7"

[[constraint]]
branch = "master"
name = "github.com/hashicorp/go-cleanhttp"

[[constraint]]
branch = "master"
name = "github.com/samuel/go-zookeeper"

[[constraint]]
name = "github.com/stretchr/testify"
version = "1.2.1"

[[constraint]]
name = "gopkg.in/coreos/go-etcd.v0"
version = "0.4.6"

[prune]
go-tests = true
unused-packages = true
Loading