Brandon Philips
5d18c570ec
dm: cleanup CLI UX for people getting started
...
Before this patch dm would print out the wall of usage text that would
scroll off the screen in many error cases. This made learning dm hard.
Instead have more compact error output, like kubectl, and only return
non-zero on real errors.
```
$ dm foo ; echo $?
Error: unknown command 'foo' for 'dm'
Run 'dm --help' for usage
1
$ dm deployed-instances; echo $?
No type name supplied
1
$ dm 2> /dev/null; echo $?
0
```
There is more to do to make this tool friendlier but this was
low-hanging.
9 years ago
Brendan Melville
5343c35b7e
Merge pull request #194 from vaikas-google/master
...
Use the actual kubernetes object when deleting to ensure it absolutely
9 years ago
vaikas-google
ff9a7fe6e6
Use the actual kubernetes object when deleting to ensure it matches what is expected to delete
9 years ago
Brendan Melville
1331edbc8f
Merge pull request #193 from vaikas-google/kubectl_merge
...
Have configurator use the kubernetes_kubectl object
9 years ago
vaikas-google
2ac1a04987
Have configurator use the kubernetes_kubectl object instead of doing the kubectl commands directly
9 years ago
Brendan Melville
c16a1b438b
Merge pull request #192 from vaikas-google/master
...
Wire [gs]etcredential to backend
9 years ago
vaikas-google
ca5f7de9b5
Merge pull request #191 from adamreese/preserve-env-vars
...
Preserve environment variables executing expansion
9 years ago
vaikas-google
2c7aad5f63
Wire [gs]etcredential to backend
9 years ago
Adam Reese
1ce72d0e3d
preserve environment variables executing expansion
...
Running tests locally fail because $PATH is destroyed
9 years ago
Brendan Melville
b2ebb24c08
Merge pull request #189 from vaikas-google/master
...
Add support for k8s secrets backed credentials
9 years ago
vaikas-google
08dfc919d6
missed two comments from the CR
9 years ago
vaikas-google
120ea92816
address CR comments
9 years ago
vaikas-google
ee30166348
Add support for k8s secrets backed credentials, remove client support to talking to registry, use server for it. fix a few bugs
9 years ago
vaikas-google
9052898fca
Merge pull request #190 from jackgr/helm-integration
...
Added username and password to credentials in client.
9 years ago
jackgr
0db42f3aba
Added username and password to credentials in client.
9 years ago
Brendan Melville
812e121002
Merge pull request #187 from vaikas-google/master
...
Handle deploy correctly for local files vs. templates
9 years ago
vaikas-google
f632036e9e
Handle deploy correctly for local files vs. templates
9 years ago
vaikas-google
04076483df
Merge pull request #184 from jtblin/jtblin/fix-readme-links
...
Fix broken links to templates in README
9 years ago
Jerome Touffe-Blin
319018739e
Fix links to templates in README
9 years ago
Brendan Melville
58377e4c5b
Merge pull request #182 from vaikas-google/master
...
Add support for CredentialProvider
9 years ago
vaikas-google
a8f3827148
address CR comments
9 years ago
vaikas-google
0f8b3f7767
Add support for CredentialProvider that can be used to specify credentials that should be used for a registry
9 years ago
vaikas-google
4b4d58c8ac
Merge pull request #178 from jackgr/helm-integration
...
helm integration
9 years ago
jackgr
2c59a07bfd
Regex search in dm and Github credential setting to facilitate testing.
9 years ago
jackgr
42f894d882
Implemented regex matching for type names.
9 years ago
jackgr
8b67285c52
Additional test clean ups.
9 years ago
jackgr
a6e1067a50
Make github registry provider and repository service mockable.
9 years ago
jackgr
4ffe342272
Work in progress to refactor registry interface.
9 years ago
jackgr
17f22d777f
Merge changes from #172 .
9 years ago
Jack Greenfield
3cca3065af
Merge pull request #173 from technosophos/master
...
Add registry.ParseType.
9 years ago
Matt Butcher
7e25d67c61
Add registry.ParseType.
...
ParseType parses a string and returns a *registry.Type. The client
code currently uses this functionality, but it seems like it's better
treated as part of the registry library, rather than as a one-off.
9 years ago
Jack Greenfield
2141263e84
Merge pull request #172 from vaikas-google/github_auth
...
First cut of handling multiple registries with auth.
9 years ago
vaikas-google
89669d0d14
clean up the code for fetching registries
9 years ago
vaikas-google
0b82b48cc4
clean up the code for fetching registries
9 years ago
vaikas-google
3db24d8531
clean up the code for fetching registries
9 years ago
vaikas-google
1ee72edf31
use the inmem service registry for the manager_test
9 years ago
vaikas-google
f3fd7b14dc
wire in the in memory registry provider so that we can show how it works
9 years ago
vaikas-google
616a8c3877
First cut of unifying the registries, just puts the scaffolding in place
9 years ago
vaikas-google
93f74d0c8a
bring back to par with master
9 years ago
vaikas-google
125bad99cf
unit tests pass, can deploy packages
9 years ago
Ville Aikas
c3831f021a
debug stuff
9 years ago
vaikas-google
e1cb0ede86
handle fetching number of urls as a unit that get pooled into a single template so that helm works out of the box
9 years ago
vaikas-google
8ba0eb4f4d
Add support for helm packages. Quite hacky in parts, needs to resolve naming collisions
9 years ago
vaikas-google
62f1948607
Merge pull request #169 from bmelville/wtf
...
Need to nohup these so they detach from current terminal process.
9 years ago
Brendan Melville
8820a8bb5c
Merge pull request #168 from runseb/license
...
Improve license headers
9 years ago
Brendan Melville
a85f9a3d79
Need to nohup these so they detach from current terminal process.
9 years ago
runseb
bea172d705
Improve license headers
9 years ago
Brendan Melville
0793a2dfd7
Merge pull request #166 from vaikas-google/helm
...
Add support for helm packages, native kubernetes objects and helm repository format.
9 years ago
Ville Aikas
9777e72692
Add support for native kubernetes types, helm packages and helm/charts github repo
9 years ago
vaikas-google
17e0a46887
Merge pull request #163 from runseb/dockerfile
...
Changes to resourcifier Dockerfile
9 years ago