Merge branch 'master' of github.com:kubernetes/helm

pull/1670/head
Anton Galitsyn 9 years ago
commit de555b4eb3

@ -32,9 +32,9 @@ Think of it like apt/yum/homebrew for Kubernetes.
Binary downloads of the Helm client can be found at the following links: Binary downloads of the Helm client can be found at the following links:
- [OSX](https://kubernetes-helm.storage.googleapis.com/helm-v2.0.0-darwin-amd64.tar.gz) - [OSX](https://kubernetes-helm.storage.googleapis.com/helm-v2.0.2-darwin-amd64.tar.gz)
- [Linux](https://kubernetes-helm.storage.googleapis.com/helm-v2.0.0-linux-amd64.tar.gz) - [Linux](https://kubernetes-helm.storage.googleapis.com/helm-v2.0.2-linux-amd64.tar.gz)
- [Linux 32-bit](https://kubernetes-helm.storage.googleapis.com/helm-v2.0.0-linux-386.tar.gz) - [Linux 32-bit](https://kubernetes-helm.storage.googleapis.com/helm-v2.0.2-linux-386.tar.gz)
Unpack the `helm` binary and add it to your PATH and you are good to go! OS X/[Cask](https://caskroom.github.io/) users can `brew cask install helm`. Unpack the `helm` binary and add it to your PATH and you are good to go! OS X/[Cask](https://caskroom.github.io/) users can `brew cask install helm`.

@ -24,13 +24,13 @@ import (
func TestVerifyCmd(t *testing.T) { func TestVerifyCmd(t *testing.T) {
stat_exe := "stat" statExe := "stat"
stat_path_msg := "no such file or directory" statPathMsg := "no such file or directory"
stat_file_msg := stat_path_msg statFileMsg := statPathMsg
if runtime.GOOS == "windows" { if runtime.GOOS == "windows" {
stat_exe = "GetFileAttributesEx" statExe = "GetFileAttributesEx"
stat_path_msg = "The system cannot find the path specified." statPathMsg = "The system cannot find the path specified."
stat_file_msg = "The system cannot find the file specified." statFileMsg = "The system cannot find the file specified."
} }
tests := []struct { tests := []struct {
@ -48,7 +48,7 @@ func TestVerifyCmd(t *testing.T) {
{ {
name: "verify requires that chart exists", name: "verify requires that chart exists",
args: []string{"no/such/file"}, args: []string{"no/such/file"},
expect: fmt.Sprintf("%s no/such/file: %s", stat_exe, stat_path_msg), expect: fmt.Sprintf("%s no/such/file: %s", statExe, statPathMsg),
err: true, err: true,
}, },
{ {
@ -60,7 +60,7 @@ func TestVerifyCmd(t *testing.T) {
{ {
name: "verify requires that chart has prov file", name: "verify requires that chart has prov file",
args: []string{"testdata/testcharts/compressedchart-0.1.0.tgz"}, args: []string{"testdata/testcharts/compressedchart-0.1.0.tgz"},
expect: fmt.Sprintf("could not load provenance file testdata/testcharts/compressedchart-0.1.0.tgz.prov: %s testdata/testcharts/compressedchart-0.1.0.tgz.prov: %s", stat_exe, stat_file_msg), expect: fmt.Sprintf("could not load provenance file testdata/testcharts/compressedchart-0.1.0.tgz.prov: %s testdata/testcharts/compressedchart-0.1.0.tgz.prov: %s", statExe, statFileMsg),
err: true, err: true,
}, },
{ {

Loading…
Cancel
Save