Anton Troshin
ecc4ea4953
Fix dapr init test latest version retrieval ( #1500 )
...
Lint
Signed-off-by: Anton Troshin <anton@diagrid.io>
2025-03-07 13:42:23 -08:00
Mike Nguyen
0cd0585b64
fix: arguments accept units ( #1490 )
...
* fix: arguments accept units
`max-body-size` and `read-buffer-size` now accept units as defined in the docs.
Fixes #1489
Signed-off-by: Mike Nguyen <hey@mike.ee>
* chore: gofumpt
Signed-off-by: Mike Nguyen <hey@mike.ee>
* refactor: modify logic to comply with vetting
Signed-off-by: Mike Nguyen <hey@mike.ee>
* chore: gofumpt -w .
Signed-off-by: Mike Nguyen <hey@mike.ee>
* refactor: set defaults
`max-body-size` is defaulted to 4Mi
`request-buffer-size` is defaulted to 4Ki
This is inline with the runtime.
Signed-off-by: Mike Nguyen <hey@mike.ee>
* fix: set defaults in run and annotate
Signed-off-by: Mike Nguyen <hey@mike.ee>
* chore: gofumpt
Signed-off-by: Mike Nguyen <hey@mike.ee>
* refactor: exit with error rather than panic
Co-authored-by: Anton Troshin <troll.sic@gmail.com>
Signed-off-by: Mike Nguyen <hey@mike.ee>
---------
Signed-off-by: Mike Nguyen <hey@mike.ee>
Co-authored-by: Anton Troshin <troll.sic@gmail.com>
2025-02-21 08:11:11 -08:00
Yaron Schneider
ac6822ea69
Remove deprecated flags ( #1482 )
...
* remove deprecated flags
Signed-off-by: yaron2 <schneider.yaron@live.com>
* update Dapr version in tests
Signed-off-by: yaron2 <schneider.yaron@live.com>
---------
Signed-off-by: yaron2 <schneider.yaron@live.com>
2025-02-03 13:27:22 -08:00
Anton Troshin
f8ee63c8f4
Fix scheduler broadcast address for windows ( #1481 )
...
Signed-off-by: Anton Troshin <anton@diagrid.io>
2025-01-31 12:34:07 -08:00
Josh van Leeuwen
8ce6b9fed9
Scheduler: set broadcast address to localhost:50006 in selfhosted ( #1480 )
...
* Scheduler: set broadcast address to localhost:50006 in selfhosted
Signed-off-by: joshvanl <me@joshvanl.dev>
* Set schedulder override flag for edge and dev
Signed-off-by: joshvanl <me@joshvanl.dev>
---------
Signed-off-by: joshvanl <me@joshvanl.dev>
2025-01-27 10:16:37 -08:00
Yaron Schneider
953c4a2a3f
use non-deprecated flags in List operation ( #1478 )
...
Signed-off-by: yaron2 <schneider.yaron@live.com>
2025-01-21 22:52:26 -08:00
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
Anton Troshin
db712e7eed
Fixing e2e tests, podman and scheduler fail with mariner images ( #1450 )
...
* Fix standalone e2e tests
Fix podman e2e install
Fix scheduler start failure on standalone mariner image variant
Signed-off-by: Anton Troshin <anton@diagrid.io>
* fix test
Signed-off-by: Anton Troshin <anton@diagrid.io>
* revert
Signed-off-by: Anton Troshin <anton@diagrid.io>
* Fix podman machine settings
Add cleanups
Remove parallel tests
Fix mariner volume mount location
Remove old build tags
Signed-off-by: Anton Troshin <anton@diagrid.io>
---------
Signed-off-by: Anton Troshin <anton@diagrid.io>
2024-10-01 09:19:35 -07:00
Josh van Leeuwen
e08443b9b3
Remove Docker client dependency from standalone run ( #1443 )
...
Signed-off-by: joshvanl <me@joshvanl.dev>
2024-08-15 13:53:26 -07:00
Cassie Coyle
e72f95393c
Fix Scheduler Data Dir Permissions Issue ( #1432 )
...
* fix w/ @joshvanl & anton
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
* add a .
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
---------
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
2024-07-19 11:49:08 -07:00
Josh van Leeuwen
16a513ba7a
Change scheduler container data dir from `/var/run/...` to `/var/lib`. ( #1429 )
...
Signed-off-by: joshvanl <me@joshvanl.dev>
2024-07-18 16:29:43 -07:00
Josh van Leeuwen
30d888f4e6
Fix dapr init scheduler ( #1428 )
...
* Add E2E to validate scheduler after init.
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Adds dapr_scheduler verify container
Signed-off-by: joshvanl <me@joshvanl.dev>
* Assert eventually TCP connect
Signed-off-by: joshvanl <me@joshvanl.dev>
* Fix eventually t check
Signed-off-by: joshvanl <me@joshvanl.dev>
* Write etcd-data-dir to custom path with volume
Signed-off-by: joshvanl <me@joshvanl.dev>
* Adds Helpers to test funcs
Signed-off-by: joshvanl <me@joshvanl.dev>
* Adds container name to TCP check
Signed-off-by: joshvanl <me@joshvanl.dev>
* Use rc.3 for scheduler
Signed-off-by: joshvanl <me@joshvanl.dev>
* Print container logs on failed TCP conn
Signed-off-by: joshvanl <me@joshvanl.dev>
* Fix params
Signed-off-by: joshvanl <me@joshvanl.dev>
* Use b
Signed-off-by: joshvanl <me@joshvanl.dev>
* Addfs `dev` flag to rc init
Signed-off-by: joshvanl <me@joshvanl.dev>
* Fix version check
Signed-off-by: joshvanl <me@joshvanl.dev>
* Skip TCP check on slim mode
Signed-off-by: joshvanl <me@joshvanl.dev>
* Remove debug test code
Signed-off-by: joshvanl <me@joshvanl.dev>
---------
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: joshvanl <me@joshvanl.dev>
Co-authored-by: Artur Souza <asouza.pro@gmail.com>
2024-07-18 12:50:16 -07:00
Josh van Leeuwen
29d29ab549
Give scheduler a default volume, making it resilient to restarts by ( #1423 )
...
* 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>
2024-07-17 12:13:51 -07:00
Josh van Leeuwen
ad3442b252
dapr_scheduler: Adds scheduler-volume flag ( #1422 )
...
* dapr_scheduler: pre-create data dir
Signed-off-by: joshvanl <me@joshvanl.dev>
* Adds --scheduler-volume to specify volume for data directory
Signed-off-by: joshvanl <me@joshvanl.dev>
---------
Signed-off-by: joshvanl <me@joshvanl.dev>
2024-07-12 08:22:34 -07:00
Mike Nguyen
ed0d3af2d0
fix: scheduler host address passed to runtime ( #1421 )
...
* fix: scheduler host address passed to runtime
Signed-off-by: mikeee <hey@mike.ee>
* fix: scheduler client stream initialised for 1.14<
Signed-off-by: mikeee <hey@mike.ee>
* fix: modify scheduler host address validation
if the scheduler container is not active, the scheduler flag will
not be passed to the runtime
Signed-off-by: mikeee <hey@mike.ee>
* fix: lint and refactor
Signed-off-by: mikeee <hey@mike.ee>
---------
Signed-off-by: mikeee <hey@mike.ee>
2024-07-10 09:37:34 -07:00
Artur Souza
762e2bb4ac
Fix check for version to contain scheduler. ( #1417 )
...
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
2024-07-05 20:16:40 -07:00
Cassie Coyle
fd1d8e85bf
Distributed Scheduler CLI Changes ( #1405 )
...
* 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>
2024-07-03 14:58:55 -07:00
Josh van Leeuwen
619cd9cd84
Update dependencies for v1.13.0-rc.6 release ( #1383 )
...
* Update dependencies for v1.13.0-rc.1 release
Signed-off-by: joshvanl <me@joshvanl.dev>
* Update tests/e2e/upgrade/upgrade_test.go
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* Update github.com/dapr/go-sdk to v1.9.1
Signed-off-by: joshvanl <me@joshvanl.dev>
* Ping go-sdk to joshvanl main fork
Signed-off-by: joshvanl <me@joshvanl.dev>
* Update and fix e2e tests in standalone mode
Signed-off-by: joshvanl <me@joshvanl.dev>
* Set correct rc version
Signed-off-by: joshvanl <me@joshvanl.dev>
* Revert go.mod to keep requires for kube & docker auth
Signed-off-by: joshvanl <me@joshvanl.dev>
* Update dapr/dapr to v1.13.0-rc.2
Signed-off-by: joshvanl <me@joshvanl.dev>
* Update to use rc to 2
Signed-off-by: joshvanl <me@joshvanl.dev>
* Update github.com/dapr/go-sdk to main
Signed-off-by: joshvanl <me@joshvanl.dev>
* Update to 1.13.0-rc.6
Signed-off-by: joshvanl <me@joshvanl.dev>
* Fix func name call
Signed-off-by: joshvanl <me@joshvanl.dev>
---------
Signed-off-by: joshvanl <me@joshvanl.dev>
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2024-02-16 11:37:37 -08:00
twinguy
2380446870
fix default installation directory permissions ( #1375 )
...
Signed-off-by: Kenny Meador <kenny.meador@outlook.com>
Signed-off-by: Kenny Meador <kmeador@dollargeneral.com>
Co-authored-by: Kenny Meador <kmeador@dollargeneral.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2024-01-23 16:00:06 +05:30
Mukundan Sundararajan
f5eb4fda6c
fix upload artifact name conflict ( #1373 )
...
* fix upload test report name
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 upload artifacts version and name conflicts
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix typo
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix typo
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
---------
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2024-01-18 02:07:09 -08:00
Mukundan Sundararajan
a15a3eb856
Initial implementation of multi app run for Kubernetes Dev ( #1333 )
...
* initial commit for multi-app run k8s impl
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix import
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* move runfileconfig
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* add protobuf conflict warn env
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* Add pubsub component. Check before component creation.
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix e2e
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix e2e
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix e2e
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-09-04 08:42:58 +05:30
Pravin Pushkar
6738eefe2b
Multiapp run and stop implementation for windows ( #1315 )
...
* windows impl for multiapp run
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Uncommenting run on windows
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* fix static checks
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Kill children and grand children forcefully
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* ommiting tests for wiondows
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* rename method
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* shut down all processes
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Use job handle and named evens together to kill the processes
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* lint fix
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* revert wait to kill
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Adding E2E for windows template file run
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* rename job name
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* review comments
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* build failure
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-08-30 11:06:40 +05:30
Anton Troshin
60f50e3497
Add health and metrics port mapping for placement stand-alone mode ( #1323 )
...
* Add health and metrics port mapping for placement stand-alone mode
Signed-off-by: Anton Troshin <anton@diagrid.io>
* move ports declaration to const
Signed-off-by: Anton Troshin <anton@diagrid.io>
* Fix linter check: appendCombine: can combine chain of 3 appends into one (gocritic)
Signed-off-by: Anton Troshin <anton@diagrid.io>
---------
Signed-off-by: Anton Troshin <anton@diagrid.io>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2023-08-09 00:17:49 +05:30
Alessandro (Ale) Segala
650fd6fe8d
Add APP_PROTOCOL env ( #1318 )
...
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
2023-08-07 12:37:34 +05:30
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
Vishal Yadav
a4f924f49d
Adding warning for uninstall all while container runtime not running ( #1310 )
...
Signed-off-by: Vishal Yadav <vishalydv.me@gmail.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
2023-06-20 10:10:57 +05:30
Shivam Kumar Singh
7da8bd7b15
shivam-51: Add log file paths to dapr list 1228 ( #1296 )
...
* shivam-51: Add log file paths to dapr list 1228
Signed-off-by: Shivam Kumar Singh <shivamhere247@gmail.com>
* Minor type fix.
Signed-off-by: Shivam Kumar Singh <shivamhere247@gmail.com>
* Add condition for log file in dapr list
Signed-off-by: Shivam Kumar Singh <shivamhere247@gmail.com>
* Add tests
Signed-off-by: Shivam Kumar Singh <shivamhere247@gmail.com>
* Complete tests
Signed-off-by: Shivam Kumar Singh <shivamhere247@gmail.com>
* Fix failing e2e tests
Signed-off-by: Shivam Kumar Singh <shivamhere247@gmail.com>
* Use constants
Signed-off-by: Shivam Kumar Singh <shivamhere247@gmail.com>
* Add success tests
Signed-off-by: Shivam Kumar Singh <shivamhere247@gmail.com>
* Add proper assert in test
Signed-off-by: Shivam Kumar Singh <shivamhere247@gmail.com>
* Fix typo
Signed-off-by: Shivam Kumar Singh <shivamhere247@gmail.com>
---------
Signed-off-by: Shivam Kumar Singh <shivamhere247@gmail.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-06-13 18:34:03 +05:30
Shubham Sharma
35f324a09e
Merge branch 'master' into shubham1172/merge-release-1.11
2023-06-10 18:24:23 +05:30
Shubham Sharma
48cd76517f
Merge branch 'release-1.11' into shubham1172/merge-release-1.11
...
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2023-06-10 16:17:06 +05:30
Shubham Sharma
77fbc192ea
Fix checks for container runtime installation ( #1307 )
...
* Check container runtime while installing
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Fix lint
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Fix lint (another attempt)
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
---------
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2023-06-09 11:14:23 +05:30
Mukundan Sundararajan
c3f08b0679
add app channel address flag for run ( #1283 )
...
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-05-31 05:21:02 -07:00
Pravin Pushkar
c65d816612
Move logdestination flag to sharedRunConfig ( #1294 )
...
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-05-30 21:00:34 -07:00
Tom Meadows
36a13bc55a
fixed small typo in variables and function call ( #1297 )
...
Signed-off-by: chaosinthecrd <tom@tmlabs.co.uk>
2023-05-29 18:08:06 -05:00
Pravin Pushkar
af9030a383
Change for multiple resources paths ( #1276 )
...
* Initial change for multiple resources paths for normal run
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* multi app run changes for multiple resource paths
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* correct file paths for windows
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* remove checking duplicates
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* addressed review comments
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>
2023-05-25 07:54:20 -07:00
Pravin Pushkar
a59826c0a2
Pinning runtime to 1.11.0-rc.4 ( #1284 )
...
* Pinning runtime to 1.11.0-rc.1
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* dashboard release fix
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Fix few more E2E tests failures
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* dashboard version fix on init
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Handle upgrade with dashboard.
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* fixing modtidy
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* export IsDashboardIncluded to be used in E2E
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* update to use rc.4 version of runtime
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
---------
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Artur Souza <asouza.pro@gmail.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-05-25 15:23:28 +05:30
Mukundan Sundararajan
d3f54cf94b
Add name template ( #1274 )
...
* add ability to specify a name for a run template
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix test template
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* move list e2e tests to stop template subtest
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix template name
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* Update cmd/run.go
Co-authored-by: Pravin Pushkar <ppushkar@microsoft.com>
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
---------
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-04-25 15:40:22 +05:30
Pravin Pushkar
7abf871ce0
Configurable log destination ( #1258 )
...
* COnfigurable log destination
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Custom writer impl
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* fix tests
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* fix e2e tests
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* fix flaky mar tests
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* adding e2e for log destination
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* adding tests and change logic to create log file
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* update e2e tests
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-04-24 11:30:46 +05:30
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
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
Mukundan Sundararajan
56ba05982e
Upgrade linter version to the latest ( #1253 )
...
* upgrade golangci-lint version to latest
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix tests
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
---------
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-02-28 23:43:28 +05:30
Thorsten Hans
06a4c6bddc
Show correct container runtime in init logging ( #1250 )
...
* Show correct container runtime in init logging
Init logging now logs using container runtime specified by the user instead of always logging "Docker"
Signed-off-by: Thorsten Hans <thorsten.hans@gmail.com>
#1209
* tests: set test name in test data to remove fmt import
Signed-off-by: Thorsten Hans <thorsten.hans@gmail.com>
* remove usage of golang.org/x/text and log container runtime names as they are
Signed-off-by: Thorsten Hans <thorsten.hans@gmail.com>
* ensure modified files do not introduce linting errors
Signed-off-by: Thorsten Hans <thorsten.hans@gmail.com>
---------
Signed-off-by: Thorsten Hans <thorsten.hans@gmail.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-02-28 23:16:25 +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
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
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
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
Pravin Pushkar
7e00eb4f03
Fix dashboard port conflict message and allow starting on random port ( #1189 )
...
* fix dashboard start
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* added comments
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
---------
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-01-31 10:35:02 +05:30
Mukundan Sundararajan
da38233cfc
use fqdn for all image names when dockerhub is the registry ( #1186 )
...
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-27 12:14:28 +05:30