Mukundan Sundararajan
a7f06c3b1b
Fix runtime custom path installation logic ( #1203 )
...
* fix dapr path version, custom installation path logic, e2e
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix linter errors
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix paths for windows
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* rename daprPath to daprRuntimePath
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
---------
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-02-05 21:57:23 -08:00
mikeb26
53dff409b4
Support environments with broken $HOME ( #1057 )
...
* Support environments with broken $HOME
Currently in standalone mode dapr cli will install the dapr runtime
binaries into $HOME/.dapr. However, in some environments $HOME is
readonly or os.UserHomeDir() can fail (e.g. AWS Lambda). To support
dapr in these environments this change does 2 things:
1. Allows the user to set DAPR_PATH environment variable to indicate
the location of the dapr runtime binaries.
2. Allows the user to optionally specify --dapr-path cli flag to
indicate the location of the dapr runtime binaries. When both
DAPR_PATH environment variable and --dapr-path CLI flag are present,
the cli flag has higher precedence.
When neither DAPR_PATH nor the --dapr-path CLI flag are present, we
fallback to existing behavior of defaulting to $HOME/.dapr.
Signed-off-by: Mike Brown <github@torvosoft.com>
* Address comments
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Address comments
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Address comments
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Fix unit test
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Fix e2e test
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Fix lint
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Mike Brown <github@torvosoft.com>
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
2023-01-03 15:40:06 +05:30
Shubham Sharma
07cf0553dc
Validate and limit container runtime configuration in init and uninstall commands ( #1099 )
...
* Limit container runtime
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Lint
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Update docs for container runtime flag
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Add uninstall e2e test
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Update uninstallcmd
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Fix skip in e2e
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-10-12 02:47:41 -07:00
Pravin Pushkar
5a28708a12
feature/podman: Updating dapr cli to allow different container runtime ( #1041 )
...
* feature/podman: Updating dapr cli to allow providing of container
runtime.
- Ability to provide docker or podman runtime for init and uninstall commands
by passing along the --container-runtime flag with values docker or
podman.
Signed-off-by: Martin <7595909+martin-bucinskas@users.noreply.github.com>
* feature/podman: Updating install message to use the runtime environment
Signed-off-by: Martin <7595909+martin-bucinskas@users.noreply.github.com>
* feature/podman: Fixing linting issues.
- Fixing go lint issues by running gofumpt and gofmt.
Signed-off-by: Martin <7595909+martin-bucinskas@users.noreply.github.com>
* Correcting rebase
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* use podman for macos tests
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* setting env
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* adding docker host
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Change step title and remove docker host
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* code cleanup
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* install podman mac helper
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* fix review comments
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Refactor use of global varibale
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* matrix added for slim and complete mode
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* correcting worflow expression
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* refactor uninstall code
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* separate uninstall test for slim and complete mode
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Signed-off-by: Martin <7595909+martin-bucinskas@users.noreply.github.com>
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Martin <7595909+martin-bucinskas@users.noreply.github.com>
2022-08-23 21:30:50 +05:30
Dmitry Shmulevich
0f9d0d3a89
replaced license headers ( #855 )
...
Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@gmail.com>
2021-12-10 08:09:09 +05:30
Long Dai
4ccf10f9e4
ci: standard linter config ( #793 )
...
Signed-off-by: Long <long0dai@foxmail.com>
Signed-off-by: Long <long.dai@intel.com>
2021-11-01 19:01:51 +05:30
Long Dai
909b989128
log error info to stderr ( #750 )
...
Signed-off-by: Long Dai <long0dai@foxmail.com>
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-08-24 23:32:19 -07:00
yaron2
416b536574
remove redundant line
2021-05-14 09:58:07 -07:00
yaron2
fd9ca78a97
add --all flag to kubernetes uninstall
2021-05-14 09:54:39 -07:00
Phil Kedy
e966e40694
Add --wait amd --timeout flags for dapr init -k which are passed to Helm ( #629 )
...
* Added --wait flag for dapr init -k which is passed on to Helm
* Simplification
* Added --timeout flag to kubernetes init, upgrade, and uninstall
* Tweaks
* Tweak
* Fixing conflict after merge from master
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
2021-03-17 11:15:18 -07:00
Yaron Schneider
3ee9e53338
add renewed headers ( #588 )
2021-02-10 08:37:08 -08:00
Mukundan Sundararajan
51bbd0a171
updated help messages. provide example for commands. ( #544 )
2020-12-08 12:04:11 -08:00
Artur Souza
6a303e71f7
Rewording of help messages. ( #501 )
...
* Delete reference docs, since docs website has those now.
* Rewording of help messages.
2020-10-29 16:08:21 -07:00
Mukundan Sundararajan
24ca35d78b
Upgrade to linter v1.31.0 ( #447 )
...
* Upgrade to linter v1.30.0
* Remove --fix from lint
* Fix linter issues
* use golang-ci lint action
* Fix linter version
* add linter patch version
* remove linter patch version
2020-10-07 17:24:12 -07:00
Yaron Schneider
2dfe958269
Refactor init on kubernetes to use Helm ( #432 )
...
* refactor init on kubernetes to use Helm
* linter
* linter 2
* update README
* change repo url
2020-08-13 12:59:47 -07:00
Yaron Schneider
06d64bf7ac
make version flags consistent for init/uninstall ( #425 )
2020-07-30 08:41:35 -07:00
Aman Bhardwaj
2a4123efaf
Change init and uninstall behavior for self hosted mode ( #413 )
...
* remove install-path option for dapr init copy bianries under $HOME/.dapr/bin
2020-07-22 14:47:57 -07:00
Will Smith
da5e4ce7b8
Fixed uninstall command to take the version in kubernetes mode to uninstall ( #398 )
...
* fixed versioning issue
* updated readme
* updated uninstall section in docs
* moved uninstall flag information in readme
* Updated docs for runtime version flag
* added documentation to CLI flag
2020-07-14 13:19:52 -07:00
Mukundan Sundararajan
0b76467280
Fix Standalone dapr init behavior. ( #384 )
...
* Remove uninstall all from init path. Add install path arg to uninstall cmd. Cleanup binaries, archive correctly.
* Addressed review comments
* Change readme
* update readme
2020-06-29 15:27:59 -07:00
vinayada1
0afc366697
init creates the default component files #371 ( #373 )
...
* init creates the default component files #371
* fix review comments
* fix review comments - 2
* Upgrade to linter version 1.26.0 (#381 )
* init creates the default component files #371
* fix review comments
* fix review comments - 2
* Fix linter error
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
2020-06-16 10:18:53 -07:00
Greg Ingram
e759a815ed
Capitalized Dapr and uppercase CLI ( #215 )
...
* Capitalized Dapr
* Fixed wording
* Uppercase CLI
* Missed capitalized Dapr
* Fix uninstall description
2019-11-25 09:37:45 -08:00
Phillip Hoff
65555f5cb8
Allow setting flags via environment variables ( #210 )
...
* Use viper to pull flags from environment variable.
* Allow Docker network be specified via environment variable.
* Sketch Dapr init/run CLI command reference.
* Sketch remainder of Dapr CLI command docs.
* Add note re: environment variables.
2019-11-20 10:29:53 -08:00
Yaron Schneider
228e5bea5e
remove Dapr placement image on uninstall and init ( #204 )
2019-11-12 14:29:52 -08:00
Phillip Hoff
997ab8ce38
Allow installation of Dapr runtime into a specific Docker network ( #192 )
...
* Allow option to specify Docker network for containers.
* Add network aliases when on a specific network
* Allow Redis and placement server hosts be specified
* Don't expose container ports when on explicit network
* Use a network-specific container name.
* Update docs.
* Update per PR feedback.
2019-11-06 10:17:55 -08:00
Leon Mai
ef9c854563
dapr uninstall should remove all containers ( #184 )
...
* dapr uninstall should remove all containers
* Delete redis container only if user specifies --all
2019-10-28 12:16:49 -07:00
Young Bu Park
e9e261a420
Merge release-0.4 to master ( #141 )
...
* Enable uninstall to remove placement container for standalone mode (#120 )
* Uninstall placement container in standalone
* fix lint error
* remove useless logging
* simplify more
* Add v0.4.0-alpha.2 rel note (#125 )
* add 0.4.0-alpha.2 release note
* add changes
* wip
2019-10-11 16:22:34 -07:00
Aman Bhardwaj
6debcf2610
Adding license header and updating to MIT license.
2019-10-08 16:36:31 -07:00
Yaron Schneider
36973dca2f
name change ( #109 )
2019-10-02 16:40:04 -07:00
Yaron Schneider
88bb65482b
add kubernetes required flag ( #76 )
2019-09-16 13:17:37 -07:00
Yaron Schneider
8cf9d6ee9f
uninstall ( #63 )
2019-09-10 14:22:26 -07:00