Unverified Commit 51f5ae98 authored by Matthew Fisher's avatar Matthew Fisher Committed by GitHub

Merge pull request #6577 from bacongobbler/fixup-6334

upgrade Go to 1.13.1
parents d8d56fe1 935ee90d
......@@ -4,7 +4,7 @@ jobs:
working_directory: /go/src/k8s.io/helm
parallelism: 3
docker:
- image: golang:1.12.5
- image: golang:1.13.1
environment:
PROJECT_NAME: "kubernetes-helm"
steps:
......
DOCKER_REGISTRY ?= gcr.io
IMAGE_PREFIX ?= kubernetes-helm
DEV_IMAGE ?= golang:1.12.5
DEV_IMAGE ?= golang:1.13.1
SHORT_NAME ?= tiller
SHORT_NAME_RUDDER ?= rudder
TARGETS ?= darwin/amd64 linux/amd64 linux/386 linux/arm linux/arm64 linux/ppc64le linux/s390x windows/amd64
......
......@@ -13,6 +13,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by capabilities_default_versions_generate.go; DO NOT EDIT.
package chartutil
func defaultVersions() []string {
......
......@@ -60,7 +60,7 @@ func createOutput(v []string) []byte {
var out bytes.Buffer
fmt.Fprintln(&out, licenseHeader)
fmt.Fprintln(&out, "// Code generated by capabilities_default_versions_generate.go; DO NOT EDIT.")
fmt.Fprint(&out, "// Code generated by capabilities_default_versions_generate.go; DO NOT EDIT.\n\n")
fmt.Fprint(&out, "package chartutil\n\n")
fmt.Fprintln(&out, "func defaultVersions() []string {")
fmt.Fprintln(&out, "\treturn []string{")
......
......@@ -27,7 +27,7 @@ find_files() {
\( -name '*.go' -o -name '*.sh' -o -name 'Dockerfile' \)
}
failed_license_header=($(find_files | xargs grep -L 'Licensed under the Apache License, Version 2.0 (the "License");'))
failed_license_header=($(grep -L 'Licensed under the Apache License, Version 2.0 (the "License");' $(find_files))) || :
if (( ${#failed_license_header[@]} > 0 )); then
echo "Some source files are missing license headers."
for f in "${failed_license_header[@]}"; do
......@@ -36,7 +36,7 @@ if (( ${#failed_license_header[@]} > 0 )); then
exit 1
fi
failed_copyright_header=($(find_files | xargs grep -L 'Copyright The Helm Authors.'))
failed_copyright_header=($(grep -L 'Copyright The Helm Authors.' $(find_files))) || :
if (( ${#failed_copyright_header[@]} > 0 )); then
echo "Some source files are missing the copyright header."
for f in "${failed_copyright_header[@]}"; do
......
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