Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

Merge upstream changes into registrator #56

Open
wants to merge 53 commits into
base: master
Choose a base branch
from

Conversation

chrisgilbert
Copy link

This PR merges the upstream changes that have occurred in gliderlabs/registrator. There are couple of relevant fixes, and a useful change adding an -Explicit option. This stops services being registered if they don't set the SERVICE_REGISTER environment var.

It also switches to using godep for dependencies. It's an experiemental PR at the moment, and I want to see how easy it will be to merge these changes.

Chris Gilbert and others added 30 commits February 15, 2017 11:25
fix service ip and port in consul interpolateService
Environment Variable name changed to CONSUL_CLIENT_CERT & CONSUL_CLIE…
This adds the option "-explicit" which makes registrator ignore all
services which don't have a SERVICE_NAME label.
Improve CLI option documentation
Added Multistage Dockerfile for slimmer & hardened image
Consul check documentation improvement
Otherwise, the git directory is ignored.
hack: check circle directories
The switch to circleci 2.0 completely broke page builds - amongst other things - as the docker build type doesn't support docker volumes.

Moving to the machine build type allows us to use docker volumes, though we lose the ability to use helper functions.
@CLAassistant
Copy link

CLAassistant commented Aug 20, 2019

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
0 out of 18 committers have signed the CLA.

❌ mattatcha
❌ Shtsh
❌ seriousben
❌ Sisir-Chowdhury
❌ alfssobsd
❌ josegonzalez
❌ rifelpet
❌ kichristensen
❌ codablock
❌ avinson
❌ rms1000watt
❌ eedwards-sk
❌ nicofuccella
❌ Jason Harley
❌ dsouzajude
❌ VeganBroccoli
❌ thesoftwarejedi
❌ pmundt


Jason Harley seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@jamiegs
Copy link

jamiegs commented Aug 20, 2019

If you merge this in would you also add #57? It's too small of a change to warrant it's own deploy

nicofuccella and others added 8 commits November 3, 2019 18:21
In upstream Consul (as of May 2018), check.Script has been removed in
favour of check.Args, which now results in the following build error:

consul/consul.go:108:8: check.Script undefined (type *api.AgentServiceCheck has no field or method Script)
consul/consul.go:110:8: check.Script undefined (type *api.AgentServiceCheck has no field or method Script)
consul/consul.go:121:10: check.Script undefined (type *api.AgentServiceCheck has no field or method Script)

Update to use the new convention.
Add CLI Option "explicit" do examples
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.