* 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>
* Add version parsing check skip malformed versions and avoid panic
Signed-off-by: Anton Troshin <anton@diagrid.io>
* lint
Signed-off-by: Anton Troshin <anton@diagrid.io>
* do not return error on nil, skip bad versions
Signed-off-by: Anton Troshin <anton@diagrid.io>
* simplify condition to skip prerelease and versions with metadata
print warning on error and non-semver version tag
Signed-off-by: Anton Troshin <anton@diagrid.io>
---------
Signed-off-by: Anton Troshin <anton@diagrid.io>
* added function to install dashboard binaries
* added to waitgroup
* updated installBinary method to support non-dapr repositories
* adding dashboard binaries
* binary install working for daprd and dashboard on linux
* added dashboard command for standalone
* updated dashboard documentation
* changed linux home directory to be outside of root
* fixing version issue
* moved location of extracted web folder
* fixing path issues on linux
* changed dashboard to take latest version
* updated documentation for dashboard standalone
* fixed issue where binary name was unknown in non-default path dapr install
* added user error message for dashboard not found error
* fixing linting issues
* adding dashboard compatibility changes
* mark dashboard flag as required
* syncing compatibility branch and master
* fixing uninstall error
* removing unnecessary check
* removing unused constants
* changed standalone untar method openfile mode
* added missing error message
* removed windows binary check in untar method
* updating unzip method to support multiple files in archive
* adding sanitizeExtractPath method and limiting archive copy bytes
* changed max file size to 100MB
* removing max file size limit
* removing debug statement
* Adding dashboard command to allow for standalone dashboard launch
* removed -rc tag downloads for dashboard
* removing extra alias
* adding function moveDashboardFiles to simplify installBinary function
* moving dashboard command logic to standalone/dashboard.go
* removing error channel from moveDashboardFiles
* removing error channel from moveDashboardFiles
Co-authored-by: Shalabh Mohan Shrivastava <shalabhs@microsoft.com>
* Update the URL to pull dapr-operator.yaml
* Get manifest from latest release
* Add nosec to avoid variable URL linter error
* Move GetLatestRelease() to pkg/version
* Move two consts to pkg/version
* Change package alias
This minor, cosmetic fix ensures the output of `--version` ends with a newline even when there's no runtime installed. Perhaps there is a better way, like ending L26 with a newline and chomping the output of `daprd --version`.