Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
083d2ab6
Commit
083d2ab6
authored
Feb 09, 2017
by
Larry Rensing
Committed by
GitHub
Feb 09, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into feat/list-namespaces
parents
8cb93192
ed7bb419
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
445 additions
and
194 deletions
+445
-194
Makefile
Makefile
+1
-1
release.proto
_proto/hapi/release/release.proto
+0
-4
status.proto
_proto/hapi/release/status.proto
+5
-0
dependency_update.go
cmd/helm/dependency_update.go
+6
-1
dependency_update_test.go
cmd/helm/dependency_update_test.go
+33
-1
manager.go
cmd/helm/downloader/manager.go
+39
-0
helm.go
cmd/helm/helm.go
+9
-1
status.go
cmd/helm/status.go
+27
-0
status_test.go
cmd/helm/status_test.go
+149
-0
portforwarder.go
pkg/helm/portforwarder/portforwarder.go
+4
-10
portforwarder_test.go
pkg/helm/portforwarder/portforwarder_test.go
+1
-1
chart.pb.go
pkg/proto/hapi/chart/chart.pb.go
+16
-17
config.pb.go
pkg/proto/hapi/chart/config.pb.go
+6
-6
metadata.pb.go
pkg/proto/hapi/chart/metadata.pb.go
+19
-20
template.pb.go
pkg/proto/hapi/chart/template.pb.go
+4
-4
hook.pb.go
pkg/proto/hapi/release/hook.pb.go
+23
-23
info.pb.go
pkg/proto/hapi/release/info.pb.go
+17
-17
release.pb.go
pkg/proto/hapi/release/release.pb.go
+17
-29
status.pb.go
pkg/proto/hapi/release/status.pb.go
+28
-17
test_run.pb.go
pkg/proto/hapi/release/test_run.pb.go
+18
-18
test_suite.pb.go
pkg/proto/hapi/release/test_suite.pb.go
+14
-14
tiller.pb.go
pkg/proto/hapi/services/tiller.pb.go
+0
-0
version.pb.go
pkg/proto/hapi/version/version.pb.go
+7
-8
release_server.go
pkg/tiller/release_server.go
+2
-2
No files found.
Makefile
View file @
083d2ab6
DOCKER_REGISTRY
?=
gcr.io
DOCKER_REGISTRY
?=
gcr.io
IMAGE_PREFIX
?=
kubernetes-helm
IMAGE_PREFIX
?=
kubernetes-helm
SHORT_NAME
?=
tiller
SHORT_NAME
?=
tiller
TARGETS
=
darwin/amd64 linux/amd64 linux/386 linux/arm linux/arm64 windows/amd64
TARGETS
=
darwin/amd64 linux/amd64 linux/386 linux/arm linux/arm64
linux/ppc64le
windows/amd64
DIST_DIRS
=
find
*
-type
d
-exec
DIST_DIRS
=
find
*
-type
d
-exec
APP
=
helm
APP
=
helm
...
...
_proto/hapi/release/release.proto
View file @
083d2ab6
...
@@ -18,7 +18,6 @@ package hapi.release;
...
@@ -18,7 +18,6 @@ package hapi.release;
import
"hapi/release/hook.proto"
;
import
"hapi/release/hook.proto"
;
import
"hapi/release/info.proto"
;
import
"hapi/release/info.proto"
;
import
"hapi/release/test_suite.proto"
;
import
"hapi/chart/config.proto"
;
import
"hapi/chart/config.proto"
;
import
"hapi/chart/chart.proto"
;
import
"hapi/chart/chart.proto"
;
...
@@ -51,7 +50,4 @@ message Release {
...
@@ -51,7 +50,4 @@ message Release {
// Namespace is the kubernetes namespace of the release.
// Namespace is the kubernetes namespace of the release.
string
namespace
=
8
;
string
namespace
=
8
;
// LastTestSuiteRun provides results on the last test run on a release
hapi.release.TestSuite
last_test_suite_run
=
9
;
}
}
_proto/hapi/release/status.proto
View file @
083d2ab6
...
@@ -16,6 +16,8 @@ syntax = "proto3";
...
@@ -16,6 +16,8 @@ syntax = "proto3";
package
hapi
.
release
;
package
hapi
.
release
;
import
"hapi/release/test_suite.proto"
;
import
"google/protobuf/any.proto"
;
import
"google/protobuf/any.proto"
;
option
go_package
=
"release"
;
option
go_package
=
"release"
;
...
@@ -47,4 +49,7 @@ message Status {
...
@@ -47,4 +49,7 @@ message Status {
// Contains the rendered templates/NOTES.txt if available
// Contains the rendered templates/NOTES.txt if available
string
notes
=
4
;
string
notes
=
4
;
// LastTestSuiteRun provides results on the last test run on a release
hapi.release.TestSuite
last_test_suite_run
=
5
;
}
}
cmd/helm/dependency_update.go
View file @
083d2ab6
...
@@ -28,10 +28,15 @@ const dependencyUpDesc = `
...
@@ -28,10 +28,15 @@ const dependencyUpDesc = `
Update the on-disk dependencies to mirror the requirements.yaml file.
Update the on-disk dependencies to mirror the requirements.yaml file.
This command verifies that the required charts, as expressed in 'requirements.yaml',
This command verifies that the required charts, as expressed in 'requirements.yaml',
are present in 'charts/' and are at an acceptable version.
are present in 'charts/' and are at an acceptable version. It will pull down
the latest charts that satisfy the dependencies, and clean up old dependencies.
On successful update, this will generate a lock file that can be used to
On successful update, this will generate a lock file that can be used to
rebuild the requirements to an exact version.
rebuild the requirements to an exact version.
Dependencies are not required to be represented in 'requirements.yaml'. For that
reason, an update command will not remove charts unless they are (a) present
in the requirements.yaml file, but (b) at the wrong version.
`
`
// dependencyUpdateCmd describes a 'helm dependency update'
// dependencyUpdateCmd describes a 'helm dependency update'
...
...
cmd/helm/dependency_update_test.go
View file @
083d2ab6
...
@@ -98,7 +98,34 @@ func TestDependencyUpdateCmd(t *testing.T) {
...
@@ -98,7 +98,34 @@ func TestDependencyUpdateCmd(t *testing.T) {
t
.
Errorf
(
"Failed hash match: expected %s, got %s"
,
hash
,
h
)
t
.
Errorf
(
"Failed hash match: expected %s, got %s"
,
hash
,
h
)
}
}
t
.
Logf
(
"Results: %s"
,
out
.
String
())
// Now change the dependencies and update. This verifies that on update,
// old dependencies are cleansed and new dependencies are added.
reqfile
:=
&
chartutil
.
Requirements
{
Dependencies
:
[]
*
chartutil
.
Dependency
{
{
Name
:
"reqtest"
,
Version
:
"0.1.0"
,
Repository
:
srv
.
URL
()},
{
Name
:
"compressedchart"
,
Version
:
"0.3.0"
,
Repository
:
srv
.
URL
()},
},
}
dir
:=
filepath
.
Join
(
hh
,
chartname
)
if
err
:=
writeRequirements
(
dir
,
reqfile
);
err
!=
nil
{
t
.
Fatal
(
err
)
}
if
err
:=
duc
.
run
();
err
!=
nil
{
output
:=
out
.
String
()
t
.
Logf
(
"Output: %s"
,
output
)
t
.
Fatal
(
err
)
}
// In this second run, we should see compressedchart-0.3.0.tgz, and not
// the 0.1.0 version.
expect
=
filepath
.
Join
(
hh
,
chartname
,
"charts/compressedchart-0.3.0.tgz"
)
if
_
,
err
:=
os
.
Stat
(
expect
);
err
!=
nil
{
t
.
Fatalf
(
"Expected %q: %s"
,
expect
,
err
)
}
dontExpect
:=
filepath
.
Join
(
hh
,
chartname
,
"charts/compressedchart-0.1.0.tgz"
)
if
_
,
err
:=
os
.
Stat
(
dontExpect
);
err
==
nil
{
t
.
Fatalf
(
"Unexpected %q"
,
dontExpect
)
}
}
}
// createTestingChart creates a basic chart that depends on reqtest-0.1.0
// createTestingChart creates a basic chart that depends on reqtest-0.1.0
...
@@ -117,8 +144,13 @@ func createTestingChart(dest, name, baseURL string) error {
...
@@ -117,8 +144,13 @@ func createTestingChart(dest, name, baseURL string) error {
req
:=
&
chartutil
.
Requirements
{
req
:=
&
chartutil
.
Requirements
{
Dependencies
:
[]
*
chartutil
.
Dependency
{
Dependencies
:
[]
*
chartutil
.
Dependency
{
{
Name
:
"reqtest"
,
Version
:
"0.1.0"
,
Repository
:
baseURL
},
{
Name
:
"reqtest"
,
Version
:
"0.1.0"
,
Repository
:
baseURL
},
{
Name
:
"compressedchart"
,
Version
:
"0.1.0"
,
Repository
:
baseURL
},
},
},
}
}
return
writeRequirements
(
dir
,
req
)
}
func
writeRequirements
(
dir
string
,
req
*
chartutil
.
Requirements
)
error
{
data
,
err
:=
yaml
.
Marshal
(
req
)
data
,
err
:=
yaml
.
Marshal
(
req
)
if
err
!=
nil
{
if
err
!=
nil
{
return
err
return
err
...
...
cmd/helm/downloader/manager.go
View file @
083d2ab6
...
@@ -169,6 +169,9 @@ func (m *Manager) resolve(req *chartutil.Requirements, repoNames map[string]stri
...
@@ -169,6 +169,9 @@ func (m *Manager) resolve(req *chartutil.Requirements, repoNames map[string]stri
}
}
// downloadAll takes a list of dependencies and downloads them into charts/
// downloadAll takes a list of dependencies and downloads them into charts/
//
// It will delete versions of the chart that exist on disk and might cause
// a conflict.
func
(
m
*
Manager
)
downloadAll
(
deps
[]
*
chartutil
.
Dependency
)
error
{
func
(
m
*
Manager
)
downloadAll
(
deps
[]
*
chartutil
.
Dependency
)
error
{
repos
,
err
:=
m
.
loadChartRepositories
()
repos
,
err
:=
m
.
loadChartRepositories
()
if
err
!=
nil
{
if
err
!=
nil
{
...
@@ -195,6 +198,9 @@ func (m *Manager) downloadAll(deps []*chartutil.Dependency) error {
...
@@ -195,6 +198,9 @@ func (m *Manager) downloadAll(deps []*chartutil.Dependency) error {
fmt
.
Fprintf
(
m
.
Out
,
"Saving %d charts
\n
"
,
len
(
deps
))
fmt
.
Fprintf
(
m
.
Out
,
"Saving %d charts
\n
"
,
len
(
deps
))
for
_
,
dep
:=
range
deps
{
for
_
,
dep
:=
range
deps
{
if
err
:=
m
.
safeDeleteDep
(
dep
.
Name
,
destPath
);
err
!=
nil
{
return
err
}
fmt
.
Fprintf
(
m
.
Out
,
"Downloading %s from repo %s
\n
"
,
dep
.
Name
,
dep
.
Repository
)
fmt
.
Fprintf
(
m
.
Out
,
"Downloading %s from repo %s
\n
"
,
dep
.
Name
,
dep
.
Repository
)
// Any failure to resolve/download a chart should fail:
// Any failure to resolve/download a chart should fail:
...
@@ -211,6 +217,39 @@ func (m *Manager) downloadAll(deps []*chartutil.Dependency) error {
...
@@ -211,6 +217,39 @@ func (m *Manager) downloadAll(deps []*chartutil.Dependency) error {
return
nil
return
nil
}
}
// safeDeleteDep deletes any versions of the given dependency in the given directory.
//
// It does this by first matching the file name to an expected pattern, then loading
// the file to verify that it is a chart with the same name as the given name.
//
// Because it requires tar file introspection, it is more intensive than a basic delete.
//
// This will only return errors that should stop processing entirely. Other errors
// will emit log messages or be ignored.
func
(
m
*
Manager
)
safeDeleteDep
(
name
,
dir
string
)
error
{
files
,
err
:=
filepath
.
Glob
(
filepath
.
Join
(
dir
,
name
+
"-*.tgz"
))
if
err
!=
nil
{
// Only for ErrBadPattern
return
err
}
for
_
,
fname
:=
range
files
{
ch
,
err
:=
chartutil
.
LoadFile
(
fname
)
if
err
!=
nil
{
fmt
.
Fprintf
(
m
.
Out
,
"Could not verify %s for deletion: %s (Skipping)"
,
fname
,
err
)
continue
}
if
ch
.
Metadata
.
Name
!=
name
{
// This is not the file you are looking for.
continue
}
if
err
:=
os
.
Remove
(
fname
);
err
!=
nil
{
fmt
.
Fprintf
(
m
.
Out
,
"Could not delete %s: %s (Skipping)"
,
fname
,
err
)
continue
}
}
return
nil
}
// hasAllRepos ensures that all of the referenced deps are in the local repo cache.
// hasAllRepos ensures that all of the referenced deps are in the local repo cache.
func
(
m
*
Manager
)
hasAllRepos
(
deps
[]
*
chartutil
.
Dependency
)
error
{
func
(
m
*
Manager
)
hasAllRepos
(
deps
[]
*
chartutil
.
Dependency
)
error
{
rf
,
err
:=
repo
.
LoadRepositoriesFile
(
m
.
HelmHome
.
RepositoryFile
())
rf
,
err
:=
repo
.
LoadRepositoriesFile
(
m
.
HelmHome
.
RepositoryFile
())
...
...
cmd/helm/helm.go
View file @
083d2ab6
...
@@ -33,6 +33,7 @@ import (
...
@@ -33,6 +33,7 @@ import (
"k8s.io/kubernetes/pkg/client/restclient"
"k8s.io/kubernetes/pkg/client/restclient"
"k8s.io/helm/cmd/helm/helmpath"
"k8s.io/helm/cmd/helm/helmpath"
"k8s.io/helm/pkg/helm/portforwarder"
"k8s.io/helm/pkg/kube"
"k8s.io/helm/pkg/kube"
"k8s.io/helm/pkg/tiller/environment"
"k8s.io/helm/pkg/tiller/environment"
)
)
...
@@ -49,6 +50,8 @@ var (
...
@@ -49,6 +50,8 @@ var (
tillerHost
string
tillerHost
string
tillerNamespace
string
tillerNamespace
string
kubeContext
string
kubeContext
string
// TODO refactor out this global var
tillerTunnel
*
kube
.
Tunnel
)
)
// flagDebug is a signal that the user wants additional output.
// flagDebug is a signal that the user wants additional output.
...
@@ -156,7 +159,12 @@ func markDeprecated(cmd *cobra.Command, notice string) *cobra.Command {
...
@@ -156,7 +159,12 @@ func markDeprecated(cmd *cobra.Command, notice string) *cobra.Command {
func
setupConnection
(
c
*
cobra
.
Command
,
args
[]
string
)
error
{
func
setupConnection
(
c
*
cobra
.
Command
,
args
[]
string
)
error
{
if
tillerHost
==
""
{
if
tillerHost
==
""
{
tunnel
,
err
:=
newTillerPortForwarder
(
tillerNamespace
,
kubeContext
)
config
,
client
,
err
:=
getKubeClient
(
kubeContext
)
if
err
!=
nil
{
return
err
}
tunnel
,
err
:=
portforwarder
.
New
(
tillerNamespace
,
client
,
config
)
if
err
!=
nil
{
if
err
!=
nil
{
return
err
return
err
}
}
...
...
cmd/helm/status.go
View file @
083d2ab6
...
@@ -22,9 +22,12 @@ import (
...
@@ -22,9 +22,12 @@ import (
"regexp"
"regexp"
"text/tabwriter"
"text/tabwriter"
"github.com/gosuri/uitable"
"github.com/gosuri/uitable/util/strutil"
"github.com/spf13/cobra"
"github.com/spf13/cobra"
"k8s.io/helm/pkg/helm"
"k8s.io/helm/pkg/helm"
"k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services"
"k8s.io/helm/pkg/proto/hapi/services"
"k8s.io/helm/pkg/timeconv"
"k8s.io/helm/pkg/timeconv"
)
)
...
@@ -36,6 +39,7 @@ The status consists of:
...
@@ -36,6 +39,7 @@ The status consists of:
- k8s namespace in which the release lives
- k8s namespace in which the release lives
- state of the release (can be: UNKNOWN, DEPLOYED, DELETED, SUPERSEDED, FAILED or DELETING)
- state of the release (can be: UNKNOWN, DEPLOYED, DELETED, SUPERSEDED, FAILED or DELETING)
- list of resources that this release consists of, sorted by kind
- list of resources that this release consists of, sorted by kind
- details on last test suite run, if applicable
- additional notes provided by the chart
- additional notes provided by the chart
`
`
...
@@ -100,8 +104,31 @@ func PrintStatus(out io.Writer, res *services.GetReleaseStatusResponse) {
...
@@ -100,8 +104,31 @@ func PrintStatus(out io.Writer, res *services.GetReleaseStatusResponse) {
fmt
.
Fprintf
(
w
,
"RESOURCES:
\n
%s
\n
"
,
re
.
ReplaceAllString
(
res
.
Info
.
Status
.
Resources
,
"
\t
"
))
fmt
.
Fprintf
(
w
,
"RESOURCES:
\n
%s
\n
"
,
re
.
ReplaceAllString
(
res
.
Info
.
Status
.
Resources
,
"
\t
"
))
w
.
Flush
()
w
.
Flush
()
}
}
if
res
.
Info
.
Status
.
LastTestSuiteRun
!=
nil
{
lastRun
:=
res
.
Info
.
Status
.
LastTestSuiteRun
fmt
.
Fprintf
(
out
,
"TEST SUITE:
\n
%s
\n
%s
\n\n
%s
\n
"
,
fmt
.
Sprintf
(
"Last Started: %s"
,
timeconv
.
String
(
lastRun
.
StartedAt
)),
fmt
.
Sprintf
(
"Last Completed: %s"
,
timeconv
.
String
(
lastRun
.
CompletedAt
)),
formatTestResults
(
lastRun
.
Results
))
}
if
len
(
res
.
Info
.
Status
.
Notes
)
>
0
{
if
len
(
res
.
Info
.
Status
.
Notes
)
>
0
{
fmt
.
Fprintf
(
out
,
"NOTES:
\n
%s
\n
"
,
res
.
Info
.
Status
.
Notes
)
fmt
.
Fprintf
(
out
,
"NOTES:
\n
%s
\n
"
,
res
.
Info
.
Status
.
Notes
)
}
}
}
}
func
formatTestResults
(
results
[]
*
release
.
TestRun
)
string
{
tbl
:=
uitable
.
New
()
tbl
.
MaxColWidth
=
50
tbl
.
AddRow
(
"TEST"
,
"STATUS"
,
"INFO"
,
"STARTED"
,
"COMPLETED"
)
for
i
:=
0
;
i
<
len
(
results
);
i
++
{
r
:=
results
[
i
]
n
:=
r
.
Name
s
:=
strutil
.
PadRight
(
r
.
Status
.
String
(),
10
,
' '
)
i
:=
r
.
Info
ts
:=
timeconv
.
String
(
r
.
StartedAt
)
tc
:=
timeconv
.
String
(
r
.
CompletedAt
)
tbl
.
AddRow
(
n
,
s
,
i
,
ts
,
tc
)
}
return
tbl
.
String
()
}
cmd/helm/status_test.go
0 → 100644
View file @
083d2ab6
/*
Copyright 2017 The Kubernetes Authors All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
main
import
(
"bytes"
"fmt"
"io"
"strings"
"testing"
"github.com/golang/protobuf/ptypes/timestamp"
"github.com/spf13/cobra"
"k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/timeconv"
)
var
(
date
=
timestamp
.
Timestamp
{
Seconds
:
242085845
,
Nanos
:
0
}
dateString
=
timeconv
.
String
(
&
date
)
)
// statusCase describes a test case dealing with the status of a release
type
statusCase
struct
{
name
string
args
[]
string
flags
[]
string
expected
string
err
bool
rel
*
release
.
Release
}
func
TestStatusCmd
(
t
*
testing
.
T
)
{
tests
:=
[]
statusCase
{
{
name
:
"get status of a deployed release"
,
args
:
[]
string
{
"flummoxed-chickadee"
},
expected
:
outputWithStatus
(
"DEPLOYED
\n\n
"
),
rel
:
releaseMockWithStatus
(
&
release
.
Status
{
Code
:
release
.
Status_DEPLOYED
,
}),
},
{
name
:
"get status of a deployed release with notes"
,
args
:
[]
string
{
"flummoxed-chickadee"
},
expected
:
outputWithStatus
(
"DEPLOYED
\n\n
NOTES:
\n
release notes
\n
"
),
rel
:
releaseMockWithStatus
(
&
release
.
Status
{
Code
:
release
.
Status_DEPLOYED
,
Notes
:
"release notes"
,
}),
},
{
name
:
"get status of a deployed release with resources"
,
args
:
[]
string
{
"flummoxed-chickadee"
},
expected
:
outputWithStatus
(
"DEPLOYED
\n\n
RESOURCES:
\n
resource A
\n
resource B
\n\n
"
),
rel
:
releaseMockWithStatus
(
&
release
.
Status
{
Code
:
release
.
Status_DEPLOYED
,
Resources
:
"resource A
\n
resource B
\n
"
,
}),
},
{
name
:
"get status of a deployed release with test suite"
,
args
:
[]
string
{
"flummoxed-chickadee"
},
expected
:
outputWithStatus
(
fmt
.
Sprintf
(
"DEPLOYED
\n\n
TEST SUITE:
\n
Last Started: %s
\n
Last Completed: %s
\n\n
"
,
dateString
,
dateString
)
+
fmt
.
Sprint
(
"TEST
\t
STATUS
\t
INFO
\t
STARTED
\t
COMPLETED
\n
"
)
+
fmt
.
Sprintf
(
"test run 1
\t
SUCCESS
\t
extra info
\t
%s
\t
%s
\n
"
,
dateString
,
dateString
)
+
fmt
.
Sprintf
(
"test run 2
\t
FAILURE
\t
\t
%s
\t
%s
\n
"
,
dateString
,
dateString
)),
rel
:
releaseMockWithStatus
(
&
release
.
Status
{
Code
:
release
.
Status_DEPLOYED
,
LastTestSuiteRun
:
&
release
.
TestSuite
{
StartedAt
:
&
date
,
CompletedAt
:
&
date
,
Results
:
[]
*
release
.
TestRun
{
{
Name
:
"test run 1"
,
Status
:
release
.
TestRun_SUCCESS
,
Info
:
"extra info"
,
StartedAt
:
&
date
,
CompletedAt
:
&
date
,
},
{
Name
:
"test run 2"
,
Status
:
release
.
TestRun_FAILURE
,
StartedAt
:
&
date
,
CompletedAt
:
&
date
,
},
},
},
}),
},
}
scmd
:=
func
(
c
*
fakeReleaseClient
,
out
io
.
Writer
)
*
cobra
.
Command
{
return
newStatusCmd
(
c
,
out
)
}
var
buf
bytes
.
Buffer
for
_
,
tt
:=
range
tests
{
c
:=
&
fakeReleaseClient
{
rels
:
[]
*
release
.
Release
{
tt
.
rel
},
}
cmd
:=
scmd
(
c
,
&
buf
)
cmd
.
ParseFlags
(
tt
.
flags
)
err
:=
cmd
.
RunE
(
cmd
,
tt
.
args
)
if
(
err
!=
nil
)
!=
tt
.
err
{
t
.
Errorf
(
"%q. expected error, got '%v'"
,
tt
.
name
,
err
)
}
expected
:=
strings
.
Replace
(
tt
.
expected
,
" "
,
""
,
-
1
)
got
:=
strings
.
Replace
(
buf
.
String
(),
" "
,
""
,
-
1
)
if
expected
!=
got
{
t
.
Errorf
(
"%q. expected
\n
%q
\n
got
\n
%q"
,
tt
.
name
,
expected
,
got
)
}
buf
.
Reset
()
}
}
func
outputWithStatus
(
status
string
)
string
{
return
fmt
.
Sprintf
(
"LAST DEPLOYED: %s
\n
NAMESPACE:
\n
STATUS: %s"
,
dateString
,
status
)
}
func
releaseMockWithStatus
(
status
*
release
.
Status
)
*
release
.
Release
{
return
&
release
.
Release
{
Name
:
"flummoxed-chickadee"
,
Info
:
&
release
.
Info
{
FirstDeployed
:
&
date
,
LastDeployed
:
&
date
,
Status
:
status
,
},
}
}
cmd/helm/tunnel
.go
→
pkg/helm/portforwarder/portforwarder
.go
View file @
083d2ab6
...
@@ -14,27 +14,21 @@ See the License for the specific language governing permissions and
...
@@ -14,27 +14,21 @@ See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
*/
*/
package
main
package
portforwarder
import
(
import
(
"fmt"
"fmt"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset"
"k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/core/internalversion"
"k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/core/internalversion"
"k8s.io/kubernetes/pkg/client/restclient"
"k8s.io/kubernetes/pkg/labels"
"k8s.io/kubernetes/pkg/labels"
"k8s.io/helm/pkg/kube"
"k8s.io/helm/pkg/kube"
)
)
// TODO refactor out this global var
func
New
(
namespace
string
,
client
*
internalclientset
.
Clientset
,
config
*
restclient
.
Config
)
(
*
kube
.
Tunnel
,
error
)
{
var
tillerTunnel
*
kube
.
Tunnel
func
newTillerPortForwarder
(
namespace
,
context
string
)
(
*
kube
.
Tunnel
,
error
)
{
config
,
client
,
err
:=
getKubeClient
(
context
)
if
err
!=
nil
{
return
nil
,
err
}
podName
,
err
:=
getTillerPodName
(
client
.
Core
(),
namespace
)
podName
,
err
:=
getTillerPodName
(
client
.
Core
(),
namespace
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
...
...
cmd/helm/tunnel
_test.go
→
pkg/helm/portforwarder/portforwarder
_test.go
View file @
083d2ab6
...
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
...
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
*/
*/
package
main
package
portforwarder
import
(
import
(
"testing"
"testing"
...
...
pkg/proto/hapi/chart/chart.pb.go
View file @
083d2ab6
...
@@ -100,21 +100,20 @@ func init() {
...
@@ -100,21 +100,20 @@ func init() {
func
init
()
{
proto
.
RegisterFile
(
"hapi/chart/chart.proto"
,
fileDescriptor0
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/chart/chart.proto"
,
fileDescriptor0
)
}
var
fileDescriptor0
=
[]
byte
{
var
fileDescriptor0
=
[]
byte
{
// 242 bytes of a gzipped FileDescriptorProto
// 239 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0x6c
,
0x90
,
0xb1
,
0x4e
,
0xc3
,
0x30
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0xe2
,
0x12
,
0xcb
,
0x48
,
0x2c
,
0xc8
,
0x10
,
0x86
,
0x15
,
0x4a
,
0x0a
,
0x1c
,
0x2c
,
0x58
,
0x08
,
0x4c
,
0xa7
,
0x8a
,
0x09
,
0x75
,
0x70
,
0x50
,
0xd4
,
0x4f
,
0xce
,
0x48
,
0x2c
,
0x2a
,
0x81
,
0x90
,
0x7a
,
0x05
,
0x45
,
0xf9
,
0x25
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
,
0x10
,
0x8a
,
0x06
,
0x70
,
0x08
,
0x05
,
0x41
,
0x55
,
0x00
,
0xd5
,
0xb9
,
0x9a
,
0x18
,
0x04
,
0xf8
,
0x0f
,
0xe9
,
0x68
,
0x88
,
0x19
,
0xe4
,
0x55
,
0xd3
,
0x92
,
0x93
,
0x79
,
0xb2
,
0xa6
,
0x65
,
0xe6
,
0x00
,
0x95
,
0xb2
,
0x42
,
0x9d
,
0x04
,
0xf1
,
0xbd
,
0x1e
,
0xcc
,
0xf7
,
0x7a
,
0xac
,
0x14
,
0xae
,
0x57
,
0xe9
,
0x7a
,
0xf5
,
0x6a
,
0x76
,
0x3a
,
0x28
,
0x6f
,
0x67
,
0x5f
,
0x39
,
0xef
,
0x8e
,
0x79
,
0x95
,
0x41
,
0x10
,
0x25
,
0x4e
,
0xec
,
0x51
,
0xac
,
0x60
,
0x33
,
0x92
,
0xd8
,
0xc0
,
0xb2
,
0x58
,
0x8c
,
0x99
,
0x3e
,
0xff
,
0x06
,
0x00
,
0x00
,
0xff
,
0xff
,
0xe9
,
0x70
,
0x34
,
0x75
,
0x9e
,
0x01
,
0xc6
,
0x80
,
0x00
,
0x00
,
0x00
,
0xff
,
0xff
,
0xe9
,
0x70
,
0x34
,
0x75
,
0x9e
,
0x01
,
0x00
,
0x00
,
0x00
,
0x00
,
}
}
pkg/proto/hapi/chart/config.pb.go
View file @
083d2ab6
...
@@ -49,7 +49,7 @@ func init() {
...
@@ -49,7 +49,7 @@ func init() {
func
init
()
{
proto
.
RegisterFile
(
"hapi/chart/config.proto"
,
fileDescriptor1
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/chart/config.proto"
,
fileDescriptor1
)
}
var
fileDescriptor1
=
[]
byte
{
var
fileDescriptor1
=
[]
byte
{
// 1
82
bytes of a gzipped FileDescriptorProto
// 1
79
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0xe2
,
0x12
,
0xcf
,
0x48
,
0x2c
,
0xc8
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0xe2
,
0x12
,
0xcf
,
0x48
,
0x2c
,
0xc8
,
0xd4
,
0x4f
,
0xce
,
0x48
,
0x2c
,
0x2a
,
0xd1
,
0x4f
,
0xce
,
0xcf
,
0x4b
,
0xcb
,
0x4c
,
0xd7
,
0x2b
,
0x28
,
0xd4
,
0x4f
,
0xce
,
0x48
,
0x2c
,
0x2a
,
0xd1
,
0x4f
,
0xce
,
0xcf
,
0x4b
,
0xcb
,
0x4c
,
0xd7
,
0x2b
,
0x28
,
0xca
,
0x2f
,
0xc9
,
0x17
,
0xe2
,
0x02
,
0x49
,
0xe8
,
0x81
,
0x25
,
0x94
,
0x16
,
0x30
,
0x72
,
0xb1
,
0x39
,
0xca
,
0x2f
,
0xc9
,
0x17
,
0xe2
,
0x02
,
0x49
,
0xe8
,
0x81
,
0x25
,
0x94
,
0x16
,
0x30
,
0x72
,
0xb1
,
0x39
,
...
@@ -57,9 +57,9 @@ var fileDescriptor1 = []byte{
...
@@ -57,9 +57,9 @@ var fileDescriptor1 = []byte{
0x40
,
0x4c
,
0x21
,
0x33
,
0x2e
,
0xb6
,
0xb2
,
0xc4
,
0x9c
,
0xd2
,
0xd4
,
0x62
,
0x09
,
0x26
,
0x05
,
0x66
,
0x40
,
0x4c
,
0x21
,
0x33
,
0x2e
,
0xb6
,
0xb2
,
0xc4
,
0x9c
,
0xd2
,
0xd4
,
0x62
,
0x09
,
0x26
,
0x05
,
0x66
,
0x0d
,
0x6e
,
0x23
,
0x39
,
0x3d
,
0x84
,
0x4e
,
0x3d
,
0x88
,
0x2e
,
0xbd
,
0x30
,
0xb0
,
0x02
,
0xd7
,
0xbc
,
0x0d
,
0x6e
,
0x23
,
0x39
,
0x3d
,
0x84
,
0x4e
,
0x3d
,
0x88
,
0x2e
,
0xbd
,
0x30
,
0xb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e1
,
0x12
,
0x60
,
0xda
,
0xf8
,
0x
60
,
0xda
,
0xf8
,
0x
00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
}
}
pkg/proto/hapi/chart/metadata.pb.go
View file @
083d2ab6
...
@@ -94,24 +94,23 @@ func init() {
...
@@ -94,24 +94,23 @@ func init() {
func
init
()
{
proto
.
RegisterFile
(
"hapi/chart/metadata.proto"
,
fileDescriptor2
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/chart/metadata.proto"
,
fileDescriptor2
)
}
var
fileDescriptor2
=
[]
byte
{
var
fileDescriptor2
=
[]
byte
{
// 290 bytes of a gzipped FileDescriptorProto
// 287 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0x6c
,
0x91
,
0x4d
,
0x4b
,
0xf4
,
0x30
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0x6c
,
0x51
,
0x4b
,
0x4b
,
0xc4
,
0x30
,
0x14
,
0x85
,
0xdf
,
0x4e
,
0xbf
,
0x6f
,
0x37
,
0xc3
,
0xe5
,
0x65
,
0x88
,
0x2e
,
0xa4
,
0x74
,
0xd5
,
0x55
,
0x10
,
0x76
,
0x1f
,
0x6d
,
0xb7
,
0xd3
,
0xcb
,
0x32
,
0xc8
,
0x12
,
0x3d
,
0x48
,
0xe9
,
0xc9
,
0x53
,
0x17
,
0x07
,
0x14
,
0xc4
,
0xb5
,
0x20
,
0x2e
,
0x74
,
0x3a
,
0x52
,
0xfc
,
0x00
,
0x77
,
0xb1
,
0x0d
,
0x36
,
0x68
,
0x14
,
0xc4
,
0xb3
,
0x20
,
0x1e
,
0x74
,
0xbb
,
0xb2
,
0xf8
,
0x00
,
0x6f
,
0xb1
,
0x0d
,
0x36
,
0x68
,
0x9b
,
0x93
,
0x92
,
0x44
,
0xc5
,
0xff
,
0xe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,
0x01
,
0x00
,
0x00
,
0x00
,
0x00
,
}
}
pkg/proto/hapi/chart/template.pb.go
View file @
083d2ab6
...
@@ -36,12 +36,12 @@ func init() {
...
@@ -36,12 +36,12 @@ func init() {
func
init
()
{
proto
.
RegisterFile
(
"hapi/chart/template.proto"
,
fileDescriptor3
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/chart/template.proto"
,
fileDescriptor3
)
}
var
fileDescriptor3
=
[]
byte
{
var
fileDescriptor3
=
[]
byte
{
// 10
7
bytes of a gzipped FileDescriptorProto
// 10
6
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0xe2
,
0x92
,
0xcc
,
0x48
,
0x2c
,
0xc8
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0xe2
,
0x92
,
0xcc
,
0x48
,
0x2c
,
0xc8
,
0xd4
,
0x4f
,
0xce
,
0x48
,
0x2c
,
0x2a
,
0xd1
,
0x2f
,
0x49
,
0xcd
,
0x2d
,
0xc8
,
0x49
,
0x2c
,
0x49
,
0xd5
,
0xd4
,
0x4f
,
0xce
,
0x48
,
0x2c
,
0x2a
,
0xd1
,
0x2f
,
0x49
,
0xcd
,
0x2d
,
0xc8
,
0x49
,
0x2c
,
0x49
,
0xd5
,
0x2b
,
0x28
,
0xca
,
0x2f
,
0xc9
,
0x17
,
0xe2
,
0x02
,
0x49
,
0xe9
,
0x81
,
0xa5
,
0x94
,
0x8c
,
0xb8
,
0x38
,
0x2b
,
0x28
,
0xca
,
0x2f
,
0xc9
,
0x17
,
0xe2
,
0x02
,
0x49
,
0xe9
,
0x81
,
0xa5
,
0x94
,
0x8c
,
0xb8
,
0x38
,
0x42
,
0xa0
,
0xb2
,
0x42
,
0x42
,
0x5c
,
0x2c
,
0x79
,
0x89
,
0xb9
,
0xa9
,
0x12
,
0x8c
,
0x0a
,
0x8c
,
0x1a
,
0x42
,
0xa0
,
0xb2
,
0x42
,
0x42
,
0x5c
,
0x2c
,
0x79
,
0x89
,
0xb9
,
0xa9
,
0x12
,
0x8c
,
0x0a
,
0x8c
,
0x1a
,
0x9c
,
0x41
,
0x60
,
0x36
,
0x48
,
0x2c
,
0x25
,
0xb1
,
0x24
,
0x51
,
0x82
,
0x
49
,
0x81
,
0x51
,
0x83
,
0x27
,
0x9c
,
0x41
,
0x60
,
0x36
,
0x48
,
0x2c
,
0x25
,
0xb1
,
0x24
,
0x51
,
0x82
,
0x
09
,
0x28
,
0xc6
,
0x13
,
0x04
,
0x
08
,
0xcc
,
0x76
,
0x62
,
0x8f
,
0x62
,
0x05
,
0x6b
,
0x4e
,
0x62
,
0x03
,
0x9b
,
0x67
,
0x0c
,
0x08
,
0x00
,
0x
66
,
0x3b
,
0xb1
,
0x47
,
0xb1
,
0x82
,
0x35
,
0x27
,
0xb1
,
0x81
,
0xcd
,
0x33
,
0x06
,
0x04
,
0x00
,
0x00
,
0x
00
,
0x
ff
,
0xff
,
0x53
,
0xee
,
0x0e
,
0x67
,
0x6c
,
0x00
,
0x00
,
0x00
,
0xff
,
0xff
,
0x53
,
0xee
,
0x0e
,
0x67
,
0x6c
,
0x00
,
0x00
,
0x00
,
}
}
pkg/proto/hapi/release/hook.pb.go
View file @
083d2ab6
...
@@ -119,27 +119,27 @@ func init() {
...
@@ -119,27 +119,27 @@ func init() {
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/hook.proto"
,
fileDescriptor0
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/hook.proto"
,
fileDescriptor0
)
}
var
fileDescriptor0
=
[]
byte
{
var
fileDescriptor0
=
[]
byte
{
// 34
3
bytes of a gzipped FileDescriptorProto
// 34
0
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0x4c
,
0x90
,
0x
df
,
0x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cc
,
0xe7
,
0xd4
,
0xf3
,
0xcc
,
0xee
,
0xac
,
0xfb
,
0x61
,
0x54
,
0x
e8
,
0xbf
,
0x59
,
0xf5
,
0x8b
,
0xec
,
0x4d
,
0x55
,
0xf2
,
0xe1
,
0x3b
,
0x00
,
0x00
,
0xff
,
0xff
,
0xdf
,
0x
7f
,
0x64
,
0xa7
,
0xcb
,
0x92
,
0x4f
,
0xbf
,
0x01
,
0x00
,
0x00
,
0xff
,
0xff
,
0xdf
,
0xef
,
0x1c
,
0xfd
,
0xe
f
,
0x1c
,
0xfd
,
0xe
2
,
0x01
,
0x00
,
0x00
,
0xe2
,
0x01
,
0x00
,
0x00
,
}
}
pkg/proto/hapi/release/info.pb.go
View file @
083d2ab6
...
@@ -22,7 +22,7 @@ type Info struct {
...
@@ -22,7 +22,7 @@ type Info struct {
// Deleted tracks when this object was deleted.
// Deleted tracks when this object was deleted.
Deleted
*
google_protobuf
.
Timestamp
`protobuf:"bytes,4,opt,name=deleted" json:"deleted,omitempty"`
Deleted
*
google_protobuf
.
Timestamp
`protobuf:"bytes,4,opt,name=deleted" json:"deleted,omitempty"`
// Description is human-friendly "log entry" about this release.
// Description is human-friendly "log entry" about this release.
Description
string
`protobuf:"bytes,5,opt,name=Description
,json=description
" json:"Description,omitempty"`
Description
string
`protobuf:"bytes,5,opt,name=Description" json:"Description,omitempty"`
}
}
func
(
m
*
Info
)
Reset
()
{
*
m
=
Info
{}
}
func
(
m
*
Info
)
Reset
()
{
*
m
=
Info
{}
}
...
@@ -65,20 +65,20 @@ func init() {
...
@@ -65,20 +65,20 @@ func init() {
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/info.proto"
,
fileDescriptor1
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/info.proto"
,
fileDescriptor1
)
}
var
fileDescriptor1
=
[]
byte
{
var
fileDescriptor1
=
[]
byte
{
// 23
6
bytes of a gzipped FileDescriptorProto
// 23
1
bytes of a gzipped FileDescriptorProto
0x1f
,
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to/hapi/release/release.pb.go
View file @
083d2ab6
...
@@ -35,8 +35,6 @@ type Release struct {
...
@@ -35,8 +35,6 @@ type Release struct {
Version
int32
`protobuf:"varint,7,opt,name=version" json:"version,omitempty"`
Version
int32
`protobuf:"varint,7,opt,name=version" json:"version,omitempty"`
// Namespace is the kubernetes namespace of the release.
// Namespace is the kubernetes namespace of the release.
Namespace
string
`protobuf:"bytes,8,opt,name=namespace" json:"namespace,omitempty"`
Namespace
string
`protobuf:"bytes,8,opt,name=namespace" json:"namespace,omitempty"`
// LastTestSuiteRun provides results on the last test run on a release
LastTestSuiteRun
*
TestSuite
`protobuf:"bytes,9,opt,name=last_test_suite_run,json=lastTestSuiteRun" json:"last_test_suite_run,omitempty"`
}
}
func
(
m
*
Release
)
Reset
()
{
*
m
=
Release
{}
}
func
(
m
*
Release
)
Reset
()
{
*
m
=
Release
{}
}
...
@@ -72,13 +70,6 @@ func (m *Release) GetHooks() []*Hook {
...
@@ -72,13 +70,6 @@ func (m *Release) GetHooks() []*Hook {
return
nil
return
nil
}
}
func
(
m
*
Release
)
GetLastTestSuiteRun
()
*
TestSuite
{
if
m
!=
nil
{
return
m
.
LastTestSuiteRun
}
return
nil
}
func
init
()
{
func
init
()
{
proto
.
RegisterType
((
*
Release
)(
nil
),
"hapi.release.Release"
)
proto
.
RegisterType
((
*
Release
)(
nil
),
"hapi.release.Release"
)
}
}
...
@@ -86,24 +77,21 @@ func init() {
...
@@ -86,24 +77,21 @@ func init() {
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/release.proto"
,
fileDescriptor2
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/release.proto"
,
fileDescriptor2
)
}
var
fileDescriptor2
=
[]
byte
{
var
fileDescriptor2
=
[]
byte
{
// 300 bytes of a gzipped FileDescriptorProto
// 254 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0x64
,
0x90
,
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
,
0x57
,
0xb6
,
0xc1
,
0x98
,
0x80
,
0x27
,
0x74
,
0xb6
,
0xa3
,
0x4a
,
0x57
,
0xe3
,
0x92
,
0x7f
,
0x07
,
0x00
,
0x00
,
0xff
,
0xff
,
0xc8
,
0x8f
,
0xec
,
0x97
,
0xbb
,
0x01
,
0x00
,
0x00
,
0xab
,
0x7e
,
0x10
,
0x38
,
0xb5
,
0x63
,
0xaf
,
0xe7
,
0xfd
,
0xde
,
0x98
,
0xd2
,
0xaf
,
0x46
,
0x21
,
0x27
,
0xe6
,
0xce
,
0x18
,
0x0e
,
0xe2
,
0x21
,
0x7d
,
0x4f
,
0xbc
,
0xf6
,
0x11
,
0xdb
,
0xa5
,
0xdf
,
0xff
,
0x04
,
0x00
,
0x00
,
0xff
,
0xff
,
0x85
,
0x06
,
0x87
,
0x2b
,
0x22
,
0x02
,
0x00
,
0x00
,
}
}
pkg/proto/hapi/release/status.pb.go
View file @
083d2ab6
...
@@ -60,6 +60,8 @@ type Status struct {
...
@@ -60,6 +60,8 @@ type Status struct {
Resources
string
`protobuf:"bytes,3,opt,name=resources" json:"resources,omitempty"`
Resources
string
`protobuf:"bytes,3,opt,name=resources" json:"resources,omitempty"`
// Contains the rendered templates/NOTES.txt if available
// Contains the rendered templates/NOTES.txt if available
Notes
string
`protobuf:"bytes,4,opt,name=notes" json:"notes,omitempty"`
Notes
string
`protobuf:"bytes,4,opt,name=notes" json:"notes,omitempty"`
// LastTestSuiteRun provides results on the last test run on a release
LastTestSuiteRun
*
TestSuite
`protobuf:"bytes,5,opt,name=last_test_suite_run,json=lastTestSuiteRun" json:"last_test_suite_run,omitempty"`
}
}
func
(
m
*
Status
)
Reset
()
{
*
m
=
Status
{}
}
func
(
m
*
Status
)
Reset
()
{
*
m
=
Status
{}
}
...
@@ -67,6 +69,13 @@ func (m *Status) String() string { return proto.CompactTextString(m)
...
@@ -67,6 +69,13 @@ func (m *Status) String() string { return proto.CompactTextString(m)
func
(
*
Status
)
ProtoMessage
()
{}
func
(
*
Status
)
ProtoMessage
()
{}
func
(
*
Status
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor3
,
[]
int
{
0
}
}
func
(
*
Status
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor3
,
[]
int
{
0
}
}
func
(
m
*
Status
)
GetLastTestSuiteRun
()
*
TestSuite
{
if
m
!=
nil
{
return
m
.
LastTestSuiteRun
}
return
nil
}
func
init
()
{
func
init
()
{
proto
.
RegisterType
((
*
Status
)(
nil
),
"hapi.release.Status"
)
proto
.
RegisterType
((
*
Status
)(
nil
),
"hapi.release.Status"
)
proto
.
RegisterEnum
(
"hapi.release.Status_Code"
,
Status_Code_name
,
Status_Code_value
)
proto
.
RegisterEnum
(
"hapi.release.Status_Code"
,
Status_Code_name
,
Status_Code_value
)
...
@@ -75,21 +84,23 @@ func init() {
...
@@ -75,21 +84,23 @@ func init() {
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/status.proto"
,
fileDescriptor3
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/status.proto"
,
fileDescriptor3
)
}
var
fileDescriptor3
=
[]
byte
{
var
fileDescriptor3
=
[]
byte
{
// 244 bytes of a gzipped FileDescriptorProto
// 288 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0x4c
,
0x8f
,
0xcf
,
0x4a
,
0xc3
,
0x40
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0x54
,
0x90
,
0x5f
,
0x6b
,
0xf2
,
0x30
,
0x10
,
0xc6
,
0x5d
,
0x9b
,
0xa6
,
0x66
,
0x2c
,
0x65
,
0x59
,
0x3c
,
0x24
,
0xe2
,
0xa1
,
0xf4
,
0xd4
,
0x8b
,
0x14
,
0xc6
,
0xdf
,
0x6a
,
0x5b
,
0xdf
,
0x1e
,
0x45
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0x21
,
0x30
,
0x86
,
0x01
,
0x00
,
0x00
,
}
}
pkg/proto/hapi/release/test_run.pb.go
View file @
083d2ab6
...
@@ -73,22 +73,22 @@ func init() {
...
@@ -73,22 +73,22 @@ func init() {
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/test_run.proto"
,
fileDescriptor4
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/test_run.proto"
,
fileDescriptor4
)
}
var
fileDescriptor4
=
[]
byte
{
var
fileDescriptor4
=
[]
byte
{
// 26
5
bytes of a gzipped FileDescriptorProto
// 26
2
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0x84
,
0x8f
,
0x41
,
0x4b
,
0x
fb
,
0x40
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0x84
,
0x8f
,
0x41
,
0x4b
,
0x
c3
,
0x40
,
0x1
4
,
0xc4
,
0xff
,
0xc9
,
0xbf
,
0x26
,
0x64
,
0x53
,
0x24
,
0xec
,
0x29
,
0x54
,
0xc1
,
0xd0
,
0x53
,
0x4e
,
0x1
0
,
0x85
,
0x4d
,
0xac
,
0x09
,
0x99
,
0x14
,
0x09
,
0x7b
,
0x0a
,
0x55
,
0x50
,
0x7a
,
0xf2
,
0xb4
,
0x0b
,
0x
bb
,
0x50
,
0xbd
,
0x78
,
0xf0
,
0x10
,
0x4b
,
0x05
,
0x51
,
0x22
,
0x6c
,
0x1a
,
0x04
,
0x2f
,
0x65
,
0xab
,
0x
d5
,
0x8b
,
0x07
,
0x0f
,
0xb1
,
0x54
,
0x10
,
0x25
,
0xc2
,
0xa6
,
0x41
,
0xf0
,
0x52
,
0xb6
,
0xba
,
0xad
,
0x
af
,
0x35
,
0x90
,
0x64
,
0x43
,
0xf6
,
0xe5
,
0x8b
,
0xf8
,
0x89
,
0x65
,
0x93
,
0xad
,
0x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
,
0x4e
,
0xbc
,
0x69
,
0x1f
,
0x0d
,
0x89
,
0x5f
,
0xe6
,
0x4f
,
0xf9
,
0xcb
,
0x6b
,
0x1e
,
0xfd
,
0x
6f
,
0xec
,
0x47
,
0x42
,
0xf0
,
0xf3
,
0xf4
,
0x25
,
0x7d
,
0x7b
,
0x4f
,
0xa3
,
0x13
,
0xb3
,
0x64
,
0xf9
,
0x
33
,
0xa2
,
0x28
,
0xd7
,
0xeb
,
0x4d
,
0x51
,
0x44
,
0x8e
,
0x11
,
0x0f
,
0xd9
,
0xe3
,
0x73
,
0x29
,
0x3
6
,
0x
72
,
0xb9
,
0xca
,
0xb2
,
0xc8
,
0x31
,
0xcb
,
0x53
,
0xf2
,
0xfc
,
0x9a
,
0xf3
,
0x55
,
0xe4
,
0x3e
,
0x0
6
,
0x
91
,
0x7b
,
0x1f
,
0xbc
,
0xf9
,
0xf6
,
0xc1
,
0xbd
,
0x37
,
0x96
,
0x5f
,
0x7f
,
0x07
,
0x00
,
0x00
,
0xff
,
0x
1f
,
0xbe
,
0x7d
,
0x70
,
0xeb
,
0x0d
,
0xe1
,
0xb7
,
0xbf
,
0x01
,
0x00
,
0x00
,
0xff
,
0xff
,
0x8d
,
0xb9
,
0x
ff
,
0x8d
,
0xb9
,
0x
ce
,
0x57
,
0x74
,
0x01
,
0x00
,
0x00
,
0xce
,
0x57
,
0x74
,
0x01
,
0x00
,
0x00
,
}
}
pkg/proto/hapi/release/test_suite.pb.go
View file @
083d2ab6
...
@@ -57,18 +57,18 @@ func init() {
...
@@ -57,18 +57,18 @@ func init() {
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/test_suite.proto"
,
fileDescriptor5
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/test_suite.proto"
,
fileDescriptor5
)
}
var
fileDescriptor5
=
[]
byte
{
var
fileDescriptor5
=
[]
byte
{
// 20
7
bytes of a gzipped FileDescriptorProto
// 20
5
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b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d4
,
0xe2
,
0xd2
,
0x9c
,
0x92
,
0x
96
,
0xb8
,
0x64
,
0x89
,
0x03
,
0xf4
,
0x9a
,
0xb0
,
0x88
,
0xab
,
0xb8
,
0xce
,
0x9a
,
0x1b
,
0xf1
,
0xf7
,
0x
62
,
0x09
,
0x66
,
0x05
,
0x66
,
0xa0
,
0x4e
,
0x51
,
0x3d
,
0x64
,
0x5f
,
0xea
,
0x81
,
0xdc
,
0x18
,
0x54
,
0x
4b
,
0xb1
,
0xdd
,
0xd8
,
0xf9
,
0xb5
,
0x3b
,
0xad
,
0x97
,
0xf4
,
0x2d
,
0x09
,
0x6c
,
0xbc
,
0xde
,
0xcb
,
0x
9a
,
0x17
,
0x04
,
0x53
,
0xe5
,
0xc4
,
0x19
,
0xc5
,
0x0e
,
0x95
,
0x4b
,
0x62
,
0x03
,
0x1b
,
0x6e
,
0x0c
,
0x
1f
,
0x7f
,
0x02
,
0x00
,
0x00
,
0xff
,
0xff
,
0x8c
,
0x59
,
0x65
,
0x4f
,
0x37
,
0x01
,
0x00
,
0x00
,
0x
08
,
0x00
,
0x00
,
0xff
,
0xff
,
0x8c
,
0x59
,
0x65
,
0x4f
,
0x37
,
0x01
,
0x00
,
0x00
,
}
}
pkg/proto/hapi/services/tiller.pb.go
View file @
083d2ab6
This diff is collapsed.
Click to expand it.
pkg/proto/hapi/version/version.pb.go
View file @
083d2ab6
...
@@ -47,15 +47,14 @@ func init() {
...
@@ -47,15 +47,14 @@ func init() {
func
init
()
{
proto
.
RegisterFile
(
"hapi/version/version.proto"
,
fileDescriptor0
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/version/version.proto"
,
fileDescriptor0
)
}
var
fileDescriptor0
=
[]
byte
{
var
fileDescriptor0
=
[]
byte
{
// 1
51
bytes of a gzipped FileDescriptorProto
// 1
44
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0xe2
,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
,
0xe3
,
0x4c
,
0xcf
,
0x2c
,
0x71
,
0x06
,
0x0b
,
0x08
,
0x25
,
0x12
,
0x4c
,
0x60
,
0x39
,
0x4e
,
0xa0
,
0x88
,
0x33
,
0x58
,
0x40
,
0x48
,
0x85
,
0x8b
,
0x0f
,
0x24
,
0xa9
,
0x70
,
0xf1
,
0x81
,
0xa4
,
0x4b
,
0x8a
,
0x52
,
0x53
,
0xe3
,
0x8b
,
0x4b
,
0x12
,
0x4b
,
0x52
,
0x25
,
0x5d
,
0x52
,
0x94
,
0x9a
,
0x1a
,
0x5f
,
0x5c
,
0x92
,
0x58
,
0x92
,
0x2a
,
0xc1
,
0x0c
,
0x56
,
0xc2
,
0x03
,
0x98
,
0xc1
,
0x4a
,
0x78
,
0xd2
,
0x33
,
0x4b
,
0x42
,
0x8a
,
0x52
,
0x53
,
0x83
,
0x41
,
0x62
,
0x4e
,
0x9c
,
0x14
,
0x0d
,
0x01
,
0x0a
,
0x06
,
0x83
,
0xc4
,
0x9c
,
0x38
,
0xa3
,
0xd8
,
0xa1
,
0x76
,
0x26
,
0xb1
,
0x81
,
0x51
,
0xec
,
0x50
,
0x3b
,
0x93
,
0xd8
,
0xc0
,
0x0e
,
0x31
,
0x06
,
0x04
,
0x00
,
0x00
,
0xff
,
0xff
,
0x20
,
0x1d
,
0x62
,
0x0c
,
0x08
,
0x00
,
0x00
,
0xff
,
0xff
,
0x20
,
0xcc
,
0x0e
,
0x1b
,
0xa6
,
0x00
,
0x00
,
0x00
,
0xcc
,
0x0e
,
0x1b
,
0xa6
,
0x00
,
0x00
,
0x00
,
}
}
pkg/tiller/release_server.go
View file @
083d2ab6
...
@@ -1099,11 +1099,11 @@ func (s *ReleaseServer) RunReleaseTest(req *services.TestReleaseRequest, stream
...
@@ -1099,11 +1099,11 @@ func (s *ReleaseServer) RunReleaseTest(req *services.TestReleaseRequest, stream
return
err
return
err
}
}
rel
.
LastTestSuiteRun
=
&
release
.
TestSuite
{
rel
.
Info
.
Status
.
LastTestSuiteRun
=
&
release
.
TestSuite
{
StartedAt
:
tSuite
.
StartedAt
,
StartedAt
:
tSuite
.
StartedAt
,
CompletedAt
:
tSuite
.
CompletedAt
,
CompletedAt
:
tSuite
.
CompletedAt
,
Results
:
tSuite
.
Results
,
Results
:
tSuite
.
Results
,
}
}
return
nil
return
s
.
env
.
Releases
.
Update
(
rel
)
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment