etcd: Bump to etcd v3.3 and golang 1.9
This moves us to etcd v3.3 (a new major release) which has some useful features but that requires version 1.9 of golang.
This commit is contained in:
@@ -3,7 +3,6 @@ os:
|
||||
- linux
|
||||
- osx
|
||||
go:
|
||||
- 1.8.x
|
||||
- 1.9.x
|
||||
- tip
|
||||
go_import_path: github.com/purpleidea/mgmt
|
||||
@@ -19,7 +18,6 @@ matrix:
|
||||
fast_finish: false
|
||||
allow_failures:
|
||||
- go: tip
|
||||
- go: 1.9.x
|
||||
- os: osx
|
||||
notifications:
|
||||
irc:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.8
|
||||
FROM golang:1.9
|
||||
|
||||
MAINTAINER Michał Czeraszkiewicz <contact@czerasz.com>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.8
|
||||
FROM golang:1.9
|
||||
|
||||
MAINTAINER Michał Czeraszkiewicz <contact@czerasz.com>
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ Once you're familiar with the general idea, please start hacking...
|
||||
## Quick start
|
||||
|
||||
### Installing golang
|
||||
* You need golang version 1.8 or greater installed.
|
||||
* You need golang version 1.9 or greater installed.
|
||||
** To install on rpm style systems: `sudo dnf install golang`
|
||||
** To install on apt style systems: `sudo apt install golang`
|
||||
** To install on macOS systems install [Homebrew](https://brew.sh) and run: `brew install go`
|
||||
@@ -64,7 +64,7 @@ dependencies, _runtime_ dependencies, and additionally, a few extra dependencies
|
||||
required for running the _test_ suite.
|
||||
|
||||
### Build
|
||||
* `golang` 1.8 or higher (required, available in some distros and distributed
|
||||
* `golang` 1.9 or higher (required, available in some distros and distributed
|
||||
as a binary officially by [golang.org](https://golang.org/dl/))
|
||||
|
||||
### Runtime
|
||||
|
||||
@@ -144,7 +144,7 @@ func (obj *Prometheus) Start() error {
|
||||
|
||||
// Stop the http server.
|
||||
func (obj *Prometheus) Stop() error {
|
||||
// TODO: There is no way in go < 1.8 to stop a http server.
|
||||
// FIXME: There is no way in go < 1.8 to stop a http server. Add this!
|
||||
// https://stackoverflow.com/questions/39320025/go-how-to-stop-http-listenandserve/41433555#41433555
|
||||
return nil
|
||||
}
|
||||
|
||||
2
vendor/github.com/coreos/etcd
generated
vendored
2
vendor/github.com/coreos/etcd
generated
vendored
Submodule vendor/github.com/coreos/etcd updated: 589a7a19ac...c23606781f
2
vendor/github.com/grpc-ecosystem/go-grpc-prometheus
generated
vendored
2
vendor/github.com/grpc-ecosystem/go-grpc-prometheus
generated
vendored
Submodule vendor/github.com/grpc-ecosystem/go-grpc-prometheus updated: 6b7015e65d...0dafe0d496
2
vendor/github.com/grpc-ecosystem/grpc-gateway
generated
vendored
2
vendor/github.com/grpc-ecosystem/grpc-gateway
generated
vendored
Submodule vendor/github.com/grpc-ecosystem/grpc-gateway updated: 18d159699f...8cc3a55af3
2
vendor/github.com/ugorji/go
generated
vendored
2
vendor/github.com/ugorji/go
generated
vendored
Submodule vendor/github.com/ugorji/go updated: 8c0409fcbb...bdcc60b419
2
vendor/google.golang.org/grpc
generated
vendored
2
vendor/google.golang.org/grpc
generated
vendored
Submodule vendor/google.golang.org/grpc updated: b8669c3545...5b3c4e850e
Reference in New Issue
Block a user