Adam Reese
726e3c41be
feat(*): print stacktrace on error with debug enabled
7 years ago
Adam Reese
03ea683b9a
ref(pkg/tiller): add flag to enable tilling logging in tests
...
`go test ./pkg/tiller -test.log`
8 years ago
Adam Reese
3b9596c6ab
ref(*): convert const types to strings
8 years ago
Adam Reese
2a97768b5c
ref(pkg/tiller): flatten package structure for storage
8 years ago
Adam Reese
4c95185164
ref(*): replace chart.config with []byte
8 years ago
Adam Reese
1e2e65ce54
ref(pkg/releasetesting): simplify test setup
8 years ago
Adam Reese
c5151fb7b3
ref(*): cleanup timestamps in tests
8 years ago
Adam Reese
c5a76deba3
ref(*): use go conventions for naming types
8 years ago
Adam Reese
36536d77ba
ref(*): remove protobuf any type
8 years ago
Adam Reese
91a6ebfed5
ref(*): remove protobuf timestamps
8 years ago
Adam Reese
6345f04190
ref(hapi): convert protobuf to go types
8 years ago
Adam Reese
68c0b6a24a
ref(proto): remove unused protobufs
8 years ago
Adam Reese
883371b8ce
ref(pkg/tiller): simplify exported methods
8 years ago
Adam Reese
8f58c9efdc
ref(*): refactor release testing
8 years ago
Adam Reese
fc4c095cf0
ref(*): remove pkg/kubernetes from tiller and storage
8 years ago
Adam Reese
496ca54183
ref(*): bypass grpc for helm client
8 years ago
Adam Reese
e9478d8f84
ref(pkg/tiller): remove ReleaseModules interface from tiller
8 years ago
Adam Reese
5715ee43d6
ref(*): bypass grpc when invoking helm list
...
TODO reimplement any paging
8 years ago
Adam Reese
62804848c6
ref(pkg/tiller): refactor out imports of pkg/helm
8 years ago
Arash Deshmeh
c22492ff01
fix(helm): refactor tiller release install unit tests using chart and install request stubs
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
8 years ago
Timofey Kirillov
b7fe0d0bd7
Add hook-delete-policy ReleaseServer unit tests
...
Cover hook-succeeded, hook-failed and before-hook-creation hook delete policies.
8 years ago
Arash Deshmeh
5b25eef9e2
fix(helm): fix the bug in test code under pkg/tiller that leaks output to stdout during build
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
8 years ago
Adam Reese
a31e3b8fe1
ref(*): kubernetes v1.9 support ( #3234 )
8 years ago
Y.W
0f953403a2
give an uniform check for release process ( #2565 )
...
* give an uniform check for release process
* fixed as the review of adamreese: update the err message when releasename is empty and update the test units.
* fixed as the review of bacongobbler: add more detail information to return message. the regex rule is added to the return message.
8 years ago
Michelle Noorali
83c69a8e10
fix(tiller): track hooks in multi-def manifests
...
resolves #2290
8 years ago
peay
0f26cc5522
Add --force to upgrade and rollback
8 years ago
fibonacci1729
04d0abfd7c
ref(tiller): refactor tests into logical files
...
TestInstallRelease_WithChartAndDependencyNotes -> tiller/release_install_test.go
TestInstallRelease_WrongTillerVersion -> tiller/release_install_test.go
TestInstallRelease_WithNotesRendered -> tiller/release_install_test.go
TestInstallRelease_TillerVersion -> tiller/release_install_test.go
TestInstallRelease_FailedHooks -> tiller/release_install_test.go
TestInstallRelease_ReuseName -> tiller/release_install_test.go
TestInstallRelease_WithNotes -> tiller/release_install_test.go
TestInstallRelease_NoHooks -> tiller/release_install_test.go
TestInstallRelease_DryRun -> tiller/release_install_test.go
TestInstallRelease -> tiller/release_install_test.go
8 years ago
fibonacci1729
22db973932
ref(tiller): refactor tests into logical files
...
TestListReleasesByStatus -> tiller/release_list_test.go
TestListReleasesFilter -> tiller/release_list_test.go
TestListReleasesSort -> tiller/release_list_test.go
TestListReleases -> tiller/release_list_test.go
TestUpdateRelease_ResetReuseValues -> tiller/release_update_test.go
TestUpdateRelease_ResetValues -> tiller/release_update_test.go
TestUpdateRelease_ReuseValues -> tiller/release_update_test.go
TestUpdateReleaseNoChanges -> tiller/release_update_test.go
TestUpdateReleaseFailure -> tiller/release_update_test.go
TestUpdateReleaseNoHooks -> tiller/release_update_test.go
TestUpdateRelease -> tiller/release_update_test.go
TestRollbackReleaesFailure -> tiller/release_rollback_test.go
8 years ago
fibonacci1729
172dbb22cf
ref(tiller): refactor tests in logical files
...
TestRunReleaseTest -> tiller/release_testing_test.go
TestGetReleaseContent -> tiller/release_content_test.go
TestGetReleaseStatusDeleted -> tiller/release_status_test.go
TestGetReleaseStatus -> tiller/release_status_test.go
TestRollbackReleaseFailure -> tiller/release_rollback_test.go
TestRollbackReleaseNoHooks -> tiller/release_rollback_test.go
TestRollbackRelease -> tiller/release_rollback_test.go
TestUninstallReleaseWithKeepPolicy -> tiller/release_uninstall_test.go
TestUninstallPurgeDeleteRelease -> tiller/release_uninstall_test.go
TestUninstallReleaseNoHooks -> tiller/release_uninstall_test.go
TestUninstallPurgeRelease -> tiller/release_uninstall_test.go
TestUninstallRelease -> tiller/release_uninstall_test.go
8 years ago
Adam Reese
15254e4c5c
feat(*): add generic logging interface ( #2394 )
...
Adds a generic logging interface to importable packages.
8 years ago
Maciej Kwiek
1c9ae5577d
Basic Rudder Delete implementation
...
Extracted delete specific code from ReleaseServer to external function
which is called from both Local and Remote ReleaseModules.
Made getVersionSet function from tiller package exported.
9 years ago
Maciej Kwiek
c1fcaf09ce
Experimental Rudder implementation
...
This change introduces the concept of Rudders - pluggable modules that
Tiller communicates with via grpc, which allow to decouple orchestration
logic from Tiller into separate service.
This commit consists of simple Rudder implementation which does exactly
the same thing as built in Tiller orchestrator - it creates all k8s
objects from provided manifest without orchestrating them.
--experimental-release flag is introduced to enable this behaviour.
This change allows to use the service and tiller outside of the cluster.
Following commits will add Rudder to helm deployment.
9 years ago
Adam Reese
2e819e014d
fix(*): handle unreleased versioning
...
Adds an `unreleased` flag to the version if not building from HEAD of a
tag. The compatibility check is bypassed if the client or server are
unreleased.
fixes #2110
9 years ago
Matt Butcher
e4e0e32064
feat(tiller): support version constraint on chart
...
This provides the Chart.yaml field `tillerVersion`, which is a semver
range. It allows users to choose to constrain a chart to a specific
version.
The reason for this is that we keep introducing new template functions,
but we have no way of saying "this chart will only work with Tiller
newer than...".
The check on version is _only_ done on Tiller. The client does not check
at all, since it does not do any template expansion on its own.
9 years ago
Matt Butcher
daa39c2689
feat(helm): add --reuse-values flag to upgrade
...
This makes it possible to re-use the existing values on an upgrade,
merging in any new values set by `-f` or `--set`.
Closes #1876
9 years ago
Larry Rensing
8cb931925e
Merge remote-tracking branch 'upstream/master' into feat/list-namespaces
9 years ago
Larry Rensing
3a380923f4
feat(*): add --namespace flag to 'helm list'
...
Users can now specify a namespace filter for 'helm list'. Only the
releases within the specified namespace will be shown. For example,
'helm list --namespace foo' will only show releases for the 'foo'
namespace. Also added a namespace field to the table view.
Closes #1563
9 years ago
Michelle Noorali
538e8297ef
ref(*): add namespace info to failing test msg
...
* also cleanup comments
9 years ago
Michelle Noorali
bf9ae52e1c
ref(*): change test hook to be test-success
9 years ago
Michelle Noorali
e95a0570ad
chore(pkg/releasetesting): add test_suite tests
...
* and comments
9 years ago
Matt Butcher
756cb970bd
feat(tiller): record a message for each lifecycle step
...
This adds a simple description for each lifecycle step on a release
object.
Closes #1661
9 years ago
Taylor Thomas
7ef9bb6f71
feat(*): Add --wait flag
...
Adds `--wait` flag to helm that waits for all pods to reach a ready
state, PVCs to be bound, and services to have IP addresses
Closes #1805
9 years ago
Matt Butcher
c32b2ddcdf
feat(helm): add --reset-values flag to 'helm upgrade'
...
The --reset-values flag on upgrade instructs Tiller to reset the
upgraded release to the chart's built-in values.yaml, and ignore the
last install's overridden values.
Closes #1569
9 years ago
Adam Reese
0e7781c443
fix(tiller): add missing name to status response
9 years ago
Taylor Thomas
774789c79a
feat(*): Adds support for timeout flag
...
Installs, rollback, upgrade, and delete now accept a `--timeout` flag
that allows the user to specify the maximum number of seconds that
any kubernetes command can take.
Closes #1678
9 years ago
Nikolay Mahotkin
1eaec045b2
Rename 'restart' to 'recreate'
9 years ago
Nikolay Mahotkin
44d9274df3
Fixing tests
9 years ago
Adam Reese
7f44c116a1
ref(tiller): refactor clientset out of environment
9 years ago
Michelle Noorali
e3480c76e6
feat(tiller): add support for resource-policy keep
...
satisfies #1326
9 years ago
Matt Butcher
d84deb5b3d
Merge pull request #1598 from technosophos/fix/1594-delete-too-much
...
fix(tiller): validate names before performing operations
9 years ago