Commit 00297088 authored by Helgi Þormar Þorbjörnsson's avatar Helgi Þormar Þorbjörnsson Committed by Matthew Fisher

test and build with golang 1.11 (#4637)

linters were failing with: pkg/urlutil/urlutil_test.go:1::warning: file is not gofmted with -s (gofmt)
Signed-off-by: 's avatarHelgi Þorbjörnsson <helgith@gmail.com>
parent e55cc79d
...@@ -4,7 +4,7 @@ jobs: ...@@ -4,7 +4,7 @@ jobs:
working_directory: /go/src/k8s.io/helm working_directory: /go/src/k8s.io/helm
parallelism: 3 parallelism: 3
docker: docker:
- image: golang:1.10 - image: golang:1.11
environment: environment:
PROJECT_NAME: "kubernetes-helm" PROJECT_NAME: "kubernetes-helm"
steps: steps:
......
DOCKER_REGISTRY ?= gcr.io DOCKER_REGISTRY ?= gcr.io
IMAGE_PREFIX ?= kubernetes-helm IMAGE_PREFIX ?= kubernetes-helm
DEV_IMAGE ?= golang:1.10 DEV_IMAGE ?= golang:1.11
SHORT_NAME ?= tiller SHORT_NAME ?= tiller
SHORT_NAME_RUDDER ?= rudder SHORT_NAME_RUDDER ?= rudder
TARGETS ?= darwin/amd64 linux/amd64 linux/386 linux/arm linux/arm64 linux/ppc64le linux/s390x windows/amd64 TARGETS ?= darwin/amd64 linux/amd64 linux/386 linux/arm linux/arm64 linux/ppc64le linux/s390x windows/amd64
......
...@@ -65,8 +65,8 @@ func TestEqual(t *testing.T) { ...@@ -65,8 +65,8 @@ func TestEqual(t *testing.T) {
func TestExtractHostname(t *testing.T) { func TestExtractHostname(t *testing.T) {
tests := map[string]string{ tests := map[string]string{
"http://example.com": "example.com", "http://example.com": "example.com",
"https://example.com/foo": "example.com", "https://example.com/foo": "example.com",
"https://example.com:31337/not/with/a/bang/but/a/whimper": "example.com", "https://example.com:31337/not/with/a/bang/but/a/whimper": "example.com",
} }
for start, expect := range tests { for start, expect := range tests {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment