* Give scheduler a default volume, making it resilient to restarts by
default
Signed-off-by: joshvanl <me@joshvanl.dev>
* Remove dapr_scheduler volume on uninstall, gated by `--all`
Signed-off-by: joshvanl <me@joshvanl.dev>
* Fix containerErrs in standaone.go
Signed-off-by: joshvanl <me@joshvanl.dev>
* Do not attempt to delete scheduler volume if no container runtime
Signed-off-by: joshvanl <me@joshvanl.dev>
* Increase upgrade test timeout to 40m
Signed-off-by: joshvanl <me@joshvanl.dev>
---------
Signed-off-by: joshvanl <me@joshvanl.dev>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
* wip
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
* rm scheduleJob logic. keep only init/uninstall logic
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
* Fixes install and uninstall of scheduler in standalone mode.
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Fixing path for Go tools in Darwin.
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Fix Go bin location for MacOS.
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Fix min scheduler version to be 1.14.x
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Use env var to pass scheduler host.
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Fix CLI build to work with latest MacOS runners from GH
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
---------
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Co-authored-by: Artur Souza <asouza.pro@gmail.com>
* Upgrade go version
Signed-off-by: letmerecall <girishsharma001@gmail.com>
* Upgrade go patch version to get through ci cache
Signed-off-by: letmerecall <girishsharma001@gmail.com>
* Format error message correctly
Signed-off-by: letmerecall <girishsharma001@gmail.com>
* Setup go from go.mod
Signed-off-by: letmerecall <girishsharma001@gmail.com>
* Fix workflow, checkout code before go setup
Signed-off-by: letmerecall <girishsharma001@gmail.com>
* Fix workflow
Signed-off-by: letmerecall <girishsharma001@gmail.com>
---------
Signed-off-by: letmerecall <girishsharma001@gmail.com>
Signed-off-by: Girish Sharma <girishsharma001@gmail.com>
* 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>
* Go linter upgrade to 1.44
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* remove old excludes and address new ones
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* Initialize dapr without docker dependency
* Create default empty components dir
* Remove --slim flag from uninstall command
* Changed phrasing
* Updated Readme
* Clarify slim init use case
* language corrections
Co-authored-by: Mark Chmarny <mchmarny@users.noreply.github.com>
Co-authored-by: Ori Zohar <orzohar@microsoft.com>
* passing components folder to daprd
* fixing tests
* fixing tests
* using cli flag to set default value for components path
* fixing build
* linter
* linter
* fixing tests
* Check if docker is running on uninstall
* Add comment for exported method
* Call DeleteRunDataFile even if docker is not running
* Refactor: Move to common method and rename container to image
* 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.