Anton Troshin
17f4785906
Update dependencies, Go version and address CVEs ( #1474 )
...
* Update dependencies, Go version and address CVEs
Signed-off-by: Anton Troshin <anton@diagrid.io>
* update golangci-lint version and list of disabled linters form dapr/dapr
Signed-off-by: Anton Troshin <anton@diagrid.io>
* adjust golangci-lint settings and fix lint issues
Signed-off-by: Anton Troshin <anton@diagrid.io>
* fix test
Signed-off-by: Anton Troshin <anton@diagrid.io>
---------
Signed-off-by: Anton Troshin <anton@diagrid.io>
2025-01-09 14:16:44 -08:00
Mohit Pal Singh
2751f5fa74
Fix for Quote in username errors dapr init #972 ( #1322 )
...
* Fix for Quote in username errors dapr init #972
Signed-off-by: mrmtheboss <starktony239@gmail.com>
* addressed a GitHub Actions Check failure
Signed-off-by: mrmtheboss <starktony239@gmail.com>
* Addressed Shubham's comments
Signed-off-by: Mohit Pal Singh <mohit.pal.singh@outlook.com>
* Addressed Shubham's new comments
Signed-off-by: Mohit Pal Singh <mohit.pal.singh@outlook.com>
* Addressed a GitHub actions failure
Signed-off-by: Mohit Pal Singh <mohit.pal.singh@outlook.com>
* Update utils/utils.go
Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Mohit Pal Singh <mohit.pal.singh@outlook.com>
* Added Unit test for SanitizeDir() in utils/utils_test.go
Signed-off-by: Mohit Pal Singh <mohit.pal.singh@outlook.com>
* Addressed a GitHub actions failure
Signed-off-by: Mohit Pal Singh <mohit.pal.singh@outlook.com>
* Update comment.
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
---------
Signed-off-by: mrmtheboss <starktony239@gmail.com>
Signed-off-by: Mohit Pal Singh <mohit.pal.singh@outlook.com>
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Co-authored-by: mrmtheboss <starktony239@gmail.com>
Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
2023-06-26 11:50:24 -07:00
Tharun K
756b541ae4
handle home directory prefix ( #1247 )
...
* handle home directory prefix
Signed-off-by: tharun634 <tharun634@gmail.com>
* add test
Signed-off-by: tharun634 <tharun634@gmail.com>
* lint + remove $HOME prefix
Signed-off-by: tharun634 <tharun634@gmail.com>
* windows check + homeDirPrefix const
Signed-off-by: tharun634 <tharun634@gmail.com>
---------
Signed-off-by: tharun634 <tharun634@gmail.com>
Co-authored-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>
2023-04-05 12:03:12 +05:30
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
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
Pravin Pushkar
9d18f86768
find dapr.yaml in dirpath when dapr run -f <dirpath> is executed ( #1166 )
...
* find dapr.yaml in dirpath when dapr run -f <dirpath> is executed
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* modtidy
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* get rid of afero
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>
* merge fixes
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-19 10:06:01 -08:00
Pravin Pushkar
c1f9627ed6
Apps run config template parsing ( #1152 )
...
* initial commit for run template parsing
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* some code refactor.
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* add some UTs
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* call validate
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* add tests and correct err message
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* refactor Runconfig into 2 structs
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Fix Arg parsing
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* fix UTs. make app-id be inferred from app-dir if empty
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* fix tests
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* put config reltd code into separate folder
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* merge logic for common and apps section of flags.
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* adding tests and few refactoring
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* fix tests
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* file close
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* review comments
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* fix review comments
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* refactor file names
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* resolve path to abs and add more e2e for path resolving
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* address review comments
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* remove getAppskeysmapping
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* add tests, and fix issue for setitng app id when empty.
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: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-03 17:19:59 +05:30
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
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