jackgr
2cb3bc760a
Remove Registry types from pkg/common
9 years ago
Jack Greenfield
51bbfafc87
Merge pull request #440 from jackgr/manager
...
Second round of refactoring for Manager
9 years ago
Adam Reese
91a007cfee
Merge pull request #442 from adamreese/feat/cmd-tests
...
test(cli): add test pattern for cli tests
9 years ago
Adam Reese
92031722c9
test(cli): refactor cli test setup
9 years ago
Adam Reese
caa14b19e0
fix(cli): use go1.5 templates
...
circleci only supports go1.5
9 years ago
Michelle Noorali
c4497d9d2a
Merge pull request #434 from michelleN/pack
...
helm chart pack [PATH]
9 years ago
Adam Reese
4b3d3cfa56
test(cli): use table test for deployments
9 years ago
Adam Reese
b03f2bcc94
test(cli): add show depoyment unit test
9 years ago
Adam Reese
1dc1845748
test(cli): add test pattern for cli tests
9 years ago
jackgr
3da6a66ce5
Refactor deployments and friends
9 years ago
jackgr
ab5f29d02d
Renames in manager/repository
9 years ago
jackgr
43a6876a4f
Refactor manager/manager
9 years ago
jackgr
e1afffbc4a
First pass removal of TypeResolver
9 years ago
Adam Reese
6b6bc40538
Merge pull request #435 from adamreese/feat/helm-deployment-show
...
feat(cli): implement helm deployment show
9 years ago
Adam Reese
8f43b059ce
feat(cli): use template for deployment format
9 years ago
Michelle Noorali
50daa66359
ref(chart): remove duplicate import
9 years ago
Michelle Noorali
8a52d969cb
ref(pack): make pack a chart subcommand
9 years ago
Michelle Noorali
2c295a4ca5
Merge pull request #432 from michelleN/helm-repo
...
ref(repo:) use run function for error handling
9 years ago
Matt Butcher
01569cb0b8
Merge pull request #431 from technosophos/feat/helm-chart-create
...
feat(cli): add 'helm chart create'
9 years ago
Jack Greenfield
2724b903e4
Merge pull request #430 from kubernetes/dm-charts
...
Merge dm-charts branch
9 years ago
Adam Reese
9506757a1f
feat(cli): implement helm deployment show
9 years ago
Michelle Noorali
ad4b595d7c
ref(repo:) use run function for error handling
9 years ago
Dave Cunningham
7c73cd8879
chartify Expansion API & expandybird service
...
chartify create deployment API
modify CLI to match
9 years ago
Matt Butcher
8e58edd446
feat(cli): add 'helm chart create'
...
Remove 'helm create'.
Closes #240
9 years ago
Matt Butcher
64c7ab2091
feat(cli): Add 'helm deployment delete'
...
Closes #239
9 years ago
Matt Butcher
9a92f99dce
fix(cli): remove 'helm list'
...
Also, make the debug bool locally scoped.
9 years ago
Matt Butcher
68f253472f
feat(cli): implement helm deployment list
...
Closes #243
9 years ago
Adam Reese
807fb4f615
fix(repository): remove hard coded host
...
/cc @michelleN
9 years ago
Michelle Noorali
61dd66446f
ref(manager): add /healthz body/content-type test
9 years ago
Michelle Noorali
8c55a6ef30
ref(repo): clean up cmd/helm repo vars
9 years ago
Michelle Noorali
cc97c522a5
feat(repo): add new chart repo routes
9 years ago
Adam Reese
322a6de1c0
Merge pull request #419 from adamreese/ref/client-resp-gh
...
ref(client): add helper methods to client
9 years ago
Adam Reese
13b93969d0
ref(repository): use new client methods
9 years ago
Matthias Schmitz
f8d3136eae
Fix text alignment in dm help output.
...
* The explanation of 'manifest' was one tab to far intended.
9 years ago
Matt Butcher
c52c6c544d
ifix(manager): test for create deployments
...
This is a first pass at using the new test stub to test HTTP services.
9 years ago
Matt Butcher
9473ddff72
fix(manager): add stub for context with Manager
...
This adds testing fixtures for the manager. It includes a stub context
that has either default or stub implementations for each object.
9 years ago
Matt Butcher
1bd4dea314
Merge pull request #404 from michelleN/repo-cmds
...
add repo cmds to helm client
9 years ago
Michelle Noorali
cb41b20909
feat(repo): hook up helm repo remove cmd
9 years ago
Michelle Noorali
10153528a0
feat(repos): hook up helm repo add cmd
...
* use pkg/httputil instead of func in helm client
9 years ago
Michelle Noorali
17143feb87
ref(helm): clean up callService
9 years ago
Michelle Noorali
899dc0b225
feat(repo): hook up `helm repo list` cmd
9 years ago
Matt Butcher
3efce30ef9
Merge pull request #396 from technosophos/fix/use-decoder
...
fix(manager): use decoder
9 years ago
Michelle Noorali
df10e16ce0
Merge pull request #395 from michelleN/error-punc
...
ref(*): remove punctuation at end of error
9 years ago
Matt Butcher
dec2f0605a
fix(manager): replace Unmarshal with Decode
...
Instead of repeating io.Read/Unmarshal pattern, use the Decoder,
which also gets us content-type negotiation.
9 years ago
Michelle Noorali
be61736773
ref(*): remove punctuation at end of error
9 years ago
Matt Butcher
7623741ca9
fix(manager): remove backend variable
...
This replaces the backend global variable with the Context.Manager
variable.
9 years ago
Matt Butcher
9a9398c079
fix(manager): updated routes to new format
9 years ago
Matt Butcher
0b0092f24a
fix(httputil): improve error handling
...
Errors are now returned in the best matching format for the
HTTP Accept header.
9 years ago
Michelle Noorali
29b1325fae
ref(repo): update import path
9 years ago
Michelle Noorali
07e0542977
feat(repos): add routes for chart repo management
9 years ago
Michelle Noorali
75cbba95e7
feat(repo): stub repo client commands
9 years ago
Matt Butcher
78911ae4e7
fix(manager): add documentation to pos function
9 years ago
Adam Reese
1805e15601
fix(*): update import paths for helm repo naming
9 years ago
Matt Butcher
527a4f9c9d
fix(manager): rewrite URL param grabbing
...
This updates path grabbing to match the new URI matcher.
9 years ago
Matt Butcher
ce32351bec
fix(manager): simplify adding routes
...
This removes the Routes interface and routesMap struct in favor of just
maintaining the routes inside of the handler.
9 years ago
Matt Butcher
05a3965602
fix(manager): add API test for healthz.
9 years ago
Matt Butcher
87d360afda
fix(manager): refactor REST API to make it modular
...
This modifies the startup and initial handling of the REST API to make
it modular, remove the init() methods, and remove reliance on global
vars.
9 years ago
Matt Butcher
d61ba060cb
Merge pull request #371 from technosophos/fix/style-fixes
...
fix(test-style): fix formatting and comments
9 years ago
Matt Butcher
e0d7bad126
Merge pull request #374 from technosophos/feat/revert-helm-deploy
...
fix(cli): revert to older deploy formatting
9 years ago
Matt Butcher
fbb35e71ac
Merge pull request #375 from technosophos/feat/helm-release
...
feat(cli): added back 'helm release'
9 years ago
Matt Butcher
bc4bb79f5c
feat(cli): added back 'helm release'
...
This re-adds the top level Helm command that sends a packaged helm chart
to the server. This existed in an earlier draft of the Helm-DM client,
but it fell through the cracks when we re-organized the helm commands.
9 years ago
Matt Butcher
8fbb567c8b
fix(cli): revert to older deploy formatting
...
Prior to merging the projects, the version of `helm deploy` used a
different REST API (one without YAML in JSON). Post-merge, we need to
revert back to the older common.Template version.
As part of this, I switched an io.ReadCloser back to an io.Reader
because there is nowhere where the Closer part is used. The http lib
does not close a reader passed to it.
9 years ago
Matt Butcher
c849c7059e
fix(test-style): fix formatting and comments
...
This fixes a number of formatting and style issues.
Closes #370
9 years ago
Adam Reese
ca6fdc6e43
fix(version): use build version in helm
9 years ago
Adam Reese
e922695cf9
ref(client): rename pkg/dm to pkg/client
9 years ago
Jack Greenfield
50aa153f0b
Merge pull request #316 from jackgr/make-fixes
...
Make fixes
9 years ago
Matt Butcher
d6ed7aeab0
Merge pull request #318 from technosophos/feat/dm-install-generator
...
feat(dm install): use template to generate manifest
9 years ago
jackgr
7100adbef0
Remove Makefiles and Dockerfiles in cmd directory
9 years ago
Jack Greenfield
eff281edd4
Merge pull request #325 from runseb/licenseheader
...
Correct and add a few license headers
9 years ago
Jack Greenfield
3be42cd605
Merge pull request #324 from michelleN/status
...
feat(*): add helm dm status command
9 years ago
Michelle Noorali
8f747a1cd5
feat(*): add helm dm status command
...
Allows a user to inspec their dm pods and state
in the running Kubernetes cluster. This resolves
issue #301 .
9 years ago
runseb
cdac316fca
Correct and add a few license headers
9 years ago
Matt Butcher
73c469eb6a
feat(dm install): use template to generate manifest
...
Closes #306 .
9 years ago
jackgr
42a134f8f3
Restore #290
9 years ago
Michelle Noorali
44880d5575
Merge pull request #294 from technosophos/fix/helm-license
...
fix(*): add license headers to a number of files
9 years ago
Michelle Noorali
348eb5c6ee
ref(helm): remove init command.
...
The command is redundant. It was already taken out, but
showed up again somehow (probably in the helm/dm merge).
Silly command. Removing it again.
9 years ago
Matt Butcher
3dfd3b89e2
fix(*): add license headers to a number of files
9 years ago
Adam Reese
3cdf4cb3f4
feat(images): initial pass at new Dockerfiles
9 years ago
Adam Reese
4134afee10
style(*): gofmt
9 years ago
Adam Reese
8876c7e54b
Merge remote-tracking branch 'helm/master' into helm-merge
9 years ago
Adam Reese
09796298ea
ref(expansion): move python code out of cmd
9 years ago
Adam Reese
25f339731a
doc(cmd/pkg): add package godocs
9 years ago
Adam Reese
e43286b6f9
ref(*): isolate go code to /cmd and /pkg
9 years ago
Adam Reese
4dc58448a0
ref(*) move lib code into pkg
9 years ago
Matt Butcher
3aaf775209
Merge pull request #26 from technosophos/feat/workflow-stubs
...
feat(*): stub out commands for helm
9 years ago
Matt Butcher
27e01c4d35
fix(deploy): removed "install" alias
9 years ago
Matt Butcher
e1f4488ed2
feat(*): stub out commands for helm
9 years ago
Matt Butcher
7f87745dc7
feat(chart_upload): add chart_upload.go
...
Also removed the now unused deploy subpackage and fixed the makefile
accordingly.
9 years ago
Matt Butcher
84146a29cd
feat(deploy): upload chart if its local
9 years ago
Matt Butcher
0bbde9ad31
Merge pull request #23 from technosophos/feat/deploy
...
Implement client side of `helm deploy`
9 years ago
Adam Reese
7492ad7fe9
fix(create): do not use full path for chart name
9 years ago
Matt Butcher
436b7f0378
feat(deploy): deploy using Configuration
...
This re-jiggers the deployment to use common.Configuration. Right
now it will not work, since the remote server expects a common.Template
instead of a common.Configuration. Still trying to figure out which
side to change.
9 years ago
Matt Butcher
117679c10e
Merge pull request #16 from technosophos/feat/deploy
...
feat(deploy): deploy charts
9 years ago
Matt Butcher
0cdd077114
fix(*): minor codebase cleanups
...
Cleaned up some of the code we inherited from DM.
9 years ago
Adam Reese
dbd90b5cca
feat(delete): add delete verb
9 years ago
Matt Butcher
1058fb9ccf
feat(deploy): Create dm.Client from cli.Context
...
Also, remove a whole bunch of unused functions.
9 years ago
Matt Butcher
bbb3229da1
fix(deploy): add tests
9 years ago
Adam Reese
bf8d4b371d
fix(cmd): prevent cmd init functions from racing
...
No running in the halls!
9 years ago
Adam Reese
3c62cd9fc8
ref(cmd): break up command definitions
9 years ago
Adam Reese
6058cad0a1
feat(client): add timeout cli option
9 years ago
Adam Reese
8cf1f35059
chore(*): remove global debug variable
9 years ago
Adam Reese
1e741afb58
feat(get): add get verb
9 years ago
Adam Reese
570083361d
feat(format): add yaml output format
9 years ago
Adam Reese
fe60ff17c1
feat(debug): add debug flag
9 years ago
Adam Reese
4fc6a7b6c0
test(dm): add unit tests for dm client
9 years ago
Adam Reese
6fd1680b9f
ref(client): refactor url parsing
9 years ago
Matt Butcher
e7445a4632
fix(vet): fix a number of lint/vet warnings
9 years ago
Matt Butcher
be2a09d612
fix(lint): correct several formatting issues
9 years ago
Matt Butcher
9b494f5546
feat(deploy): deploy charts instead of templates
9 years ago
Matt Butcher
9b9705e7a1
feat(create): add create and pack verbs.
...
This adds `helm create CHART` and `helm pack CHART`. Both are really
basic.
NOTE: This is running off of my fork of dm until they get the new chart
stuff merged.
9 years ago
Adam Reese
1e37113c39
feat(dm-delete): add dm-delete command
9 years ago
Michelle Noorali
5884ff12a4
feat(*): add doctor cmd
9 years ago
Adam Reese
defc31a782
chore(*): move /cmd to /cmd/helm
9 years ago
Adam Reese
f76a17acb4
feat(list): add list command
9 years ago
Matt Butcher
9763a89335
feat(*): deploy dry-run now works
9 years ago
Matt Butcher
063e37525c
feat(*): add install/deploy command
9 years ago
Matt Butcher
b5ce6939df
feat(*): add target command
9 years ago
Matt Butcher
8d6007a7d1
feat(*): install DM
9 years ago
Matt Butcher
9e1dbeaa48
feat(*): stub out install
9 years ago
Matt Butcher
69e6256885
feat(*): add scaffolded cli app.
9 years ago