mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
Move to go1.9.4 with recent security release (#5502)
This commit is contained in:
parent
047b7aff0c
commit
fd3897d0c3
@ -26,4 +26,4 @@ after_success:
|
|||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.9.1
|
- 1.9.4
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.9.2-alpine3.6
|
FROM golang:1.9.4-alpine3.6
|
||||||
|
|
||||||
MAINTAINER Minio Inc <dev@minio.io>
|
MAINTAINER Minio Inc <dev@minio.io>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.9.2-alpine3.6
|
FROM golang:1.9.4-alpine3.6
|
||||||
|
|
||||||
MAINTAINER Minio Inc <dev@minio.io>
|
MAINTAINER Minio Inc <dev@minio.io>
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ _init() {
|
|||||||
|
|
||||||
## Minimum required versions for build dependencies
|
## Minimum required versions for build dependencies
|
||||||
GIT_VERSION="1.0"
|
GIT_VERSION="1.0"
|
||||||
GO_VERSION="1.9.1"
|
GO_VERSION="1.9.4"
|
||||||
OSX_VERSION="10.8"
|
OSX_VERSION="10.8"
|
||||||
KNAME=$(uname -s)
|
KNAME=$(uname -s)
|
||||||
ARCH=$(uname -m)
|
ARCH=$(uname -m)
|
||||||
|
4
main.go
4
main.go
@ -36,8 +36,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// Minio requires at least Go v1.9.1
|
// Minio requires at least Go v1.9.4
|
||||||
minGoVersion = "1.9.1"
|
minGoVersion = "1.9.4"
|
||||||
goVersionConstraint = ">= " + minGoVersion
|
goVersionConstraint = ">= " + minGoVersion
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -28,9 +28,9 @@ func TestCheckGoVersion(t *testing.T) {
|
|||||||
expectedErr error
|
expectedErr error
|
||||||
}{
|
}{
|
||||||
{minGoVersion, nil},
|
{minGoVersion, nil},
|
||||||
{"1.6.8", fmt.Errorf("Minio is not compiled by Go >= 1.9.1. Please recompile accordingly")},
|
{"1.6.8", fmt.Errorf("Minio is not compiled by Go >= 1.9.4. Please recompile accordingly")},
|
||||||
{"1.5", fmt.Errorf("Minio is not compiled by Go >= 1.9.1. Please recompile accordingly")},
|
{"1.5", fmt.Errorf("Minio is not compiled by Go >= 1.9.4. Please recompile accordingly")},
|
||||||
{"0.1", fmt.Errorf("Minio is not compiled by Go >= 1.9.1. Please recompile accordingly")},
|
{"0.1", fmt.Errorf("Minio is not compiled by Go >= 1.9.4. Please recompile accordingly")},
|
||||||
{".1", fmt.Errorf("Malformed version: .1")},
|
{".1", fmt.Errorf("Malformed version: .1")},
|
||||||
{"somejunk", fmt.Errorf("Malformed version: somejunk")},
|
{"somejunk", fmt.Errorf("Malformed version: somejunk")},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user