Mesos-DNS enables DNS-based service discovery in Apache Mesos clusters.
mesos-N
tags mark the start of support for a specific Mesos version while
maintaining backwards compatibility with the previous major version.
The official release binaries are available at Github releases.
Building the master branch from source should always succeed but doesn't provide the same stability and compatibility guarantees as releases.
All branches and pull requests are tested by CircleCI, which also outputs artifacts for Mac OS X, Windows, and Linux via cross-compilation.
You will need Go 1.6 or later to build the project.
All dependencies are tracked using godep
.
# Install godep
$ go get github.com/tools/godep
# Save new dependencies
$ godep save ./...
# Build
$ go build ./...
- Cut a branch.
- Tag it with the relevant version, and push the tags along with the branch.
- If the build doesn't trigger automatically, go to CircleCI, find your branch, and trigger the build.
- Fork the repo on Github.
- Customize that repo.
- Add it to CircleCI. Please note that CircleCI allows for private repositories to be kept, and built in private.
- Go to the build steps.
- Download the artifacts from CircleCI.
- Cut a release based on the tag on Github.
- Upload the artifacts back to Github. Ensure you upload all the artifacts, including the
.asc
files.
This repo uses code signing. There is an armored, encrypted GPG key in the repo in build/private.key. This file includes the Mesos-DNS GPG signing key. The passphrase for the key is stored in Circle-CI's environment. This makes it fairly difficult to leak both components without detectable maliciousness.
There are only very few users with access to the private key, and they also have access to a revocation certificate in case the private key leaks.
go test -race ./...
The detailed documentation on how to configure, operate and use Mesos-DNS under different scenarios and environments is available at the project's home page.
Contributions are welcome. Please refer to CONTRIBUTING.md for guidelines.
For any discussion that isn't well suited for Github issues, please use our mailing list or our public chat room.
This project is licensed under Apache License 2.0.