Commit Graph

121 Commits

Author SHA1 Message Date
Pravin Pushkar 5e3546a351
Init with custom cert (#1249)
* Init with custom cert

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* remove key file

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

---------

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-03-02 13:31:13 +05:30
Girish Sharma 17124ebbe9
Upgrade go version to 1.20 (#1246)
* 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>
2023-03-02 02:41:17 +05:30
Taction 211e57b915
Fix unexpected behaviour in dapr list (#1244)
* Fix args parse.

Signed-off-by: zhangchao <zchao9100@gmail.com>

* fix lint

Signed-off-by: zhangchao <zchao9100@gmail.com>

* add e2e test for list

Signed-off-by: zhangchao <zchao9100@gmail.com>

* fix e2e exit to 0

Signed-off-by: zhangchao <zchao9100@gmail.com>

* run dapr run in goroutine

Signed-off-by: zhangchao <zchao9100@gmail.com>

---------

Signed-off-by: zhangchao <zchao9100@gmail.com>
2023-02-28 08:59:24 -08:00
Pravin Pushkar a4aafbdfd4
Parallel exec for UTs and cache go dep (#1226)
* Parallel exec for UTs and cache go dep

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* update go version

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

---------

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-02-17 13:03:20 +05:30
Pravin Pushkar 8884bb977e Pin stable runtime dep and merge to master
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-02-16 11:01:19 +05:30
Pravin Pushkar 7e0d9dc45d Merge branch 'master' into release-1.10
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-02-16 11:00:39 +05:30
Pravin Pushkar 1cec708d88
update runtime to 1.10.0-rc.9 (#1229)
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-02-15 11:51:49 +05:30
Shubham Sharma c8aa85b0e3
Upgrade dapr version to RC 8 (#1223)
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2023-02-14 11:40:45 +05:30
Shivam Kumar 4dd43375e6
Adding more e2e tests for mariner images (#1208)
Signed-off-by: Shivam Kumar <shivamkm07@gmail.com>
2023-02-13 11:40:54 +05:30
Pravin Pushkar 78db061dac
update runtime to RC.6 (#1218)
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-02-13 11:40:20 +05:30
Pravin Pushkar 84ba3aad24
E2e fix (#1215)
* fix e2e tests

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* pass dashboard version to dapr init

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* disable dashboard test for k8s

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* upload run file logs in artifacts

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Revert "upload run file logs in artifacts"

This reverts commit e8343df8bd.

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* trigger pr checks

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

---------

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-02-09 21:39:42 -08:00
Mukundan Sundararajan e82850a698
update runtime to 1.10-rc.4 (#1213)
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-02-07 10:22:02 -08:00
Mukundan Sundararajan 20978a2b59
update runtime version to 1.10.0-rc.3. Minor nit fixes (#1207)
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-02-06 13:15:47 +05:30
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
Pravin Pushkar 38c8f106df
update dapr to 1.10.0-rc.2 (#1201)
* rc.2 changes

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* added test for obfuscation

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

---------

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-02-02 01:40:55 -08:00
Phillip Hoff 50d5af4cd9
Store app PID in sidecar metadata. (#1200)
* Store app PID in sidecar metadata.

Signed-off-by: Phillip Hoff <phillip@orst.edu>

* Move process check under command check.

Signed-off-by: Phillip Hoff <phillip@orst.edu>

* Add minimal list test appId changes.

Signed-off-by: Phillip Hoff <phillip@orst.edu>

* Reverse params.

Signed-off-by: Phillip Hoff <phillip@orst.edu>

* Proper type conversion.

Signed-off-by: Phillip Hoff <phillip@orst.edu>

---------

Signed-off-by: Phillip Hoff <phillip@orst.edu>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-02-02 11:45:23 +05:30
Shubham Sharma 42f9519eb2
Add preview warning to dapr run and add appID and timestamp to logs (#1196)
* Add timestamp to logs and preview warning

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Fix test

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update log format

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update log format

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update comment

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

---------

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2023-02-01 16:19:48 +05:30
Pravin Pushkar 17efdfd4a4
update dapr runtime to 1.10..0-rc.1 (#1194)
* update dapr runtime to 1.10..0-rc.1

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix failure due to runtime changes

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix tests failure

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix import in e2e tests. remove unnecessary uninstall steps

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

---------

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-31 21:51:57 +05:30
Pravin Pushkar 778b2a5933
dapr stop -f fix and E2E tests for dapr stop and list (#1181)
* E2E tests for dapr stop and list

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* cmdstop to cmdStopWithAppID

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* stop all started processes for dapr apps with kill process group

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* stop all apps in run template test

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix tests

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* separating os syscall and renaming file

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* moving syscall.go to pkg/syscall

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* name change

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fixed windows error

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* use syscall.kill

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

---------

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-31 13:07:42 +05:30
Mukundan Sundararajan 1a9029ce71
change snake_case run template yaml to camelCase (#1183)
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-26 21:06:44 -08:00
Mukundan Sundararajan 17dbe5bb13
Add E2E for Run template (#1170)
* refactor run into functions

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* renamed Apps struct as App

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* redirect logs to files. set informational logs. set command dirs

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 e2e test on non-existent resources-path

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* more fixes

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* fix merge conflict

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* set default ports for zero values

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>

* add more details in error, fix logs in run -f

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* address review comments

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* address review comments

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* add more fixes in template run based on e2e tests

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* add basic happy path e2e for dapr run -f

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* add positive and negative e2e tests for run template

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* address review comments

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-24 10:58:05 -08:00
Pravin Pushkar 14c04f9a87
Dapr stop and list changes for dapr run -f (#1169)
* dapr stop -f impl

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* add description

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix tests

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix windows failure

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Update cmd/stop.go

Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* change cmd description

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* stop refactoring

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* trigger pr checks

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-24 18:28:31 +05:30
Mukundan Sundararajan 36893d9483
Add capability to run to support `-f` flag (#1161)
* refactor run into functions

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* renamed Apps struct as App

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* redirect logs to files. set informational logs. set command dirs

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 e2e test on non-existent resources-path

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* more fixes

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* fix merge conflict

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* set default ports for zero values

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>

* add more details in error, fix logs in run -f

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* address review comments

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* address review comments

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* add more fixes in template run based on e2e tests

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-20 08:17:34 -08:00
Shubham Sharma b51eda4876
Make JSON and YAML output consistent across `list`, `components`, and `configurations` commands (#1172)
* Fix formatting

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update UT

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update UT

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update E2E

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2023-01-19 23:23:31 -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
Pravin Pushkar abe9680b47
dapr init tests without runtime-version flag (#1135)
* dapr init tests without runtime-version

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* introduce new env var to track latest patch release

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Fixes

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* trigger pr check

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* E2E test for init without runtime version in k8s mode

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* updating pinned version to 1.9.4

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* update docs

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix checkmtls failing test due to dir creation

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Revert "fix checkmtls failing test due to dir creation"

This reverts commit 7f2e6031d9.

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix renew cert failing test due to dir creation

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix tests

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-12-20 00:51:59 +05:30
Huei Feng 6c1bc5357c
support resources-path (#1012)
* support spec-resources-path

Signed-off-by: HueiFeng <695979933@qq.com>

* Update resource-path

Signed-off-by: hueifeng <695979933@qq.com>

* Update resource-path

Signed-off-by: hueifeng <695979933@qq.com>

* fix

Signed-off-by: hueifeng <695979933@qq.com>

* added deprecation message and e2e tests

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* added messages in readme for deprecation and use of resource-path

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix lint and failing test case

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

Signed-off-by: HueiFeng <695979933@qq.com>
Signed-off-by: hueifeng <695979933@qq.com>
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
Co-authored-by: Pravin Pushkar <ppushkar@microsoft.com>
2022-12-08 01:21:13 -08:00
Pravin Pushkar 63f14c36f9
mariner renew-certificate fix (#1139)
* mariner renew-certificate fix

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* added UT and E2E test

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* lint fix

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Update cmd/renew_certificate.go

Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* address review commnets

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* lint fix

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* trigger pr checks

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Update utils/utils_test.go

Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Update utils/utils_test.go

Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Update pkg/kubernetes/renew_certificate.go

Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* added inline comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* trigger pr checks

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* adding usage doc

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-12-07 18:14:10 +05:30
Artur Souza eb1dd68a42
Release 1.9 (#1100)
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>

Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
2022-10-13 14:12:07 -07:00
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 5785c1b59b
Update Dapr RC to 1.9.0-rc.5 (#1086)
* Update Dapr RC to 1.9.0-rc.5

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* update dashboard depenedency to v0.11.0-rc.1

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2022-10-09 22:44:52 -07:00
Mukundan Sundararajan 1d92a12aac
Remove plug comp crd init. Move to latest commit in go-sdk. (#1075)
* remove pluggable comps CRD init. move to latest commit in go-sdk for test.

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* update to rc3 runtime

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-10-03 00:22:39 -07:00
Pravin Pushkar 17be9d19ca
upgrade runtime to 1.9.0.-rc.1 and add pluggable comp crd (#1072)
* upgrade runtime to 1.9.0.-rc.1 and add pluggable comp crd

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* changing sidecar.patchoperation from injector.patchoperation

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* add the new configs added in 1.9 to the config tests

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* lint fix upgradte_test.go

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* downgrade go-sdk

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Fix api loggin test breaking due to useragent addition

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* added temporary replace for go-sdk

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-09-30 03:49:28 -07:00
Mukundan Sundararajan 65855d5aa0
Upgrade linter to 1.49.0 (#1051)
* Upgrade linter to 1.49.0

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* fix linter error

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-08-25 16:58:54 +05:30
Shivam Kumar 792eae132d
Adding mariner support in dapr init (#1029)
* Adding image-variant flag in self-hosted mode

Signed-off-by: shivam <shivamkm07@gmail.com>

* Adding image-variant in kubernetes init

Signed-off-by: shivam <shivamkm07@gmail.com>

* Adding image-variant in dapr upgrade

Signed-off-by: shivam <shivamkm07@gmail.com>

* e2e test for standalone mariner init

Signed-off-by: shivam <shivamkm07@gmail.com>

* Incorporating comments

Signed-off-by: shivam <shivamkm07@gmail.com>

* Reducing code duplicacy

Signed-off-by: shivam <shivamkm07@gmail.com>

* Formatting change

Signed-off-by: shivam <shivamkm07@gmail.com>

* Adding e2e tests for kubernetes init

Signed-off-by: shivam <shivamkm07@gmail.com>

* e2e test for upgrade

Signed-off-by: shivam <shivamkm07@gmail.com>

* Fixing linter error

Signed-off-by: shivam <shivamkm07@gmail.com>

* fix linter errors

Signed-off-by: shivam <shivamkm07@gmail.com>

* Uncommenting upgrade tsts

Signed-off-by: shivam <shivamkm07@gmail.com>

Signed-off-by: shivam <shivamkm07@gmail.com>
2022-08-25 11:14:11 +05:30
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
Shubham Sharma f6465c097d
Refactor standalone e2e and add support for Windows runner (#1036) 2022-08-11 11:37:34 +05:30
Shubham Sharma f7e2b5f7ef
Make internal-grpc-port option configurable (#1040)
* Added internal-grpc-port to standalone run options

Signed-off-by: Jigar R Gandhi <jigarr.gandhi@gmail.com>

* Use lib for freeport and accept cmdline args

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Add validate logic for port

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Add e2e test

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

Co-authored-by: Jigar R Gandhi <jigarr.gandhi@gmail.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-08-09 13:47:11 +05:30
qiangmzsx f8b48c2a8a
Removing the use of the ioutil package (#1037)
Signed-off-by: qiangmzsx <qiangmzsx@gmail.com>
2022-08-07 17:30:20 +05:30
Shubham Sharma 9c8de2ca96
Update dapr list to include independent daprd instances (#1000)
* Update list

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update Daprd PID variable name

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update build and add e2e tests

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Fix lint

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Retrigger tests

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Run e2e stop on Windows as well

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Revert E2E stop test for Windows

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-08-01 22:03:05 -07:00
Shubham Sharma 6d3026b0cc
Add --metadata flag to dapr publish (#1033)
* Add --metadata flag

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Add e2e test

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Revert test comments

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update go-sdk version for e2e test

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Fix tests

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* 💄

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Run go mod tidy

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-07-29 19:10:32 +05:30
Huei Feng 037236ac16
Behavior of dapr uninstall -k and dapr uninstall is different when dapr not installed (#999) 2022-07-22 14:40:36 +05:30
Pravin Pushkar 747dc3f7ae
update runtime version and dev container version (#1024)
Signed-off-by: Pravin <ppushkar@microsoft.com>
2022-07-11 23:36:44 -07:00
Pravin Pushkar 076d7b6d19
Update runtime to RC.5 (#1019)
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2022-07-05 13:36:53 +05:30
Pravin Pushkar 23e8b8b6c6
Upgrading runtime to RC.3 (#1011)
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2022-06-24 10:34:14 +05:30
Mukundan Sundararajan 4eb61fe4d0
change runtime version to 1.8.0-rc.2 (#1007)
* dapr runtime 1.8 rc

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* add opentelemetry replace

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* update to rc.2

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-06-22 22:33:51 +05:30
Mukundan Sundararajan 6a24d54527
fix linter issues (#1005)
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-06-21 21:20:26 -07:00
FanBin 3d01ffd8d3
Format output of dapr --version as JSON. (#878)
* Format output of dapr --version as JSON.

Signed-off-by: fanfanbj <fanfanbj@outlook.com>

* Format output of dapr --version as JSON.

Signed-off-by: fanfanbj <fanfanbj@outlook.com>

Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2022-06-01 09:11:42 -07:00
Artur Souza 1c0c3def78
Update to 1.7.0 runtime (#956)
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
2022-04-08 06:28:39 +05:30
Pravin Pushkar acc5416c19
Updating dapr to v1.7.0-rc.3 (#951)
* Updating dapr to v1.7.0-rc.3

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Updating dapr v.1.7.0-rc.3 refs in test and workflows

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2022-04-06 12:44:09 +05:30