Skip to content

Commit

Permalink
Merge pull request #46 from duedil-ltd/update-to-go-1.8
Browse files Browse the repository at this point in the history
Update to Go 1.8 and ETCD 3.1.2
  • Loading branch information
oli-hall authored Mar 28, 2017
2 parents 0c2cf9d + a57be52 commit 8e78a0b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ notifications:
email: false
language: go
go:
- "1.2"
- "1.8"
install:
- "wget https://github.com/coreos/etcd/releases/download/v0.4.4/etcd-v0.4.4-linux-amd64.tar.gz"
- "tar -zxvf etcd-v0.4.4-linux-amd64.tar.gz"
- "etcd-v0.4.4-linux-amd64/etcd -name travis &"
- "wget https://github.com/coreos/etcd/releases/download/v3.1.2/etcd-v3.1.2-linux-amd64.tar.gz"
- "tar -zxvf etcd-v3.1.2-linux-amd64.tar.gz"
- "etcd-v3.1.2-linux-amd64/etcd -name travis &"
- "sleep 5" # Wait for etcd to come up
cache: apt
script: "make get && make test"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ Why not ZooKeeper? The etcd API is much simpler for users to use, and it uses [R

Another attractive quality about etcd is the ability to continue serving (albeit stale) read queries even when a consensus cannot be reached, allowing the cluster to enter a semi-failed state where it cannot accept writes, but it will serve reads. This kind of graceful service degradation is very useful for a read-heavy system, such as DNS.

Currently, discodns is locked to etcd 0.4.6
Currently, discodns has been tested against ETCD 3.1.2.

## Getting Started

The discodns project is written in Go, and uses an extensive library ([miekg/dns](https://github.com/miekg/dns)) to provide the actual implementation of the DNS protocol.

You'll need to compile from source, though a Makefile is provided to make this easier. Before starting, you'll need to ensure you have [Go](http://golang.org/) (1.2+) installed.
You'll need to compile from source, though a Makefile is provided to make this easier. Before starting, you'll need to ensure you have [Go](http://golang.org/) (1.8+) installed.

### Building

Expand Down
2 changes: 1 addition & 1 deletion resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

var (
client = etcd.NewClient([]string{"127.0.0.1:4001"})
client = etcd.NewClient([]string{"http://127.0.0.1:2379"})
resolver = &Resolver{etcd: client}
)

Expand Down

0 comments on commit 8e78a0b

Please sign in to comment.